[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQ1SGXG0Q4FVTNQWHA0PPH":3,"skill-same:01M6HQ1SGXG0Q4FVTNQWHA0PPH":96},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":76,"commitSha":77,"skillDirectory":78,"forksCount":79,"repositoryHtmlUrl":80,"repositoryHomepageUrl":6,"ownerHtmlUrl":81,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":82,"install":83,"resources":95},"01M6HQ1SGXG0Q4FVTNQWHA0PPH","godot-extract-to-scenes",null,"当构建 Godot 功能时，代码使用 .new() 创建节点而非使用场景时触发。 检测 Timer.new()、Area2D.new()、Sprite2D.new() 等代码创建的对象。 自动生成 .tscn 场景文件，更新父脚本使用 @onready 引用，并创建可复用的组件库。","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\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-extract-to-scenes\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"godot extract to scenes","godot","extract","scenes","timer","new","gdscript","true","split","文件","creation","superpowers","linux","README","生成","tool","game","code","development","windows","component","2026-11-10 10:12:30",false,"---\nname: godot-extract-to-scenes\nversion: 3.0.0\ndisplayName: 将代码创建的对象提取为场景\ndescription: >\n  当构建 Godot 功能时，代码使用 .new() 创建节点而非使用场景时触发。\n  检测 Timer.new()、Area2D.new()、Sprite2D.new() 等代码创建的对象。\n  自动生成 .tscn 场景文件，更新父脚本使用 @onready 引用，并创建可复用的组件库。\nauthor: Asreonn\nlicense: MIT\ncategory: game-development\ntype: tool\ndifficulty: intermediate\naudience: [developers]\nkeywords:\n  - godot\n  - scene-extraction\n  - component-library\n  - new-operator\n  - node-creation\n  - code-refactoring\n  - tscn-generation\n  - gdscript\nplatforms: [macos, linux, windows]\nrepository: https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers\nhomepage: https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers#readme\n\npermissions:\n  filesystem:\n    read: [\".gd\", \".tscn\", \".tres\"]\n    write: [\".tscn\", \".tres\", \".gd\"]\n  git: true\n\nbehavior:\n  auto_rollback: true\n  validation: true\n  git_commits: true\n\noutputs: \"包含 .tscn 场景、预设资源、更新后的父脚本、git 提交的组件库\"\nrequirements: \"Git 仓库，Godot 4.x\"\nexecution: \"全自动执行，每个组件一次 git 提交\"\nintegration: \"godot-refactor 编排器的一部分，与 godot-split-scripts 协同工作\"\n---\n\n# 将代码创建的对象提取为场景\n\n## 核心原则\n\n**每个节点都应该是一个场景。** 使用 `.new()` 创建的代码对象应当只在真正需要动态内容时作为罕见的例外。\n\n## 此技能的功能\n\n查找如下模式：\n```gdscript\nvar timer = Timer.new()\ntimer.wait_time = 2.0\ntimer.one_shot = true\nadd_child(timer)\n```\n\n转换为：\n```gdscript\n@onready var timer: Timer = $Timer\n# Timer 现在是场景节点，在编辑器中配置\n```\n\n## 检测模式\n\n扫描以下模式：\n- `Timer.new()`\n- `Area2D.new()`、`CollisionShape2D.new()`\n- `Sprite2D.new()`、`AnimatedSprite2D.new()`\n- `AudioStreamPlayer.new()`、`AudioStreamPlayer2D.new()`\n- `Control.new()`、`Label.new()`、`Button.new()`\n- 任何 `Node*.new()` 模式\n\n## 使用时机\n\n### 你正在构建新功能\n你的代码动态创建对象，但这些对象实际上应该作为场景存在。\n\n### 你正在重构遗留代码\n旧代码中的 `.new()` 调用使节点在编辑器中不可见。\n\n### 你希望在检视器中可见\n你希望在 Godot 编辑器中配置属性，而不是在代码中配置。\n\n## 流程\n\n1. **扫描** - 在 .gd 文件中查找所有 `.new()` 模式\n2. **分析** - 确定节点类型、属性、父子关系\n3. **生成** - 创建配置正确的 .tscn 场景文件\n4. **更新** - 将代码创建替换为 @onready 引用\n5. **提交** - 每个提取的组件一次 git 提交\n\n## 转换示例\n\n**转换前：**\n```gdscript\n# player.gd\nfunc _ready():\n    var hitbox = Area2D.new()\n    hitbox.name = \"Hitbox\"\n    var collision = CollisionShape2D.new()\n    var shape = RectangleShape2D.new()\n    shape.size = Vector2(32, 48)\n    collision.shape = shape\n    hitbox.add_child(collision)\n    add_child(hitbox)\n```\n\n**转换后：**\n```gdscript\n# player.gd\n@onready var hitbox: Area2D = $Hitbox\n# Hitbox 现在作为场景节点配置在 player.tscn 中\n```\n\n**生成的文件：**\n```ini\n# components\u002Fhitbox_component.tscn\n[gd_scene load_steps=2 format=3]\n\n[sub_resource type=\"RectangleShape2D\" id=\"1\"]\nsize = Vector2(32, 48)\n\n[node name=\"Hitbox\" type=\"Area2D\"]\n\n[node name=\"CollisionShape2D\" type=\"CollisionShape2D\" parent=\".\"]\nshape = SubResource(\"1\")\n```\n\n## 创建的内容\n\n- `components\u002F` 目录中的组件库\n- 具有正确节点层级的 .tscn 场景文件\n- 用于可复用配置的预设 .tres 文件\n- 使用 @onready 引用更新后的父脚本\n- 记录每次提取的 git 提交\n\n## 智能检测\n\n**跳过有意的动态创建：**\n- 在循环中创建的对象（生成敌人）\n- 条件创建的对象（不同武器类型）\n- 可变类型的对象（插件系统）\n\n**聚焦于静态对象：**\n- 每次创建的都是相同对象\n- 属性设置为常量值\n- 应在编辑器中可见\n\n## 集成\n\n可与以下技能配合使用：\n- **godot-split-scripts** - 先提取，再拆分大型脚本\n- **godot-add-signals** - 对提取的组件使用 Signal\n- **godot-refactor**（编排器）- 作为完整重构的一部分运行\n\n## 安全性\n\n- 每个操作都创建 git 提交\n- 提取后运行验证测试\n- 测试失败时自动回滚\n- 原始代码保留在 git 历史中\n\n## 不应使用的情况\n\n以下情况不应提取：\n- 对象是动态创建的（在循环中、基于数据）\n- 对象类型在运行时变化\n- 对象是真正的临时对象（频繁创建和销毁）\n- 代码已经在使用 PackedScene.instantiate()\n\n这些是 `.new()` 的合理用法，应保留在代码中。\n","# 将代码创建的对象提取为场景\n\n## 核心原则\n\n**每个节点都应该是一个场景。** 使用 `.new()` 创建的代码对象应当只在真正需要动态内容时作为罕见的例外。\n\n## 此技能的功能\n\n查找如下模式：\n```gdscript\nvar timer = Timer.new()\ntimer.wait_time = 2.0\ntimer.one_shot = true\nadd_child(timer)\n```\n\n转换为：\n```gdscript\n@onready var timer: Timer = $Timer\n# Timer 现在是场景节点，在编辑器中配置\n```\n\n## 检测模式\n\n扫描以下模式：\n- `Timer.new()`\n- `Area2D.new()`、`CollisionShape2D.new()`\n- `Sprite2D.new()`、`AnimatedSprite2D.new()`\n- `AudioStreamPlayer.new()`、`AudioStreamPlayer2D.new()`\n- `Control.new()`、`Label.new()`、`Button.new()`\n- 任何 `Node*.new()` 模式\n\n## 使用时机\n\n### 你正在构建新功能\n你的代码动态创建对象，但这些对象实际上应该作为场景存在。\n\n### 你正在重构遗留代码\n旧代码中的 `.new()` 调用使节点在编辑器中不可见。\n\n### 你希望在检视器中可见\n你希望在 Godot 编辑器中配置属性，而不是在代码中配置。\n\n## 流程\n\n1. **扫描** - 在 .gd 文件中查找所有 `.new()` 模式\n2. **分析** - 确定节点类型、属性、父子关系\n3. **生成** - 创建配置正确的 .tscn 场景文件\n4. **更新** - 将代码创建替换为 @onready 引用\n5. **提交** - 每个提取的组件一次 git 提交\n\n## 转换示例\n\n**转换前：**\n```gdscript\n# player.gd\nfunc _ready():\n    var hitbox = Area2D.new()\n    hitbox.name = \"Hitbox\"\n    var collision = CollisionShape2D.new()\n    var shape = RectangleShape2D.new()\n    shape.size = Vector2(32, 48)\n    collision.shape = shape\n    hitbox.add_child(collision)\n    add_child(hitbox)\n```\n\n**转换后：**\n```gdscript\n# player.gd\n@onready var hitbox: Area2D = $Hitbox\n# Hitbox 现在作为场景节点配置在 player.tscn 中\n```\n\n**生成的文件：**\n```ini\n# components\u002Fhitbox_component.tscn\n[gd_scene load_steps=2 format=3]\n\n[sub_resource type=\"RectangleShape2D\" id=\"1\"]\nsize = Vector2(32, 48)\n\n[node name=\"Hitbox\" type=\"Area2D\"]\n\n[node name=\"CollisionShape2D\" type=\"CollisionShape2D\" parent=\".\"]\nshape = SubResource(\"1\")\n```\n\n## 创建的内容\n\n- `components\u002F` 目录中的组件库\n- 具有正确节点层级的 .tscn 场景文件\n- 用于可复用配置的预设 .tres 文件\n- 使用 @onready 引用更新后的父脚本\n- 记录每次提取的 git 提交\n\n## 智能检测\n\n**跳过有意的动态创建：**\n- 在循环中创建的对象（生成敌人）\n- 条件创建的对象（不同武器类型）\n- 可变类型的对象（插件系统）\n\n**聚焦于静态对象：**\n- 每次创建的都是相同对象\n- 属性设置为常量值\n- 应在编辑器中可见\n\n## 集成\n\n可与以下技能配合使用：\n- **godot-split-scripts** - 先提取，再拆分大型脚本\n- **godot-add-signals** - 对提取的组件使用 Signal\n- **godot-refactor**（编排器）- 作为完整重构的一部分运行\n\n## 安全性\n\n- 每个操作都创建 git 提交\n- 提取后运行验证测试\n- 测试失败时自动回滚\n- 原始代码保留在 git 历史中\n\n## 不应使用的情况\n\n以下情况不应提取：\n- 对象是动态创建的（在循环中、基于数据）\n- 对象类型在运行时变化\n- 对象是真正的临时对象（频繁创建和销毁）\n- 代码已经在使用 PackedScene.instantiate()\n\n这些是 `.new()` 的合理用法，应保留在代码中。\n",{"name":5,"type":33,"author":44,"license":14,"outputs":45,"version":46,"audience":47,"behavior":49,"category":51,"homepage":52,"keywords":53,"execution":60,"platforms":61,"difficulty":63,"repository":64,"description":65,"displayName":66,"integration":67,"permissions":68,"requirements":75},"Asreonn","包含 .tscn 场景、预设资源、更新后的父脚本、git 提交的组件库","3.0.0",[48],"developers",{"validation":50,"git_commits":50,"auto_rollback":50},true,"game-development","https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers#readme",[19,54,55,56,57,58,59,24],"scene-extraction","component-library","new-operator","node-creation","code-refactoring","tscn-generation","全自动执行，每个组件一次 git 提交",[62,30,37],"macos","intermediate","https:\u002F\u002Fgithub.com\u002Fasreonn\u002Fgodot-superpowers","当构建 Godot 功能时，代码使用 .new() 创建节点而非使用场景时触发。 检测 Timer.new()、Area2D.new()、Sprite2D.new() 等代码创建的对象。 自动生成 .tscn 场景文件，更新父脚本使用 @onready 引用，并创建可复用的组件库。\n","将代码创建的对象提取为场景","godot-refactor 编排器的一部分，与 godot-split-scripts 协同工作",{"git":50,"filesystem":69},{"read":70,"write":74},[71,72,73],".gd",".tscn",".tres",[72,73,71],"Git 仓库，Godot 4.x","main","18d0e63d1313ca87098f614aa7c1e2dcf6de79c7","backend\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-extract-to-scenes",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":84,"prompt":94,"zipAvailable":50},[85,88,91],{"tool":86,"command":87},"npx","npx skills add welflau\u002Fai-dev-system --skill godot-extract-to-scenes",{"tool":89,"command":90},"bunx","bunx skills add welflau\u002Fai-dev-system --skill godot-extract-to-scenes",{"tool":92,"command":93},"pnpm","pnpm dlx skills add welflau\u002Fai-dev-system --skill godot-extract-to-scenes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fconfig_packs\u002Fgodot-dev\u002Fclaude\u002Fskills\u002Fgodot-extract-to-scenes\u002FSKILL.md",[],[97,124,151,176,196,220],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":123},"01M6HS9Z4B0YA8CJCS2Y2F04Y3","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Fwebapp-testing\u002FSKILL.md",[],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],"testing","webapp testing","webapp","frontend","screenshots","playwright","web","debugging","toolkit","browser","ui","logs","applications","behavior","local","with","for","2026-11-11 15:11:14",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":123},"01M6HRAGMG7JF0HXYHMA5QHS8A","internal-comms","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwelflau\u002Fai-dev-system\u002Fblob\u002Fmain\u002Fbackend\u002Fskills\u002Fmarketplace\u002Fcodebuddy-plugins-official\u002Fexternal_plugins\u002Finternal-comms\u002FSKILL.md",[],[132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],"internal comms","comms","status","help","SET","write","use","reports","me","incident","leadership","project","resources","communications","internal communications","formats","sort","my","updates",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":155,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":39},"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.","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",[],[159,112,160,161,162,109,163,164,165,166,167,168,169,170,138,171,172,173,174,122,175],"web artifacts builder","artifacts","artifacts builder","builder","css","components","react","routing","state management","state","file","Tailwind","single-file","simple","ui components","multi","single",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":180,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":39},"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",[],[109,184,185,163,112,164,165,186,187,35,160,188,118,189,138,190,191,192,193,121,194,195],"design","frontend design","react components","create","examples","landing","ui design","pages","aesthetics","web ui","generic","when",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":200,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":39},"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",[],[204,205,206,187,35,207,208,209,210,138,211,212,213,214,121,215,216,217,218,219,195],"algorithmic art","Art","algorithmic","flow","js","work","interactive","generative art","exploration","systems","users","Existing","request","generative","copyright","fields",{"skillNo":221,"name":222,"nameZh":6,"description":223,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":224,"sourceHtmlUrl":225,"categories":226,"keywords":227,"publishedAt":39},"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",[],[228,229,230,231,114,232,160,136,233,234,189,235,236,191,237,121,238,239,240,122,241,23],"theme factory","factory","theme","docs","generate","fly","slides","styling","artifact","themes","you","fonts","can","apply"]