[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M754VZN0DXHXG4Z8DAWB60CT":3,"skill-same:01M754VZN0DXHXG4Z8DAWB60CT":62},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":51},"01M754VZN0DXHXG4Z8DAWB60CT","x-manage-worktrees",null,"Manages git worktrees for parallel task and story execution. Operations: create, list, remove, cleanup, detect-context. Follows Rule 14 (Worktree Lifecycle) naming convention under .claude\u002Fworktrees\u002F{identifier}\u002F.","review-bench\u002Federcnj_ia-dev-environment","review-bench","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286778065?v=4","01M7517F9NTEPDZDAXJBR30FWT","ReviewBench","01M7517FAC9F4P7TGWCNJ8VYVW",0,"MIT","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-manage-worktrees\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: x-manage-worktrees\nmodel: haiku\ndescription: \"Manages git worktrees for parallel task and story execution. Operations: create, list, remove, cleanup, detect-context. Follows Rule 14 (Worktree Lifecycle) naming convention under .claude\u002Fworktrees\u002F{identifier}\u002F.\"\nuser-invocable: true\nallowed-tools: Bash, Read\nargument-hint: \"\u003Ccreate|list|remove|cleanup|detect-context> [--branch \u003Cname>] [--base \u003Cbase>] [--id \u003Cidentifier>] [--dry-run]\"\ncontext-budget: light\nrequires-capabilities: []\n---\n\n## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n## Triggers\n\n```\n\u002Fx-manage-worktrees create --branch feat\u002Ftask-0049-0001-001-domain [--base develop] [--id task-0049-0001-001]\n\u002Fx-manage-worktrees list\n\u002Fx-manage-worktrees remove --id task-0049-0001-001\n\u002Fx-manage-worktrees cleanup [--dry-run]\n\u002Fx-manage-worktrees detect-context\n```\n\n## Parameters\n\n| Operation | Parameter | Type | Required | Default | Description |\n|-----------|-----------|------|----------|---------|-------------|\n| `create` | `--branch` | string | Yes | — | Branch name for the worktree |\n| `create` | `--base` | string | No | `develop` | Base branch to create the new branch from |\n| `create` | `--id` | string | No | derived from branch (strips `feat\u002F`, `fix\u002F`, `hotfix\u002F`, `refactor\u002F` prefixes) | Worktree directory identifier |\n| `remove` | `--id` | string | Yes | — | Worktree identifier to remove |\n| `cleanup` | `--dry-run` | boolean | No | `false` | Preview candidates without removing |\n| `detect-context` | (none) | — | — | — | Returns JSON: `{inWorktree, worktreePath, mainRepoPath}` |\n\nAll worktrees are placed under `.claude\u002Fworktrees\u002F{identifier}\u002F`. Protected branches (`main`, `develop`) cannot host worktrees. Creator-owns-removal invariant enforced per Rule 14 §5 — only the skill that called `create` may call `remove` for the same worktree.\n\n## Output Contract\n\n| Operation | Output |\n|-----------|--------|\n| `create` | Prints absolute worktree path on success; exits 1 on protected branch or conflict |\n| `list` | Markdown table: ID, Branch, Status (`ACTIVE`\u002F`STALE`\u002F`MERGED`\u002F`ORPHAN`), Last Commit, Age |\n| `remove` | Confirmation message on success; exits 1 if `--id` not found |\n| `cleanup` | Summary table of removed worktrees; `--dry-run` prints candidates only |\n| `detect-context` | Single-line JSON: `{\"inWorktree\":bool,\"worktreePath\":string|null,\"mainRepoPath\":string}` |\n\n**detect-context** is read-only and safe to call from any context — used by orchestrators to decide REUSE | CREATE | LEGACY branching (Rule 14 §3 Non-Nesting Invariant).\n\n## Error Envelope\n\n| Code | Condition | Message |\n|------|-----------|---------|\n| `PROTECTED_BRANCH` | `create` on `main` or `develop` | `Cannot create worktree on protected branch (\u003Cname>)` |\n| `BRANCH_CONFLICT` | Branch already checked out in another worktree | `Branch '\u003Cname>' is already an active worktree` |\n| `WORKTREE_EXISTS` | Target directory already exists | `Worktree directory already exists: .claude\u002Fworktrees\u002F\u003Cid>` |\n| `NOT_FOUND` | `remove --id` not found | `Worktree '\u003Cid>' not found` |\n| `GIT_ADD_FAILED` | `git worktree add` non-zero | Git error detail; suggest manual cleanup |\n| `GIT_REMOVE_FAILED` | `git worktree remove` non-zero (retried with `--force`) | Git error detail |\n| `NOT_A_REPO` | `detect-context` run outside a git repo | `{\"error\":\"NOT_A_REPO\"}` to stderr; exit 1 |\n| `NO_OBSOLETE` | `cleanup` finds nothing | `No obsolete worktrees found` (informational, exit 0) |\n\n## Full Protocol\n\n> Complete per-operation Bash implementations (create 7-step workflow, list status classification, cleanup criteria — MERGED\u002FSTALE\u002FORPHAN, detect-context canonical snippet with CWE-116\u002FCWE-209 hardening and JSON-escape), Git Flow integration table (task\u002Fstory\u002Fhotfix base-branch rules), post-merge lifecycle, naming convention derivation, and Integration Notes (x-implement-epic\u002Fx-implement-story\u002Fx-implement-task callers) in [`references\u002Ffull-protocol.md`](references\u002Ffull-protocol.md).\n","## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n## Triggers\n\n```\n\u002Fx-manage-worktrees create --branch feat\u002Ftask-0049-0001-001-domain [--base develop] [--id task-0049-0001-001]\n\u002Fx-manage-worktrees list\n\u002Fx-manage-worktrees remove --id task-0049-0001-001\n\u002Fx-manage-worktrees cleanup [--dry-run]\n\u002Fx-manage-worktrees detect-context\n```\n\n## Parameters\n\n| Operation | Parameter | Type | Required | Default | Description |\n|-----------|-----------|------|----------|---------|-------------|\n| `create` | `--branch` | string | Yes | — | Branch name for the worktree |\n| `create` | `--base` | string | No | `develop` | Base branch to create the new branch from |\n| `create` | `--id` | string | No | derived from branch (strips `feat\u002F`, `fix\u002F`, `hotfix\u002F`, `refactor\u002F` prefixes) | Worktree directory identifier |\n| `remove` | `--id` | string | Yes | — | Worktree identifier to remove |\n| `cleanup` | `--dry-run` | boolean | No | `false` | Preview candidates without removing |\n| `detect-context` | (none) | — | — | — | Returns JSON: `{inWorktree, worktreePath, mainRepoPath}` |\n\nAll worktrees are placed under `.claude\u002Fworktrees\u002F{identifier}\u002F`. Protected branches (`main`, `develop`) cannot host worktrees. Creator-owns-removal invariant enforced per Rule 14 §5 — only the skill that called `create` may call `remove` for the same worktree.\n\n## Output Contract\n\n| Operation | Output |\n|-----------|--------|\n| `create` | Prints absolute worktree path on success; exits 1 on protected branch or conflict |\n| `list` | Markdown table: ID, Branch, Status (`ACTIVE`\u002F`STALE`\u002F`MERGED`\u002F`ORPHAN`), Last Commit, Age |\n| `remove` | Confirmation message on success; exits 1 if `--id` not found |\n| `cleanup` | Summary table of removed worktrees; `--dry-run` prints candidates only |\n| `detect-context` | Single-line JSON: `{\"inWorktree\":bool,\"worktreePath\":string|null,\"mainRepoPath\":string}` |\n\n**detect-context** is read-only and safe to call from any context — used by orchestrators to decide REUSE | CREATE | LEGACY branching (Rule 14 §3 Non-Nesting Invariant).\n\n## Error Envelope\n\n| Code | Condition | Message |\n|------|-----------|---------|\n| `PROTECTED_BRANCH` | `create` on `main` or `develop` | `Cannot create worktree on protected branch (\u003Cname>)` |\n| `BRANCH_CONFLICT` | Branch already checked out in another worktree | `Branch '\u003Cname>' is already an active worktree` |\n| `WORKTREE_EXISTS` | Target directory already exists | `Worktree directory already exists: .claude\u002Fworktrees\u002F\u003Cid>` |\n| `NOT_FOUND` | `remove --id` not found | `Worktree '\u003Cid>' not found` |\n| `GIT_ADD_FAILED` | `git worktree add` non-zero | Git error detail; suggest manual cleanup |\n| `GIT_REMOVE_FAILED` | `git worktree remove` non-zero (retried with `--force`) | Git error detail |\n| `NOT_A_REPO` | `detect-context` run outside a git repo | `{\"error\":\"NOT_A_REPO\"}` to stderr; exit 1 |\n| `NO_OBSOLETE` | `cleanup` finds nothing | `No obsolete worktrees found` (informational, exit 0) |\n\n## Full Protocol\n\n> Complete per-operation Bash implementations (create 7-step workflow, list status classification, cleanup criteria — MERGED\u002FSTALE\u002FORPHAN, detect-context canonical snippet with CWE-116\u002FCWE-209 hardening and JSON-escape), Git Flow integration table (task\u002Fstory\u002Fhotfix base-branch rules), post-merge lifecycle, naming convention derivation, and Integration Notes (x-implement-epic\u002Fx-implement-story\u002Fx-implement-task callers) in [`references\u002Ffull-protocol.md`](references\u002Ffull-protocol.md).\n",{"name":5,"model":24,"description":7,"allowed-tools":25,"argument-hint":26,"context-budget":27,"user-invocable":28,"requires-capabilities":29},"haiku","Bash, Read","\u003Ccreate|list|remove|cleanup|detect-context> [--branch \u003Cname>] [--base \u003Cbase>] [--id \u003Cidentifier>] [--dry-run]","light",true,[],"main","952a630c6f38d193a349d86fa18db1de8843e837","src\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-manage-worktrees",1,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment","https:\u002F\u002Fgithub.com\u002Freview-bench","https:\u002F\u002Freview-bench.ai","An open benchmark for AI code review.","2026-10-27 06:56:37",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":28},[41,44,47],{"tool":42,"command":43},"npx","npx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-manage-worktrees",{"tool":45,"command":46},"bunx","bunx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-manage-worktrees",{"tool":48,"command":49},"pnpm","pnpm dlx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-manage-worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-manage-worktrees\u002FSKILL.md",[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"README.md","REFERENCE","参考文档",1989,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-manage-worktrees\u002FREADME.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Ffull-protocol.md",7213,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-manage-worktrees\u002Freferences\u002Ffull-protocol.md",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M757M8J48TQ1Y3X25GSJBXAS","x-parallel-eval","Detects and classifies file-collision risks between work units (tasks, stories, or epic phases) before parallel execution. Reads ## File Footprint blocks produced by x-task-plan \u002F x-story-plan, applies the parallelism-heuristics knowledge pack (hard \u002F regen \u002F soft categories + hotspot overrides), and emits a collision matrix + serialization recommendation in Markdown (default) or JSON.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fx-parallel-eval\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M757M57XMR9546S69466HDWT","parallelism-heuristics","Canonical catalog of file-collision heuristics for parallel task, story, and epic execution. Defines the File Footprint block format, the three Conflict Categories (hard \u002F regen \u002F soft), a hotspot list of high-contention paths, and the degrade-with-warning policy. Consumed by x-task-plan, x-story-plan, x-epic-map, x-parallel-eval, and x-dev-*-implement.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fparallelism-heuristics\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M757M11SZ8P1VCQABT08QVYA","x-watch-pr-ci","Polls a PR's CI checks and Copilot review status, blocking until checks complete or timeout. Returns one of 8 stable exit codes (SUCCESS=0, CI_PENDING_PROCEED=10, CI_FAILED=20, TIMEOUT=30, PR_ALREADY_MERGED=40, NO_CI_CONFIGURED=50, PR_CLOSED=60, PR_NOT_FOUND=70). Writes a versioned state-file for session resume.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-watch-pr-ci\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M757KW53K8KFPGADFB4PH949","x-validate-docs","Documentation freshness gate: validates 6 dimensions (readme, api-specs, grpc-proto, adr, skill-docs, system-architecture) against code changes in a PR. Stack-aware — only validates targets declared\u002Fauto-detected from ProjectConfig.documentation.targets. Returns exit non-zero on staleness; produces structured report.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-validate-docs\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M757KQZHSA10MKC0CR571D60","x-update-system-architecture","Incrementally updates docs\u002Farchitecture\u002Fsystem.md after an epic completes. Appends new entries to the Decision Log (§11) using x-internal-write-report --append (dedup by ## ID: marker) and surgically inserts component\u002Fintegration changes into sections 1-10 via Edit. Idempotent: re-running with the same epic produces a byte-identical system.md.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-system-architecture\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M757KKBT5Q1SVF8DMJBVF46M","x-update-architecture","Incrementally updates the service architecture document with changes from architecture plans. Adds new components, integrations, flows, and ADR references without rewriting existing content. Use after implementation to keep architecture documentation current.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-architecture\u002FSKILL.md",[],[]]