[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HSN7SDDG0AZ7HHMCS97DN1":3,"skill-same:01M6HSN7SDDG0AZ7HHMCS97DN1":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6HSN7SDDG0AZ7HHMCS97DN1","godot-tres-format",null,"Godot .tres 资源文件格式规范。让 AI 能够直接读写 Godot 资源文件（材质、环境、物理材质、渐变、曲线、样式盒、着色器、动画、粒子等）。当需要创建或修改 .tres 文件时使用此 Skill。","welflau\u002Fai-dev-system","welflau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7010385?v=4","01M6HPTDGF18RFY07M229P8CTM","01M6HPTDMRMZCJPYBFEA9XVVYT",3,"MIT","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fgodot-tres-format\u002FSKILL.md",[],[18,19,20,21,22],"format","godot","godot tres format","动画","文件","2026-11-10 10:12:30",false,"---\nname: godot-tres-format\ndescription: \"Godot .tres 资源文件格式规范。让 AI 能够直接读写 Godot 资源文件（材质、环境、物理材质、渐变、曲线、样式盒、着色器、动画、粒子等）。当需要创建或修改 .tres 文件时使用此 Skill。\"\nversion: 1.0.0\n---\n\n# Godot .tres 资源文件格式规范\n\n> **用途**：让 AI 能够直接读写 Godot 资源文件  \n> **版本**：v1.0 · 2026-04-24  \n> **适用引擎**：Godot 4.x\n\n---\n\n## 核心原则\n\n**Godot 资源文件是纯文本**，AI 可以直接通过 `write_to_file` 创建材质、形状、环境等资源。\n\n---\n\n## 一、文件结构\n\n```\n[gd_resource type=\"ResourceType\" format=3 uid=\"uid:\u002F\u002Fxxx\"]\n\n[resource]\nproperty1 = value1\nproperty2 = value2\n```\n\n---\n\n## 二、材质资源 (StandardMaterial3D)\n\n### 2.1 基础材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.8, 0.2, 0.2, 1)\nroughness = 0.8\nmetallic = 0.0\n```\n\n### 2.2 金属材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.9, 0.9, 0.9, 1)\nroughness = 0.3\nmetallic = 0.9\nmetallic_specular = 0.5\n```\n\n### 2.3 发光材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(1, 0.8, 0, 1)\nemission_enabled = true\nemission = Color(1, 0.8, 0, 1)\nemission_energy_multiplier = 3.0\n```\n\n### 2.4 透明材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\ntransparency = 1\nalbedo_color = Color(0.2, 0.5, 1, 0.5)\n```\n\n### 2.5 无光照材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nshading_mode = 0\nalbedo_color = Color(1, 1, 1, 1)\n```\n\n### 2.6 带纹理材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" load_steps=2 format=3]\n\n[ext_resource type=\"Texture2D\" path=\"res:\u002F\u002Ftextures\u002Fbrick.png\" id=\"1_albedo\"]\n\n[resource]\nalbedo_texture = ExtResource(\"1_albedo\")\nroughness = 0.9\n```\n\n---\n\n## 三、常用材质属性参考\n\n| 属性 | 类型 | 说明 |\n|------|------|------|\n| `albedo_color` | Color | 基础颜色 |\n| `albedo_texture` | Texture2D | 颜色贴图 |\n| `roughness` | float (0-1) | 粗糙度，0=光滑，1=粗糙 |\n| `metallic` | float (0-1) | 金属度 |\n| `metallic_specular` | float (0-1) | 金属高光 |\n| `emission_enabled` | bool | 启用发光 |\n| `emission` | Color | 发光颜色 |\n| `emission_energy_multiplier` | float | 发光强度倍数 |\n| `transparency` | int | 0=不透明, 1=Alpha, 2=预乘Alpha |\n| `cull_mode` | int | 0=背面剔除, 1=正面剔除, 2=不剔除 |\n| `shading_mode` | int | 0=无光照, 1=逐顶点, 2=逐像素(默认) |\n| `normal_enabled` | bool | 启用法线贴图 |\n| `normal_texture` | Texture2D | 法线贴图 |\n| `normal_scale` | float | 法线强度 |\n\n---\n\n## 四、环境资源 (Environment)\n\n### 4.1 基础室外环境\n\n```\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.4, 0.6, 0.9, 1)\nambient_light_source = 2\nambient_light_color = Color(0.5, 0.5, 0.6, 1)\nambient_light_energy = 0.5\ntonemap_mode = 2\ntonemap_white = 6.0\nssao_enabled = true\nssil_enabled = true\nglow_enabled = true\n```\n\n### 4.2 室内环境\n\n```\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.1, 0.1, 0.15, 1)\nambient_light_source = 1\nambient_light_color = Color(0.3, 0.3, 0.35, 1)\nambient_light_energy = 0.3\nssao_enabled = true\nssao_intensity = 2.0\n```\n\n### 4.3 带天空盒环境\n\n```\n[gd_resource type=\"Environment\" load_steps=2 format=3]\n\n[sub_resource type=\"Sky\" id=\"Sky_001\"]\nsky_material = SubResource(\"ProceduralSkyMaterial_001\")\n\n[sub_resource type=\"ProceduralSkyMaterial\" id=\"ProceduralSkyMaterial_001\"]\nsky_top_color = Color(0.3, 0.5, 0.9, 1)\nsky_horizon_color = Color(0.7, 0.8, 0.95, 1)\nground_bottom_color = Color(0.2, 0.2, 0.2, 1)\nground_horizon_color = Color(0.5, 0.5, 0.5, 1)\nsun_angle_max = 30.0\n\n[resource]\nbackground_mode = 2\nsky = SubResource(\"Sky_001\")\nambient_light_source = 3\ntonemap_mode = 2\n```\n\n---\n\n## 五、物理材质 (PhysicsMaterial)\n\n```\n[gd_resource type=\"PhysicsMaterial\" format=3]\n\n[resource]\nfriction = 0.8\nrough = true\nbounce = 0.2\nabsorbent = false\n```\n\n| 属性 | 说明 |\n|------|------|\n| `friction` | 摩擦力 (0-1) |\n| `rough` | 粗糙模式 |\n| `bounce` | 弹性 (0-1) |\n| `absorbent` | 吸收模式 |\n\n---\n\n## 六、渐变资源 (Gradient)\n\n### 6.1 线性渐变\n\n```\n[gd_resource type=\"Gradient\" format=3]\n\n[resource]\noffsets = PackedFloat32Array(0, 0.5, 1)\ncolors = PackedColorArray(1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1)\n```\n\n### 6.2 用于粒子的渐变\n\n```\n[gd_resource type=\"Gradient\" format=3]\n\n[resource]\noffsets = PackedFloat32Array(0, 0.3, 0.7, 1)\ncolors = PackedColorArray(1, 1, 1, 1, 1, 0.8, 0.2, 1, 1, 0.2, 0, 0.5, 0.5, 0.1, 0, 0)\n```\n\n---\n\n## 七、曲线资源 (Curve)\n\n### 7.1 基础曲线\n\n```\n[gd_resource type=\"Curve\" format=3]\n\n[resource]\nmin_value = 0.0\nmax_value = 1.0\n_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]\npoint_count = 3\n```\n\n### 7.2 淡入淡出曲线\n\n```\n[gd_resource type=\"Curve\" format=3]\n\n[resource]\n_data = [Vector2(0, 0), 0.0, 2.0, 0, 1, Vector2(0.2, 1), 0.0, 0.0, 0, 0, Vector2(0.8, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -2.0, 0.0, 1, 0]\npoint_count = 4\n```\n\n---\n\n## 八、样式盒资源 (StyleBox)\n\n### 8.1 扁平样式盒\n\n```\n[gd_resource type=\"StyleBoxFlat\" format=3]\n\n[resource]\nbg_color = Color(0.2, 0.2, 0.25, 1)\nborder_width_left = 2\nborder_width_top = 2\nborder_width_right = 2\nborder_width_bottom = 2\nborder_color = Color(0.4, 0.4, 0.5, 1)\ncorner_radius_top_left = 8\ncorner_radius_top_right = 8\ncorner_radius_bottom_right = 8\ncorner_radius_bottom_left = 8\n```\n\n### 8.2 按钮样式\n\n```\n[gd_resource type=\"StyleBoxFlat\" format=3]\n\n[resource]\nbg_color = Color(0.3, 0.5, 0.8, 1)\ncorner_radius_top_left = 4\ncorner_radius_top_right = 4\ncorner_radius_bottom_right = 4\ncorner_radius_bottom_left = 4\nshadow_color = Color(0, 0, 0, 0.3)\nshadow_size = 2\nshadow_offset = Vector2(0, 2)\n```\n\n---\n\n## 九、着色器材质 (ShaderMaterial)\n\n### 9.1 内联着色器\n\n```\n[gd_resource type=\"ShaderMaterial\" load_steps=2 format=3]\n\n[sub_resource type=\"Shader\" id=\"Shader_001\"]\ncode = \"shader_type spatial;\n\nuniform vec4 albedo_color : source_color = vec4(1.0);\nuniform float metallic : hint_range(0, 1) = 0.0;\n\nvoid fragment() {\n    ALBEDO = albedo_color.rgb;\n    METALLIC = metallic;\n}\n\"\n\n[resource]\nshader = SubResource(\"Shader_001\")\nshader_parameter\u002Falbedo_color = Color(1, 0, 0, 1)\nshader_parameter\u002Fmetallic = 0.5\n```\n\n### 9.2 引用外部着色器\n\n```\n[gd_resource type=\"ShaderMaterial\" load_steps=2 format=3]\n\n[ext_resource type=\"Shader\" path=\"res:\u002F\u002Fshaders\u002Fcustom.gdshader\" id=\"1_shader\"]\n\n[resource]\nshader = ExtResource(\"1_shader\")\nshader_parameter\u002Fspeed = 2.0\nshader_parameter\u002Famplitude = 0.1\n```\n\n---\n\n## 十、动画资源 (Animation)\n\n### 10.1 简单位置动画\n\n```\n[gd_resource type=\"Animation\" format=3]\n\n[resource]\nresource_name = \"move_right\"\nlength = 1.0\nloop_mode = 0\ntracks\u002F0\u002Ftype = \"value\"\ntracks\u002F0\u002Fimported = false\ntracks\u002F0\u002Fenabled = true\ntracks\u002F0\u002Fpath = NodePath(\".:position\")\ntracks\u002F0\u002Finterp = 1\ntracks\u002F0\u002Floop_wrap = true\ntracks\u002F0\u002Fkeys = {\n\"times\": PackedFloat32Array(0, 1),\n\"transitions\": PackedFloat32Array(1, 1),\n\"update\": 0,\n\"values\": [Vector3(0, 0, 0), Vector3(5, 0, 0)]\n}\n```\n\n### 10.2 颜色动画\n\n```\n[gd_resource type=\"Animation\" format=3]\n\n[resource]\nresource_name = \"flash_red\"\nlength = 0.5\ntracks\u002F0\u002Ftype = \"value\"\ntracks\u002F0\u002Fpath = NodePath(\"MeshInstance3D:material_override:albedo_color\")\ntracks\u002F0\u002Fkeys = {\n\"times\": PackedFloat32Array(0, 0.1, 0.5),\n\"values\": [Color(1, 1, 1, 1), Color(1, 0, 0, 1), Color(1, 1, 1, 1)]\n}\n```\n\n---\n\n## 十一、字体资源 (FontFile)\n\n字体通常是导入的，但可以创建 FontVariation：\n\n```\n[gd_resource type=\"FontVariation\" load_steps=2 format=3]\n\n[ext_resource type=\"FontFile\" path=\"res:\u002F\u002Ffonts\u002Fmain.ttf\" id=\"1_font\"]\n\n[resource]\nbase_font = ExtResource(\"1_font\")\nvariation_opentype = {\n\"wght\": 700\n}\nspacing_glyph = 2\nspacing_top = -2\n```\n\n---\n\n## 十二、粒子材质 (ParticleProcessMaterial)\n\n```\n[gd_resource type=\"ParticleProcessMaterial\" format=3]\n\n[resource]\nemission_shape = 1\nemission_sphere_radius = 0.5\ndirection = Vector3(0, 1, 0)\nspread = 30.0\ninitial_velocity_min = 5.0\ninitial_velocity_max = 10.0\ngravity = Vector3(0, -9.8, 0)\nscale_min = 0.5\nscale_max = 1.5\ncolor = Color(1, 0.8, 0, 1)\n```\n\n---\n\n## 十三、AI 操作指南\n\n### 13.1 创建材质\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fenemy_mat.tres\", \"\"\"\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.8, 0.2, 0.2, 1)\nroughness = 0.7\nemission_enabled = true\nemission = Color(0.3, 0, 0, 1)\nemission_energy_multiplier = 0.5\n\"\"\")\n```\n\n### 13.2 创建环境\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fgame_env.tres\", \"\"\"\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.05, 0.05, 0.1, 1)\nambient_light_color = Color(0.2, 0.2, 0.3, 1)\nambient_light_energy = 0.5\nssao_enabled = true\nglow_enabled = true\nglow_intensity = 0.5\n\"\"\")\n```\n\n### 13.3 创建物理材质\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fbouncy.tres\", \"\"\"\n[gd_resource type=\"PhysicsMaterial\" format=3]\n\n[resource]\nfriction = 0.3\nbounce = 0.9\n\"\"\")\n```\n\n---\n\n## 十四、资源类型速查表\n\n| 类型 | 用途 | 文件 |\n|------|------|------|\n| `StandardMaterial3D` | 3D 材质 | `*.tres` |\n| `CanvasItemMaterial` | 2D 材质 | `*.tres` |\n| `ShaderMaterial` | 自定义着色器材质 | `*.tres` |\n| `Environment` | 环境设置 | `*.tres` |\n| `PhysicsMaterial` | 物理材质 | `*.tres` |\n| `Gradient` | 渐变 | `*.tres` |\n| `Curve` | 曲线 | `*.tres` |\n| `StyleBoxFlat` | UI 样式盒 | `*.tres` |\n| `ParticleProcessMaterial` | 粒子材质 | `*.tres` |\n| `Animation` | 动画 | `*.tres` 或 `*.anim` |\n| `AudioBusLayout` | 音频总线布局 | `*.tres` |\n| `Theme` | UI 主题 | `*.tres` |\n\n---\n\n## 十五、颜色速查表\n\n### 常用颜色\n\n```\n# 基础色\n红色: Color(1, 0, 0, 1)\n绿色: Color(0, 1, 0, 1)\n蓝色: Color(0, 0, 1, 1)\n白色: Color(1, 1, 1, 1)\n黑色: Color(0, 0, 0, 1)\n\n# 游戏常用\n生命条红: Color(0.9, 0.2, 0.2, 1)\n能量条蓝: Color(0.2, 0.5, 0.9, 1)\n金币黄: Color(1, 0.85, 0, 1)\n毒药绿: Color(0.3, 0.9, 0.2, 1)\n暗紫色: Color(0.5, 0.2, 0.7, 1)\n\n# UI 色\n暗灰背景: Color(0.15, 0.15, 0.2, 1)\n边框灰: Color(0.4, 0.4, 0.5, 1)\n高亮蓝: Color(0.3, 0.6, 1, 1)\n警告橙: Color(1, 0.6, 0.2, 1)\n错误红: Color(0.9, 0.3, 0.3, 1)\n成功绿: Color(0.3, 0.8, 0.4, 1)\n```\n","# Godot .tres 资源文件格式规范\n\n> **用途**：让 AI 能够直接读写 Godot 资源文件  \n> **版本**：v1.0 · 2026-04-24  \n> **适用引擎**：Godot 4.x\n\n---\n\n## 核心原则\n\n**Godot 资源文件是纯文本**，AI 可以直接通过 `write_to_file` 创建材质、形状、环境等资源。\n\n---\n\n## 一、文件结构\n\n```\n[gd_resource type=\"ResourceType\" format=3 uid=\"uid:\u002F\u002Fxxx\"]\n\n[resource]\nproperty1 = value1\nproperty2 = value2\n```\n\n---\n\n## 二、材质资源 (StandardMaterial3D)\n\n### 2.1 基础材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.8, 0.2, 0.2, 1)\nroughness = 0.8\nmetallic = 0.0\n```\n\n### 2.2 金属材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.9, 0.9, 0.9, 1)\nroughness = 0.3\nmetallic = 0.9\nmetallic_specular = 0.5\n```\n\n### 2.3 发光材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(1, 0.8, 0, 1)\nemission_enabled = true\nemission = Color(1, 0.8, 0, 1)\nemission_energy_multiplier = 3.0\n```\n\n### 2.4 透明材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\ntransparency = 1\nalbedo_color = Color(0.2, 0.5, 1, 0.5)\n```\n\n### 2.5 无光照材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nshading_mode = 0\nalbedo_color = Color(1, 1, 1, 1)\n```\n\n### 2.6 带纹理材质\n\n```\n[gd_resource type=\"StandardMaterial3D\" load_steps=2 format=3]\n\n[ext_resource type=\"Texture2D\" path=\"res:\u002F\u002Ftextures\u002Fbrick.png\" id=\"1_albedo\"]\n\n[resource]\nalbedo_texture = ExtResource(\"1_albedo\")\nroughness = 0.9\n```\n\n---\n\n## 三、常用材质属性参考\n\n| 属性 | 类型 | 说明 |\n|------|------|------|\n| `albedo_color` | Color | 基础颜色 |\n| `albedo_texture` | Texture2D | 颜色贴图 |\n| `roughness` | float (0-1) | 粗糙度，0=光滑，1=粗糙 |\n| `metallic` | float (0-1) | 金属度 |\n| `metallic_specular` | float (0-1) | 金属高光 |\n| `emission_enabled` | bool | 启用发光 |\n| `emission` | Color | 发光颜色 |\n| `emission_energy_multiplier` | float | 发光强度倍数 |\n| `transparency` | int | 0=不透明, 1=Alpha, 2=预乘Alpha |\n| `cull_mode` | int | 0=背面剔除, 1=正面剔除, 2=不剔除 |\n| `shading_mode` | int | 0=无光照, 1=逐顶点, 2=逐像素(默认) |\n| `normal_enabled` | bool | 启用法线贴图 |\n| `normal_texture` | Texture2D | 法线贴图 |\n| `normal_scale` | float | 法线强度 |\n\n---\n\n## 四、环境资源 (Environment)\n\n### 4.1 基础室外环境\n\n```\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.4, 0.6, 0.9, 1)\nambient_light_source = 2\nambient_light_color = Color(0.5, 0.5, 0.6, 1)\nambient_light_energy = 0.5\ntonemap_mode = 2\ntonemap_white = 6.0\nssao_enabled = true\nssil_enabled = true\nglow_enabled = true\n```\n\n### 4.2 室内环境\n\n```\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.1, 0.1, 0.15, 1)\nambient_light_source = 1\nambient_light_color = Color(0.3, 0.3, 0.35, 1)\nambient_light_energy = 0.3\nssao_enabled = true\nssao_intensity = 2.0\n```\n\n### 4.3 带天空盒环境\n\n```\n[gd_resource type=\"Environment\" load_steps=2 format=3]\n\n[sub_resource type=\"Sky\" id=\"Sky_001\"]\nsky_material = SubResource(\"ProceduralSkyMaterial_001\")\n\n[sub_resource type=\"ProceduralSkyMaterial\" id=\"ProceduralSkyMaterial_001\"]\nsky_top_color = Color(0.3, 0.5, 0.9, 1)\nsky_horizon_color = Color(0.7, 0.8, 0.95, 1)\nground_bottom_color = Color(0.2, 0.2, 0.2, 1)\nground_horizon_color = Color(0.5, 0.5, 0.5, 1)\nsun_angle_max = 30.0\n\n[resource]\nbackground_mode = 2\nsky = SubResource(\"Sky_001\")\nambient_light_source = 3\ntonemap_mode = 2\n```\n\n---\n\n## 五、物理材质 (PhysicsMaterial)\n\n```\n[gd_resource type=\"PhysicsMaterial\" format=3]\n\n[resource]\nfriction = 0.8\nrough = true\nbounce = 0.2\nabsorbent = false\n```\n\n| 属性 | 说明 |\n|------|------|\n| `friction` | 摩擦力 (0-1) |\n| `rough` | 粗糙模式 |\n| `bounce` | 弹性 (0-1) |\n| `absorbent` | 吸收模式 |\n\n---\n\n## 六、渐变资源 (Gradient)\n\n### 6.1 线性渐变\n\n```\n[gd_resource type=\"Gradient\" format=3]\n\n[resource]\noffsets = PackedFloat32Array(0, 0.5, 1)\ncolors = PackedColorArray(1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1)\n```\n\n### 6.2 用于粒子的渐变\n\n```\n[gd_resource type=\"Gradient\" format=3]\n\n[resource]\noffsets = PackedFloat32Array(0, 0.3, 0.7, 1)\ncolors = PackedColorArray(1, 1, 1, 1, 1, 0.8, 0.2, 1, 1, 0.2, 0, 0.5, 0.5, 0.1, 0, 0)\n```\n\n---\n\n## 七、曲线资源 (Curve)\n\n### 7.1 基础曲线\n\n```\n[gd_resource type=\"Curve\" format=3]\n\n[resource]\nmin_value = 0.0\nmax_value = 1.0\n_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]\npoint_count = 3\n```\n\n### 7.2 淡入淡出曲线\n\n```\n[gd_resource type=\"Curve\" format=3]\n\n[resource]\n_data = [Vector2(0, 0), 0.0, 2.0, 0, 1, Vector2(0.2, 1), 0.0, 0.0, 0, 0, Vector2(0.8, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -2.0, 0.0, 1, 0]\npoint_count = 4\n```\n\n---\n\n## 八、样式盒资源 (StyleBox)\n\n### 8.1 扁平样式盒\n\n```\n[gd_resource type=\"StyleBoxFlat\" format=3]\n\n[resource]\nbg_color = Color(0.2, 0.2, 0.25, 1)\nborder_width_left = 2\nborder_width_top = 2\nborder_width_right = 2\nborder_width_bottom = 2\nborder_color = Color(0.4, 0.4, 0.5, 1)\ncorner_radius_top_left = 8\ncorner_radius_top_right = 8\ncorner_radius_bottom_right = 8\ncorner_radius_bottom_left = 8\n```\n\n### 8.2 按钮样式\n\n```\n[gd_resource type=\"StyleBoxFlat\" format=3]\n\n[resource]\nbg_color = Color(0.3, 0.5, 0.8, 1)\ncorner_radius_top_left = 4\ncorner_radius_top_right = 4\ncorner_radius_bottom_right = 4\ncorner_radius_bottom_left = 4\nshadow_color = Color(0, 0, 0, 0.3)\nshadow_size = 2\nshadow_offset = Vector2(0, 2)\n```\n\n---\n\n## 九、着色器材质 (ShaderMaterial)\n\n### 9.1 内联着色器\n\n```\n[gd_resource type=\"ShaderMaterial\" load_steps=2 format=3]\n\n[sub_resource type=\"Shader\" id=\"Shader_001\"]\ncode = \"shader_type spatial;\n\nuniform vec4 albedo_color : source_color = vec4(1.0);\nuniform float metallic : hint_range(0, 1) = 0.0;\n\nvoid fragment() {\n    ALBEDO = albedo_color.rgb;\n    METALLIC = metallic;\n}\n\"\n\n[resource]\nshader = SubResource(\"Shader_001\")\nshader_parameter\u002Falbedo_color = Color(1, 0, 0, 1)\nshader_parameter\u002Fmetallic = 0.5\n```\n\n### 9.2 引用外部着色器\n\n```\n[gd_resource type=\"ShaderMaterial\" load_steps=2 format=3]\n\n[ext_resource type=\"Shader\" path=\"res:\u002F\u002Fshaders\u002Fcustom.gdshader\" id=\"1_shader\"]\n\n[resource]\nshader = ExtResource(\"1_shader\")\nshader_parameter\u002Fspeed = 2.0\nshader_parameter\u002Famplitude = 0.1\n```\n\n---\n\n## 十、动画资源 (Animation)\n\n### 10.1 简单位置动画\n\n```\n[gd_resource type=\"Animation\" format=3]\n\n[resource]\nresource_name = \"move_right\"\nlength = 1.0\nloop_mode = 0\ntracks\u002F0\u002Ftype = \"value\"\ntracks\u002F0\u002Fimported = false\ntracks\u002F0\u002Fenabled = true\ntracks\u002F0\u002Fpath = NodePath(\".:position\")\ntracks\u002F0\u002Finterp = 1\ntracks\u002F0\u002Floop_wrap = true\ntracks\u002F0\u002Fkeys = {\n\"times\": PackedFloat32Array(0, 1),\n\"transitions\": PackedFloat32Array(1, 1),\n\"update\": 0,\n\"values\": [Vector3(0, 0, 0), Vector3(5, 0, 0)]\n}\n```\n\n### 10.2 颜色动画\n\n```\n[gd_resource type=\"Animation\" format=3]\n\n[resource]\nresource_name = \"flash_red\"\nlength = 0.5\ntracks\u002F0\u002Ftype = \"value\"\ntracks\u002F0\u002Fpath = NodePath(\"MeshInstance3D:material_override:albedo_color\")\ntracks\u002F0\u002Fkeys = {\n\"times\": PackedFloat32Array(0, 0.1, 0.5),\n\"values\": [Color(1, 1, 1, 1), Color(1, 0, 0, 1), Color(1, 1, 1, 1)]\n}\n```\n\n---\n\n## 十一、字体资源 (FontFile)\n\n字体通常是导入的，但可以创建 FontVariation：\n\n```\n[gd_resource type=\"FontVariation\" load_steps=2 format=3]\n\n[ext_resource type=\"FontFile\" path=\"res:\u002F\u002Ffonts\u002Fmain.ttf\" id=\"1_font\"]\n\n[resource]\nbase_font = ExtResource(\"1_font\")\nvariation_opentype = {\n\"wght\": 700\n}\nspacing_glyph = 2\nspacing_top = -2\n```\n\n---\n\n## 十二、粒子材质 (ParticleProcessMaterial)\n\n```\n[gd_resource type=\"ParticleProcessMaterial\" format=3]\n\n[resource]\nemission_shape = 1\nemission_sphere_radius = 0.5\ndirection = Vector3(0, 1, 0)\nspread = 30.0\ninitial_velocity_min = 5.0\ninitial_velocity_max = 10.0\ngravity = Vector3(0, -9.8, 0)\nscale_min = 0.5\nscale_max = 1.5\ncolor = Color(1, 0.8, 0, 1)\n```\n\n---\n\n## 十三、AI 操作指南\n\n### 13.1 创建材质\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fenemy_mat.tres\", \"\"\"\n[gd_resource type=\"StandardMaterial3D\" format=3]\n\n[resource]\nalbedo_color = Color(0.8, 0.2, 0.2, 1)\nroughness = 0.7\nemission_enabled = true\nemission = Color(0.3, 0, 0, 1)\nemission_energy_multiplier = 0.5\n\"\"\")\n```\n\n### 13.2 创建环境\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fgame_env.tres\", \"\"\"\n[gd_resource type=\"Environment\" format=3]\n\n[resource]\nbackground_mode = 1\nbackground_color = Color(0.05, 0.05, 0.1, 1)\nambient_light_color = Color(0.2, 0.2, 0.3, 1)\nambient_light_energy = 0.5\nssao_enabled = true\nglow_enabled = true\nglow_intensity = 0.5\n\"\"\")\n```\n\n### 13.3 创建物理材质\n\n```python\nwrite_to_file(\"res:\u002F\u002Fresources\u002Fbouncy.tres\", \"\"\"\n[gd_resource type=\"PhysicsMaterial\" format=3]\n\n[resource]\nfriction = 0.3\nbounce = 0.9\n\"\"\")\n```\n\n---\n\n## 十四、资源类型速查表\n\n| 类型 | 用途 | 文件 |\n|------|------|------|\n| `StandardMaterial3D` | 3D 材质 | `*.tres` |\n| `CanvasItemMaterial` | 2D 材质 | `*.tres` |\n| `ShaderMaterial` | 自定义着色器材质 | `*.tres` |\n| `Environment` | 环境设置 | `*.tres` |\n| `PhysicsMaterial` | 物理材质 | `*.tres` |\n| `Gradient` | 渐变 | `*.tres` |\n| `Curve` | 曲线 | `*.tres` |\n| `StyleBoxFlat` | UI 样式盒 | `*.tres` |\n| `ParticleProcessMaterial` | 粒子材质 | `*.tres` |\n| `Animation` | 动画 | `*.tres` 或 `*.anim` |\n| `AudioBusLayout` | 音频总线布局 | `*.tres` |\n| `Theme` | UI 主题 | `*.tres` |\n\n---\n\n## 十五、颜色速查表\n\n### 常用颜色\n\n```\n# 基础色\n红色: Color(1, 0, 0, 1)\n绿色: Color(0, 1, 0, 1)\n蓝色: Color(0, 0, 1, 1)\n白色: Color(1, 1, 1, 1)\n黑色: Color(0, 0, 0, 1)\n\n# 游戏常用\n生命条红: Color(0.9, 0.2, 0.2, 1)\n能量条蓝: Color(0.2, 0.5, 0.9, 1)\n金币黄: Color(1, 0.85, 0, 1)\n毒药绿: Color(0.3, 0.9, 0.2, 1)\n暗紫色: Color(0.5, 0.2, 0.7, 1)\n\n# UI 色\n暗灰背景: Color(0.15, 0.15, 0.2, 1)\n边框灰: Color(0.4, 0.4, 0.5, 1)\n高亮蓝: Color(0.3, 0.6, 1, 1)\n警告橙: Color(1, 0.6, 0.2, 1)\n错误红: Color(0.9, 0.3, 0.3, 1)\n成功绿: Color(0.3, 0.8, 0.4, 1)\n```\n",{"name":5,"version":28,"description":7},"1.0.0","main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fgodot-tres-format",1,"https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system","https:\u002F\u002Fgithub.com\u002Fwelflau","2026-11-12 14:55:20",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add welflau\u002Fai-dev-system --skill godot-tres-format",{"tool":42,"command":43},"bunx","bunx skills add welflau\u002Fai-dev-system --skill godot-tres-format",{"tool":45,"command":46},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill godot-tres-format","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fmagicai-hub\u002Fskills\u002Fgodot-tres-format\u002FSKILL.md",true,[],[51,86,118,143,169,193],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":56,"sourceHtmlUrl":57,"categories":58,"keywords":64,"publishedAt":23},"01M6HSTDP4M3JFXEBK91VFB4PA","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Fweb-artifacts-builder\u002FSKILL.md",[59],{"categoryNo":60,"categoryName":61,"taxonomyType":62,"taxonomyTypeDesc":63},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85],"web artifacts builder","web","artifacts","artifacts builder","builder","frontend","css","components","react","routing","state management","state","file","Tailwind","use","single-file","simple","ui components","multi","for","single",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":102,"publishedAt":23},"01M6HSDXH0JSP8R3QTNY9XZ8HN","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML\u002FCSS layouts, or when styling\u002Fbeautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Ffrontend-design\u002FSKILL.md",[93,94,97],{"categoryNo":60,"categoryName":61,"taxonomyType":62,"taxonomyTypeDesc":63},{"categoryNo":95,"categoryName":96,"taxonomyType":62,"taxonomyTypeDesc":63},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":98,"categoryName":99,"taxonomyType":100,"taxonomyTypeDesc":101},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[70,103,104,71,66,72,73,105,106,107,67,108,109,110,79,111,112,113,114,115,116,117],"design","frontend design","react components","create","code","examples","applications","landing","ui design","pages","aesthetics","web ui","with","generic","when",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":126,"publishedAt":23},"01M6HSA77QYVP7A72HREGTDN2C","algorithmic-art","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fplugins\u002Falgorithmic-art\u002FSKILL.md",[125],{"categoryNo":95,"categoryName":96,"taxonomyType":62,"taxonomyTypeDesc":63},[127,128,129,106,107,130,131,132,133,79,134,135,136,137,115,138,139,140,141,142,117],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":147,"sourceHtmlUrl":148,"categories":149,"keywords":151,"publishedAt":23},"01M6HS9HE0X390Y6RQKTY1YNGJ","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Ftheme-factory\u002FSKILL.md",[150],{"categoryNo":95,"categoryName":96,"taxonomyType":62,"taxonomyTypeDesc":63},[152,153,154,155,156,157,67,158,159,160,110,161,162,112,163,115,164,165,166,84,167,168],"theme factory","factory","theme","docs","toolkit","generate","SET","fly","slides","styling","artifact","themes","you","fonts","can","apply","new",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":178,"publishedAt":23},"01M6HS74GASM6FJ77F83EY679E","browsing","Use when you need direct browser control - teaches Chrome DevTools Protocol for controlling existing browser sessions, multi-tab management, form automation, and content extraction via use_browser MCP tool","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fsuperpowers-chrome\u002Fskills\u002Fbrowsing\u002FSKILL.md",[175],{"categoryNo":176,"categoryName":177,"taxonomyType":62,"taxonomyTypeDesc":63},"01JBSEEDCAT000000000000023","Skill与智能体开发",[171,179,180,181,182,183,184,185,186,187,188,79,189,190,191,192,83,164,84,138],"MCP","automation","chrome","sessions","protocol","browser","devtools","chrome devtools","tool","direct","browser control","control","via","form",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":197,"sourceHtmlUrl":198,"categories":199,"keywords":206,"publishedAt":23},"01M6HS6BZT2CKDNQ6YF20DXN4T","slack-gif-creator","Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like \"make me a GIF of X doing Y for Slack.\"","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fslack-gif-creator\u002FSKILL.md",[200,203],{"categoryNo":201,"categoryName":202,"taxonomyType":62,"taxonomyTypeDesc":63},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":204,"categoryName":205,"taxonomyType":62,"taxonomyTypeDesc":63},"01JBSEEDCAT000000000000016","图像与多媒体",[207,208,209,210,211,212,213,214,215,79,216,137,217,218,219,84,139,117],"slack gif creator","slack","gif","creator","validation","Tools","constraints","Animation","knowledge","me","make","Utilities","concepts"]