[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDH5P7MGCCGRY2RRRMMBQM":3,"skill-same:01M7DDH5P7MGCCGRY2RRRMMBQM":49},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DDH5P7MGCCGRY2RRRMMBQM","git-worktree",null,"Create, list, inspect, and remove git worktrees in an isolated sibling directory so each agent session works in its own repo context. Use when the user wants to \"create a worktree\", \"spin up a worktree\", \"work on a PR in isolation\", \"check out PR#N in a worktree\", \"list\u002Fclean up worktrees\", \"parallel branch workspace\", or \"isolated workspace for a feature\". Triggers on \"worktree\", \"git worktree\", \"isolated checkout\", \"sibling workspace\", \"parallel feature branch\". Do NOT use for general push\u002Fmerge\u002Ffetch\u002FPR-lifecycle git work (use the `git` skill), for plain branch creation without a separate directory, or for a single simple commit (use `commit`).","AgentParadise\u002Fagentic-workspace","AgentParadise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242330113?v=4","01M6C52MXXSE01NH5GKMC3N7JA","01M7DDFCPP7TW5GGJZYGFPKMK2",0,"MIT","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fgit-worktree\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: git-worktree\ndescription: Create, list, inspect, and remove git worktrees in an isolated sibling directory so each agent session works in its own repo context. Use when the user wants to \"create a worktree\", \"spin up a worktree\", \"work on a PR in isolation\", \"check out PR#N in a worktree\", \"list\u002Fclean up worktrees\", \"parallel branch workspace\", or \"isolated workspace for a feature\". Triggers on \"worktree\", \"git worktree\", \"isolated checkout\", \"sibling workspace\", \"parallel feature branch\". Do NOT use for general push\u002Fmerge\u002Ffetch\u002FPR-lifecycle git work (use the `git` skill), for plain branch creation without a separate directory, or for a single simple commit (use `commit`).\n---\n\n# Git Worktree\n\n## When to Use (and When NOT to Use)\n\nUse when:\n- You want a feature branch to live in its own directory so the current workspace stays untouched (parallel agent sessions, long-running experiments).\n- You need to check out a PR's branch in isolation to test or build on it.\n- You want to list, inspect (branch \u002F changes \u002F ahead-behind \u002F PR), or clean up existing worktrees.\n\nDo NOT use when:\n- The operation is push, merge, fetch, or PR lifecycle — use the `git` skill.\n- You just need a new branch in the same directory — `git checkout -b` is enough.\n- You are committing staged changes — use `commit`.\n\n## Input\n\n- A git repository (the script resolves the toplevel itself).\n- For `create`: a name, branch ref, or PR reference. Optional explicit branch and base branch.\n- For `create`\u002F`status` from a PR: `gh` authenticated for the repo (optional — falls back gracefully).\n\n## Workflow\n\nAll actions are driven by the bundled script, which enforces the sibling-directory layout and `YYYYMMDD_\u003Ckebab-case>` naming. Pass the user's arguments straight through:\n\n```bash\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-worktree\u002Fscripts\u002Fworktree.sh \u003Caction> [name] [branch] [base-branch]\n```\n\n1. **Parse intent into an action.** Map the request to one of `create`, `list`, `status`, `remove`. If ambiguous, ask which.\n2. **Run the script** with the parsed arguments. It handles base-branch auto-detection (`origin\u002FHEAD`), PR-ref lookup via `gh`, branch-prefix stripping for clean directory names, and existing-branch reuse (remote → local → new).\n3. **For `remove`, confirm the target first** when the user gave a partial or fuzzy name — the script force-removes and prunes, which is hard to undo. It refuses ambiguous fuzzy matches and warns about uncommitted changes before removing, but still show `list` output and confirm before running.\n4. **Report** the resulting path and branch. After `create`, tell the user to `cd` into the printed path to start working.\n\nInput parsing the script applies on `create`:\n- `PR#42` \u002F `#42` → resolves the PR's head via `gh`, fetches `pull\u002F42\u002Fhead` into a local branch (works for fork PRs too), dir becomes `YYYYMMDD_\u003Cbranch-without-prefix>`.\n- `feat\u002Ffoo` (or `fix\u002F`, `chore\u002F`, `hotfix\u002F`, `release\u002F`) → uses it as the branch, strips the prefix for the dir name.\n- Plain text → kebab-cased as both dir slug and (by default) branch name.\n\n## Output\n\n- A worktree directory under `..\u002F\u003Crepo>_worktrees\u002F` (on `create`), or a removed\u002Flisted\u002Finspected worktree.\n- Plain-text status to stdout; exit `0` on success, `1` on failure.\n- No commits, no pushes — worktrees share the repo's `.git`, so all branches are visible across them.\n\n## Outcomes we are looking for\n\n- **Each agent session is isolated.** Concurrent work happens in separate directories with no checkout thrash on the main workspace.\n- **Worktree names are predictable.** Every directory is `YYYYMMDD_\u003Ckebab-case>`, so listings sort chronologically and never collide with the repo itself.\n\n## Recommended tools and practices (as of 2026-06-08)\n\n### For: each agent session is isolated\n- **Keep worktrees as siblings, never nested inside the repo.** The script enforces `..\u002F\u003Crepo>_worktrees\u002F`; a worktree inside the repo confuses tooling and git status.\n- **One worktree per concurrent task.** Pairs with parallel-agent dispatch — each agent gets its own directory and branch.\n\n### For: predictable, low-friction cleanup\n- **Remove worktrees when the branch merges.** Use `remove`, then verify with `list`; the script prunes stale metadata automatically.\n- **Use `status` before cleanup** to spot uncommitted changes or unmerged commits in a worktree you are about to delete.\n\n## References\n\n- `scripts\u002Fworktree.sh`: the executable that performs all four actions. Self-contained; safe to run directly.\n- The `git` skill (same plugin) covers push \u002F merge \u002F fetch \u002F PR lifecycle and cross-references this skill for worktree work.\n","# Git Worktree\n\n## When to Use (and When NOT to Use)\n\nUse when:\n- You want a feature branch to live in its own directory so the current workspace stays untouched (parallel agent sessions, long-running experiments).\n- You need to check out a PR's branch in isolation to test or build on it.\n- You want to list, inspect (branch \u002F changes \u002F ahead-behind \u002F PR), or clean up existing worktrees.\n\nDo NOT use when:\n- The operation is push, merge, fetch, or PR lifecycle — use the `git` skill.\n- You just need a new branch in the same directory — `git checkout -b` is enough.\n- You are committing staged changes — use `commit`.\n\n## Input\n\n- A git repository (the script resolves the toplevel itself).\n- For `create`: a name, branch ref, or PR reference. Optional explicit branch and base branch.\n- For `create`\u002F`status` from a PR: `gh` authenticated for the repo (optional — falls back gracefully).\n\n## Workflow\n\nAll actions are driven by the bundled script, which enforces the sibling-directory layout and `YYYYMMDD_\u003Ckebab-case>` naming. Pass the user's arguments straight through:\n\n```bash\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fgit-worktree\u002Fscripts\u002Fworktree.sh \u003Caction> [name] [branch] [base-branch]\n```\n\n1. **Parse intent into an action.** Map the request to one of `create`, `list`, `status`, `remove`. If ambiguous, ask which.\n2. **Run the script** with the parsed arguments. It handles base-branch auto-detection (`origin\u002FHEAD`), PR-ref lookup via `gh`, branch-prefix stripping for clean directory names, and existing-branch reuse (remote → local → new).\n3. **For `remove`, confirm the target first** when the user gave a partial or fuzzy name — the script force-removes and prunes, which is hard to undo. It refuses ambiguous fuzzy matches and warns about uncommitted changes before removing, but still show `list` output and confirm before running.\n4. **Report** the resulting path and branch. After `create`, tell the user to `cd` into the printed path to start working.\n\nInput parsing the script applies on `create`:\n- `PR#42` \u002F `#42` → resolves the PR's head via `gh`, fetches `pull\u002F42\u002Fhead` into a local branch (works for fork PRs too), dir becomes `YYYYMMDD_\u003Cbranch-without-prefix>`.\n- `feat\u002Ffoo` (or `fix\u002F`, `chore\u002F`, `hotfix\u002F`, `release\u002F`) → uses it as the branch, strips the prefix for the dir name.\n- Plain text → kebab-cased as both dir slug and (by default) branch name.\n\n## Output\n\n- A worktree directory under `..\u002F\u003Crepo>_worktrees\u002F` (on `create`), or a removed\u002Flisted\u002Finspected worktree.\n- Plain-text status to stdout; exit `0` on success, `1` on failure.\n- No commits, no pushes — worktrees share the repo's `.git`, so all branches are visible across them.\n\n## Outcomes we are looking for\n\n- **Each agent session is isolated.** Concurrent work happens in separate directories with no checkout thrash on the main workspace.\n- **Worktree names are predictable.** Every directory is `YYYYMMDD_\u003Ckebab-case>`, so listings sort chronologically and never collide with the repo itself.\n\n## Recommended tools and practices (as of 2026-06-08)\n\n### For: each agent session is isolated\n- **Keep worktrees as siblings, never nested inside the repo.** The script enforces `..\u002F\u003Crepo>_worktrees\u002F`; a worktree inside the repo confuses tooling and git status.\n- **One worktree per concurrent task.** Pairs with parallel-agent dispatch — each agent gets its own directory and branch.\n\n### For: predictable, low-friction cleanup\n- **Remove worktrees when the branch merges.** Use `remove`, then verify with `list`; the script prunes stale metadata automatically.\n- **Use `status` before cleanup** to spot uncommitted changes or unmerged commits in a worktree you are about to delete.\n\n## References\n\n- `scripts\u002Fworktree.sh`: the executable that performs all four actions. Self-contained; safe to run directly.\n- The `git` skill (same plugin) covers push \u002F merge \u002F fetch \u002F PR lifecycle and cross-references this skill for worktree work.\n",{"name":5,"description":7},"main","8341ffb3b4128f405d0797b5f3f3affb25de91ea","plugins\u002Fsdlc\u002Fskills\u002Fgit-worktree","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace","https:\u002F\u002Fgithub.com\u002FAgentParadise","2026-11-09 13:31:42",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add AgentParadise\u002Fagentic-workspace --skill git-worktree",{"tool":35,"command":36},"bunx","bunx skills add AgentParadise\u002Fagentic-workspace --skill git-worktree",{"tool":38,"command":39},"pnpm","pnpm dlx skills add AgentParadise\u002Fagentic-workspace --skill git-worktree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fgit-worktree\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"scripts\u002Fworktree.sh","SCRIPT","脚本",8233,"https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fgit-worktree\u002Fscripts\u002Fworktree.sh",[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M7DDJG3VACD4G63HQ3WWDTV5","testing-expert","Expert knowledge for analyzing testing architecture and planning improvements","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Ftesting-expert\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7DDJ3Z86RTM7YBDFF4QED1A","security-hardening","Audit and harden repository security — supply chain, CI\u002FCD scanners, secrets, credentials","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fsecurity-hardening\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7DDHZY3KRZ1PM4YTVR8Y5B5","review","Review implementation against project plan and verify completeness","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7DDHVFQK785K8Z7HX5GRN4A","qa-setup","Verify or create standardized QA commands for polyglot projects","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fqa-setup\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7DDHSD25FQ20METGDRWAWED","prioritize","Prioritize review comments by severity","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fprioritize\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7DDHPHRVKHR1TZBYNSTA0XX","pre-commit-qa","Run standardized QA checks before committing changes","https:\u002F\u002Fgithub.com\u002FAgentParadise\u002Fagentic-workspace\u002Fblob\u002Fmain\u002Fplugins\u002Fsdlc\u002Fskills\u002Fpre-commit-qa\u002FSKILL.md",[],[]]