[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718XEHFA9X7BJ94XYNC5G49":3,"skill-same:01M718XEHFA9X7BJ94XYNC5G49":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M718XEHFA9X7BJ94XYNC5G49","git-worktree",null,"Create an isolated git worktree for parallel feature work or PR review. Use when starting work that should not disturb the current checkout, or when `gh:work` or `gh:review` offers a worktree option.","wangrenzhu-ola\u002FGaleHarnessCodingCLI","wangrenzhu-ola","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113888128?v=4","01M718T5C0YYVP4Z7F4SH1MCHM","王韧竹(Bamboo Wang\u002F雪落)","01M718T5CN5T80VWXEWPK25PDQ",2,"MIT","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-worktree\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"worktree","git","git worktree","offers","manager","work","create","review","Bash","when","use","gh","option","for","pr review","feature","checkout","gh:review","pr","parallel","2026-11-10 10:12:30",false,"---\nname: git-worktree\ndescription: Create an isolated git worktree for parallel feature work or PR review. Use when starting work that should not disturb the current checkout, or when `gh:work` or `gh:review` offers a worktree option.\nallowed-tools: Bash(bash *worktree-manager.sh)\n---\n\n# Worktree Creation\n\nCreate a worktree under `.worktrees\u002F\u003Cbranch>` with branch-specific setup that `git worktree add` alone does not handle:\n\n- Copies `.env`, `.env.local`, `.env.test`, etc. from the main repo (skips `.env.example`)\n- Trusts `mise`\u002F`direnv` configs, with branch-aware safety rules so review branches do not auto-grant trust to untrusted `.envrc` content\n- Adds `.worktrees` to `.gitignore` if not already ignored\n- Does not modify the main repo checkout — `from-branch` is fetched, not checked out\n\n## Creating a worktree\n\nInvoke the bundled script via the runtime Bash tool. On Claude Code, `${CLAUDE_SKILL_DIR}` resolves to the skill's own directory across both marketplace-cached installs and `claude --plugin-dir` local development; the runtime Bash tool's CWD is the user's project, not the skill directory, so a bare `bash scripts\u002Fworktree-manager.sh` fails. On other targets (Codex, Gemini, Pi, etc.) `${CLAUDE_SKILL_DIR}` is unset and the `:-.` fallback yields the bare relative path those harnesses expect.\n\n```bash\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create \u003Cbranch-name> [from-branch]\n```\n\nDefaults:\n- `from-branch` defaults to origin's default branch (or `main` if that cannot be resolved)\n- The new branch is created at `origin\u002F\u003Cfrom-branch>` (or the local ref if the remote is unavailable)\n\nExamples:\n```bash\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create feat\u002Flogin\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create fix\u002Femail-validation develop\n```\n\nAfter creation, switch to the worktree with `cd .worktrees\u002F\u003Cbranch-name>`.\n\n## Other worktree operations\n\nUse `git` directly — no wrapper is needed and none is provided:\n\n```bash\ngit worktree list                          # list worktrees\ngit worktree remove .worktrees\u002F\u003Cbranch>    # remove a worktree\ncd .worktrees\u002F\u003Cbranch>                     # switch to a worktree\ncd \"$(git rev-parse --show-toplevel)\"      # return to main checkout\n```\n\nTo copy `.env*` files into an existing worktree created without them, run this from the main repo (not from inside the worktree, since branch names often contain slashes like `feat\u002Flogin`):\n```bash\ncp .env* .worktrees\u002F\u003Cbranch>\u002F\n```\n\n## Dev tool trust behavior\n\nWhen mise or direnv configs are present, the script attempts to trust them so hooks and scripts do not block on interactive prompts. Trust is baseline-checked against a reference branch:\n\n- **Trusted base branches** (`main`, `develop`, `dev`, `trunk`, `staging`, `release\u002F*`): the new worktree's configs are compared against that branch; unchanged configs are auto-trusted. `direnv allow` is permitted.\n- **Other branches** (feature branches, PR review branches): configs are compared against the default branch; `direnv allow` is skipped regardless, because `.envrc` can source files that direnv does not validate.\n\nModified configs are never auto-trusted. The script prints the manual trust command to run after review.\n\n## When to create a worktree\n\nCreate a worktree when:\n- Reviewing a PR while keeping the main checkout free for other work\n- Running multiple features in parallel without branch-switching overhead\n- Keeping the default branch free of in-progress state\n\nDo not create a worktree for single-task work that can happen on a branch in the main checkout.\n\n## Integration\n\n`gh:work` and `gh:review` offer this skill as an option. When the user selects \"worktree\" in those flows, invoke `bash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create \u003Cbranch>` with a meaningful branch name derived from the work description (e.g., `feat\u002Fcrowd-sniff`, `fix\u002Femail-validation`). Avoid auto-generated names like `worktree-jolly-beaming-raven` that obscure the work.\n\n## Troubleshooting\n\n**\"Worktree already exists\"**: the path is already in use. Either switch to it (`cd .worktrees\u002F\u003Cbranch>`) or remove it (`git worktree remove .worktrees\u002F\u003Cbranch>`) before recreating.\n\n**\"Cannot remove worktree: it is the current worktree\"**: `cd` out of the worktree first, then `git worktree remove`.\n\n**Dev tool trust was skipped**: the script prints the manual command. Review the config diff (`git diff \u003Cbase-ref> -- .envrc`), then run the printed command from the worktree directory.\n","# Worktree Creation\n\nCreate a worktree under `.worktrees\u002F\u003Cbranch>` with branch-specific setup that `git worktree add` alone does not handle:\n\n- Copies `.env`, `.env.local`, `.env.test`, etc. from the main repo (skips `.env.example`)\n- Trusts `mise`\u002F`direnv` configs, with branch-aware safety rules so review branches do not auto-grant trust to untrusted `.envrc` content\n- Adds `.worktrees` to `.gitignore` if not already ignored\n- Does not modify the main repo checkout — `from-branch` is fetched, not checked out\n\n## Creating a worktree\n\nInvoke the bundled script via the runtime Bash tool. On Claude Code, `${CLAUDE_SKILL_DIR}` resolves to the skill's own directory across both marketplace-cached installs and `claude --plugin-dir` local development; the runtime Bash tool's CWD is the user's project, not the skill directory, so a bare `bash scripts\u002Fworktree-manager.sh` fails. On other targets (Codex, Gemini, Pi, etc.) `${CLAUDE_SKILL_DIR}` is unset and the `:-.` fallback yields the bare relative path those harnesses expect.\n\n```bash\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create \u003Cbranch-name> [from-branch]\n```\n\nDefaults:\n- `from-branch` defaults to origin's default branch (or `main` if that cannot be resolved)\n- The new branch is created at `origin\u002F\u003Cfrom-branch>` (or the local ref if the remote is unavailable)\n\nExamples:\n```bash\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create feat\u002Flogin\nbash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create fix\u002Femail-validation develop\n```\n\nAfter creation, switch to the worktree with `cd .worktrees\u002F\u003Cbranch-name>`.\n\n## Other worktree operations\n\nUse `git` directly — no wrapper is needed and none is provided:\n\n```bash\ngit worktree list                          # list worktrees\ngit worktree remove .worktrees\u002F\u003Cbranch>    # remove a worktree\ncd .worktrees\u002F\u003Cbranch>                     # switch to a worktree\ncd \"$(git rev-parse --show-toplevel)\"      # return to main checkout\n```\n\nTo copy `.env*` files into an existing worktree created without them, run this from the main repo (not from inside the worktree, since branch names often contain slashes like `feat\u002Flogin`):\n```bash\ncp .env* .worktrees\u002F\u003Cbranch>\u002F\n```\n\n## Dev tool trust behavior\n\nWhen mise or direnv configs are present, the script attempts to trust them so hooks and scripts do not block on interactive prompts. Trust is baseline-checked against a reference branch:\n\n- **Trusted base branches** (`main`, `develop`, `dev`, `trunk`, `staging`, `release\u002F*`): the new worktree's configs are compared against that branch; unchanged configs are auto-trusted. `direnv allow` is permitted.\n- **Other branches** (feature branches, PR review branches): configs are compared against the default branch; `direnv allow` is skipped regardless, because `.envrc` can source files that direnv does not validate.\n\nModified configs are never auto-trusted. The script prints the manual trust command to run after review.\n\n## When to create a worktree\n\nCreate a worktree when:\n- Reviewing a PR while keeping the main checkout free for other work\n- Running multiple features in parallel without branch-switching overhead\n- Keeping the default branch free of in-progress state\n\nDo not create a worktree for single-task work that can happen on a branch in the main checkout.\n\n## Integration\n\n`gh:work` and `gh:review` offer this skill as an option. When the user selects \"worktree\" in those flows, invoke `bash \"${CLAUDE_SKILL_DIR:-.}\u002Fscripts\u002Fworktree-manager.sh\" create \u003Cbranch>` with a meaningful branch name derived from the work description (e.g., `feat\u002Fcrowd-sniff`, `fix\u002Femail-validation`). Avoid auto-generated names like `worktree-jolly-beaming-raven` that obscure the work.\n\n## Troubleshooting\n\n**\"Worktree already exists\"**: the path is already in use. Either switch to it (`cd .worktrees\u002F\u003Cbranch>`) or remove it (`git worktree remove .worktrees\u002F\u003Cbranch>`) before recreating.\n\n**\"Cannot remove worktree: it is the current worktree\"**: `cd` out of the worktree first, then `git worktree remove`.\n\n**Dev tool trust was skipped**: the script prints the manual command. Review the config diff (`git diff \u003Cbase-ref> -- .envrc`), then run the printed command from the worktree directory.\n",{"name":5,"description":7,"allowed-tools":44},"Bash(bash *worktree-manager.sh)","main","adde77e5116dc3a65ca3385f7d19d086cd10a74c","plugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-worktree",1,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola","2026-06-13 09:21:37",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-worktree",{"tool":58,"command":59},"bunx","bunx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-worktree",{"tool":61,"command":62},"pnpm","pnpm dlx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-worktree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-worktree\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fworktree-manager.sh","SCRIPT","脚本",7638,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-worktree\u002Fscripts\u002Fworktree-manager.sh",[73,83,95,106,114,122],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M718XZ8QAQPM8BS5K9M2YQTJ","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[],[80,81,82],"skill one","sample skill","sample",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":39},"01M718XYEEENP5G592XVQ6MGVR","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[90,91,92,93,94],"disabled skill","with","with model","true","model",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":39},"01M718XXNH8T61H0EJE0BHE593","claude-only-skill","A skill restricted to Claude Code only","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fclaude-only-skill\u002FSKILL.md",[],[102,103,104,105],"only","claude only skill","claude only","code",{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":39},"01M718XWMPEPBWHC05JNGKSEF0","default-skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[112,113],"default skill","default",{"skillNo":115,"name":116,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M718XVZXW8CXYBNQZPJPNB6B","custom-skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[120,121],"custom","custom skill",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M718XT6P96FVR69X0EEKK2N6","test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP. Use after making iOS code changes, before creating a PR, or when verifying app behavior and checking for crashes on simulator.","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[],[129,130,131,132,133,134,37,32,113,93,135,29,136,28,105,137,138,139,140,141],"test","xcode","test xcode","apps","app","build and test","xcodebuildmcp","scheme","changes","build","ios","name","behavior"]