[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R60F5T1X1XK837Y2D3CSTF":3,"skill-same:01M6R60F5T1X1XK837Y2D3CSTF":65},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":29,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6R60F5T1X1XK837Y2D3CSTF","using-git-worktrees",null,"Create isolated git worktrees with safety checks and setup guidance. Use when starting feature work that needs separation from the main checkout.","r3dlex\u002Fskills","r3dlex","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F291373160?v=4","01M6PEFNGGBVB7SHAPWXFFX933","01M6R5SDWFHT94734KJFMYE1SX",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fusing-git-worktrees\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"using git worktrees","git","git worktrees","Using git","worktrees","when","setup","with","separation","checkout","feature","main","guidance","use","work","Safety","create","2026-11-10 10:12:30",false,"---\nname: using-git-worktrees\ndescription: \"Create isolated git worktrees with safety checks and setup guidance. Use when starting feature work that needs separation from the main checkout.\"\n---\n\n# Using Git Worktrees\n\n## Quick Start\n\n1. Check for existing worktree directory (`.worktrees` or `worktrees`)\n2. Verify directory is git-ignored (for project-local)\n3. Create worktree with new branch: `git worktree add \u003Cpath> -b \u003Cbranch>`\n4. Run project setup (auto-detect: npm install, cargo build, etc.)\n5. Verify clean test baseline\n\n**Announce at start:** \"I'm using the using-git-worktrees skill to set up an isolated workspace.\"\n\n## Directory Selection Priority\n\n1. `.worktrees\u002F` (preferred, hidden)\n2. `worktrees\u002F` (alternative)\n3. CLAUDE.md preference (if specified)\n4. Ask user\n\n## Safety Verification\n\nFor project-local directories, **MUST verify is git-ignored:**\n\n```bash\ngit check-ignore -q .worktrees || git check-ignore -q worktrees\n```\n\n**If NOT ignored:** Add to .gitignore, commit, then proceed. Prevents accidentally committing worktree contents.\n\nNo verification needed for global directories (outside project).\n\n## Creation Steps\n\n### 1. Detect project name\n```bash\nproject=$(basename \"$(git rev-parse --show-toplevel)\")\n```\n\n### 2. Create worktree\n```bash\ngit worktree add \"$path\" -b \"$BRANCH_NAME\"\ncd \"$path\"\n```\n\n### 3. Auto-setup\n```bash\n# Node.js: [ -f package.json ] && npm install\n# Rust: [ -f Cargo.toml ] && cargo build\n# Python: [ -f requirements.txt ] && pip install -r requirements.txt\n# Go: [ -f go.mod ] && go mod download\n```\n\n### 4. Verify baseline\nRun project tests. If they fail: report failures, ask whether to proceed.\n\n### 5. Report\n```\nWorktree ready at \u003Cpath>\nTests passing (\u003CN> tests, 0 failures)\nReady to implement \u003Cfeature>\n```\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---|---|\n| Skipping ignore verification | Always `git check-ignore` before creating project-local worktree |\n| Assuming directory location | Follow priority: existing > CLAUDE.md > ask |\n| Proceeding with failing tests | Report, get explicit permission |\n| Hardcoding setup commands | Auto-detect from project files |\n\n## Integration\n\n**Called by:** brainstorm (Phase 4), subagent-driven-development, executing-plans — REQUIRED before executing tasks.\n\nFor detailed examples and reference material, see [REFERENCE.md](REFERENCE.md).\n","# Using Git Worktrees\n\n## Quick Start\n\n1. Check for existing worktree directory (`.worktrees` or `worktrees`)\n2. Verify directory is git-ignored (for project-local)\n3. Create worktree with new branch: `git worktree add \u003Cpath> -b \u003Cbranch>`\n4. Run project setup (auto-detect: npm install, cargo build, etc.)\n5. Verify clean test baseline\n\n**Announce at start:** \"I'm using the using-git-worktrees skill to set up an isolated workspace.\"\n\n## Directory Selection Priority\n\n1. `.worktrees\u002F` (preferred, hidden)\n2. `worktrees\u002F` (alternative)\n3. CLAUDE.md preference (if specified)\n4. Ask user\n\n## Safety Verification\n\nFor project-local directories, **MUST verify is git-ignored:**\n\n```bash\ngit check-ignore -q .worktrees || git check-ignore -q worktrees\n```\n\n**If NOT ignored:** Add to .gitignore, commit, then proceed. Prevents accidentally committing worktree contents.\n\nNo verification needed for global directories (outside project).\n\n## Creation Steps\n\n### 1. Detect project name\n```bash\nproject=$(basename \"$(git rev-parse --show-toplevel)\")\n```\n\n### 2. Create worktree\n```bash\ngit worktree add \"$path\" -b \"$BRANCH_NAME\"\ncd \"$path\"\n```\n\n### 3. Auto-setup\n```bash\n# Node.js: [ -f package.json ] && npm install\n# Rust: [ -f Cargo.toml ] && cargo build\n# Python: [ -f requirements.txt ] && pip install -r requirements.txt\n# Go: [ -f go.mod ] && go mod download\n```\n\n### 4. Verify baseline\nRun project tests. If they fail: report failures, ask whether to proceed.\n\n### 5. Report\n```\nWorktree ready at \u003Cpath>\nTests passing (\u003CN> tests, 0 failures)\nReady to implement \u003Cfeature>\n```\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---|---|\n| Skipping ignore verification | Always `git check-ignore` before creating project-local worktree |\n| Assuming directory location | Follow priority: existing > CLAUDE.md > ask |\n| Proceeding with failing tests | Report, get explicit permission |\n| Hardcoding setup commands | Auto-detect from project files |\n\n## Integration\n\n**Called by:** brainstorm (Phase 4), subagent-driven-development, executing-plans — REQUIRED before executing tasks.\n\nFor detailed examples and reference material, see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"description":7},"037fe34299eb9c4a30b51f1a6bd101eae1c469b1","03-configure-generate\u002Fusing-git-worktrees","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills","https:\u002F\u002Fgithub.com\u002Fr3dlex","2026-10-29 16:22:54",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add r3dlex\u002Fskills --skill using-git-worktrees",{"tool":51,"command":52},"bunx","bunx skills add r3dlex\u002Fskills --skill using-git-worktrees",{"tool":54,"command":55},"pnpm","pnpm dlx skills add r3dlex\u002Fskills --skill using-git-worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fusing-git-worktrees\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"REFERENCE.md","REFERENCE","参考文档",3874,"https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002F03-configure-generate\u002Fusing-git-worktrees\u002FREFERENCE.md",[66,74,87,96,106,129],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":35},"01M6R652E42RZT7M2V3RWW991Z","skill","Fixture.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-malformed\u002Fskill\u002FSKILL.md",[],[73],"fixture",{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":85,"publishedAt":35},"01M6R64MTPF0FGWHFS4DWP40GR","stable-skill","Fixture stable-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fstable-skill\u002FSKILL.md",[80],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[86,73],"stable skill",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":94,"publishedAt":35},"01M6R64HD4QVAYM2R0JSYNVDJW","experimental-skill","Fixture experimental-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fexperimental-skill\u002FSKILL.md",[93],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},[95,73],"experimental skill",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":103,"publishedAt":35},"01M6R64FZH05TEJQW75QX1E5XD","deprecated-skill","Fixture deprecated-skill.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcatalog-lifecycle\u002Fdeprecated-skill\u002FSKILL.md",[102],{"categoryNo":81,"categoryName":82,"taxonomyType":83,"taxonomyTypeDesc":84},[104,105,73],"deprecated skill","deprecated",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":35},"01M6R64D13X5DC980GREWFSSFQ","karpathy-guidelines","Apply think-before-coding, simplicity, surgical-change, and goal-driven engineering rules. Use when planning, implementing, or reviewing code.","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Freference\u002Fgolden-skills\u002F.agents\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[113,114,115,116,31,117,118,119,120,121,122,123,23,124,125,126,127,128],"karpathy guidelines","karpathy","guidelines","Rules","simplicity","goal","think","driven","reviewing code","implementing","apply","coding","change","code","planning","engineering",{"skillNo":130,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":35},"01M6R640ZS60BRV9P49FT46ZJX","https:\u002F\u002Fgithub.com\u002Fr3dlex\u002Fskills\u002Fblob\u002Fmain\u002Freference\u002Fgolden-root\u002F.agents\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[115,113,114,125,120,126,127,128,124,116,31,117,118,119,121,122,123,23]]