[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M723V22QK0R2VJ4HA74PRRW5":3,"skill-same:01M723V22QK0R2VJ4HA74PRRW5":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M723V22QK0R2VJ4HA74PRRW5","using-git-worktrees",null,"OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.","arbiterForge\u002FcodeArbiter","arbiterForge","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F292945970?v=4","01M723CJ1FZ9YBVA7XXT0NJESP","01M723CJ23SYBFFTGBA7Q63BKH",153,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: using-git-worktrees\ndescription: OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.\ndisable-model-invocation: true\n---\n\n# using-git-worktrees\n\nOPTIONAL. Per-task filesystem isolation for parallel agent work — opt-in only, never the default path.\nRouted to by `subagent-driven-development` and `dispatching-parallel-agents` when, and only when, the\ncaller requests isolation. If no isolation is requested, this skill does not run; parallel units share\nthe working tree under their own discipline.\n\nIsolation lets concurrent units edit files without collision. It changes\nnothing about the gates — the consolidated work still clears `commit-gate` and the single\n`finishing-a-development-branch` terminal step, run by the caller. What it MUST NOT do is multiply\nthat terminal step into one PR per unit.\n\n## Pre-flight\n\nRead these, or STOP and surface the gap — never guess:\n\n- `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002FCONTEXT.md` — confirm the repo is a git repo and the base\u002Fworking branch.\n- The discovered authoritative spec\u002Fplan pair for the caller's pipeline. Use its\n  exact selected plan for the parallel unit list. Re-run the private bridge resolver\n  `_resolve_workflow_pair` with the trusted project root and pipeline slug rather\n  than reconstructing either path. For an HTML pair, load\n  `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fartifacts.md` and obtain\n  HTML task and path records only through the installed engine `identity`, `index`, and symbol-scoped `read`\n  operations. For a Markdown pair, use its existing Markdown task table. Worktree\n  planning must not create, convert, or consult a counterpart.\n\nConfirm the caller selected isolation within its current authorized scope AND supplied the parallel unit list\nfrom the exact selected plan. Absent either, do not stand up worktrees. A selected isolation method is\nnot new authority to discard a branch or worktree.\n\n## Phase 1 — Provision · gate: BLOCK\n\nStand up one worktree per parallel unit. For each unit, create a worktree on a fresh branch off the\ncurrent base, under a dedicated parent directory outside the main working tree\n(e.g. `..\u002F.codearbiter-worktrees\u002F\u003Cslug>`):\n\n- One worktree, one branch, one unit. Never share a worktree across units.\n- Branch name MUST be unique and traceable to its unit's task ID.\n- Retain the integration owner, base, branch, path ownership and each worktree path in the existing handoff record; update `.codearbiter\u002F.worktrees.json` where that scratch manifest is already supported. Do not introduce a mandatory new schema to make ordinary isolation possible.\n\nBefore provisioning, inventory dirty inputs relevant to each unit and record each path's SHA-256 or\nabsence. A fresh worktree does not contain uncommitted caller bytes. If a dirty input overlaps a\nunit-owned path, stop: the unit cannot safely distinguish caller work from its own delta. Otherwise,\nreproduce it only as a read-only baseline, verify its hash before and after unit work, and exclude it\nfrom the unit index and commits. Recheck the caller copy is still byte-identical before fold-back.\nPreserve unrelated dirty paths by leaving them untouched.\n\nGate: every unit has a distinct worktree on a distinct branch, all rooted at the same verified base and recorded for resumption. Every relevant dirty input is either a content-addressed read-only baseline outside unit ownership or a named stop; unit commits exclude those baselines, and no cleaning, resetting, stashing or overwriting occurred.\n\n## Phase 2 — Isolated work · gate: BLOCK\n\nEach parallel unit works entirely inside its own worktree. Dispatch is unchanged — the caller still\ndispatches its author and reviewer agents; they simply operate on the isolated path.\n\n- A unit MUST NOT read or write outside its assigned worktree.\n- A unit MUST NOT touch `main` or any other unit's branch.\n- All implementation inside a worktree still flows through `tdd` — isolation is not a TDD bypass.\n\nGate: each unit's work is contained to its own worktree, with no cross-worktree or base-branch writes.\n\n## Phase 3 — Fold back · gate: BLOCK\n\nIntegrate each isolated unit's work back onto the caller's single working branch — do NOT finish each\nunit on its own. Per unit, in order:\n\n1. Confirm the unit was accepted by the caller under its applicable completion and check contract.\n   Inspect accessible command, cwd, source\u002Finput identity, output and exit status; reuse valid evidence\n   and rerun only missing or affected checks. An explicit review batch retains its triaged verdict.\n   An unaccepted unit does not fold back.\n2. Integrate its branch onto the caller's working branch (merge or rebase), resolving any conflict\n   here, in the open. If a rebase rewrites the unit branch, immediately refresh its recorded tip in\n   the handoff before fold-back and use that refreshed tip for later ancestry proof. Never integrate\n   onto `main` or the default branch.\n\nThe consolidated working branch then takes the caller's normal single exit — ONE `commit-gate` pass\nand ONE `finishing-a-development-branch` decision, run by the caller, not per unit. This skill\nintegrates; it never opens N PRs or finishes N branches. A unit that cannot integrate cleanly is\nsurfaced as a conflict for resolution — never force-merged, never dropped silently.\n\nGate: every accepted unit integrated onto the caller's working branch with conflicts resolved; no\nper-unit PR or finish was opened.\n\n## Phase 4 — Cleanup handoff · gate: BLOCK\n\nRecord which worktrees and branches remain after fold-back. Integrated unit worktrees and branches\nremain retained by default: they have no per-unit merged PR, so `post-merge-cleanup` cannot prove\nthem merged. This phase is their removal path only when all of the following hold: for a rebased unit,\nthe recorded tip was refreshed after rebase; the current recorded tip is an ancestor of the caller's\nconsolidated working branch after fold-back; the unit worktree is\nclean with no unique untracked or stashed residue; and the existing explicit cleanup confirmation\nnames both its path and branch. Then remove that exact worktree with `git worktree remove` and delete\nthat exact branch with `git branch -d`; never use `-D`. If any proof or confirmation is absent, retain\nthe unit and its handoff entry. Continue to route cleanup of the consolidated PR branch itself through\n`post-merge-cleanup`. Do not auto-delete an integrated, unaccepted or abandoned unit merely to close\nthis skill.\n\nGate: every remaining worktree is accounted for; no unreviewed work or user data is discarded.\n\n## Hard rules\n\n- MUST NOT run on the default path — isolation requires an explicit caller opt-in.\n- MUST NOT share a worktree or a branch across parallel units.\n- MUST NOT let a unit read or write outside its assigned worktree, or touch `main`.\n- MUST NOT open a per-unit PR or run `finishing-a-development-branch` per unit — integrate accepted units onto the caller's working branch, which takes the single `commit-gate` + finishing exit.\n- MUST NOT delete a branch or worktree without the separately required per-item confirmation and cleanup proof (ADR-0036). Retain and report worktrees awaiting that action.\n","# using-git-worktrees\n\nOPTIONAL. Per-task filesystem isolation for parallel agent work — opt-in only, never the default path.\nRouted to by `subagent-driven-development` and `dispatching-parallel-agents` when, and only when, the\ncaller requests isolation. If no isolation is requested, this skill does not run; parallel units share\nthe working tree under their own discipline.\n\nIsolation lets concurrent units edit files without collision. It changes\nnothing about the gates — the consolidated work still clears `commit-gate` and the single\n`finishing-a-development-branch` terminal step, run by the caller. What it MUST NOT do is multiply\nthat terminal step into one PR per unit.\n\n## Pre-flight\n\nRead these, or STOP and surface the gap — never guess:\n\n- `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002FCONTEXT.md` — confirm the repo is a git repo and the base\u002Fworking branch.\n- The discovered authoritative spec\u002Fplan pair for the caller's pipeline. Use its\n  exact selected plan for the parallel unit list. Re-run the private bridge resolver\n  `_resolve_workflow_pair` with the trusted project root and pipeline slug rather\n  than reconstructing either path. For an HTML pair, load\n  `${CLAUDE_PLUGIN_ROOT}\u002Fincludes\u002Fartifacts.md` and obtain\n  HTML task and path records only through the installed engine `identity`, `index`, and symbol-scoped `read`\n  operations. For a Markdown pair, use its existing Markdown task table. Worktree\n  planning must not create, convert, or consult a counterpart.\n\nConfirm the caller selected isolation within its current authorized scope AND supplied the parallel unit list\nfrom the exact selected plan. Absent either, do not stand up worktrees. A selected isolation method is\nnot new authority to discard a branch or worktree.\n\n## Phase 1 — Provision · gate: BLOCK\n\nStand up one worktree per parallel unit. For each unit, create a worktree on a fresh branch off the\ncurrent base, under a dedicated parent directory outside the main working tree\n(e.g. `..\u002F.codearbiter-worktrees\u002F\u003Cslug>`):\n\n- One worktree, one branch, one unit. Never share a worktree across units.\n- Branch name MUST be unique and traceable to its unit's task ID.\n- Retain the integration owner, base, branch, path ownership and each worktree path in the existing handoff record; update `.codearbiter\u002F.worktrees.json` where that scratch manifest is already supported. Do not introduce a mandatory new schema to make ordinary isolation possible.\n\nBefore provisioning, inventory dirty inputs relevant to each unit and record each path's SHA-256 or\nabsence. A fresh worktree does not contain uncommitted caller bytes. If a dirty input overlaps a\nunit-owned path, stop: the unit cannot safely distinguish caller work from its own delta. Otherwise,\nreproduce it only as a read-only baseline, verify its hash before and after unit work, and exclude it\nfrom the unit index and commits. Recheck the caller copy is still byte-identical before fold-back.\nPreserve unrelated dirty paths by leaving them untouched.\n\nGate: every unit has a distinct worktree on a distinct branch, all rooted at the same verified base and recorded for resumption. Every relevant dirty input is either a content-addressed read-only baseline outside unit ownership or a named stop; unit commits exclude those baselines, and no cleaning, resetting, stashing or overwriting occurred.\n\n## Phase 2 — Isolated work · gate: BLOCK\n\nEach parallel unit works entirely inside its own worktree. Dispatch is unchanged — the caller still\ndispatches its author and reviewer agents; they simply operate on the isolated path.\n\n- A unit MUST NOT read or write outside its assigned worktree.\n- A unit MUST NOT touch `main` or any other unit's branch.\n- All implementation inside a worktree still flows through `tdd` — isolation is not a TDD bypass.\n\nGate: each unit's work is contained to its own worktree, with no cross-worktree or base-branch writes.\n\n## Phase 3 — Fold back · gate: BLOCK\n\nIntegrate each isolated unit's work back onto the caller's single working branch — do NOT finish each\nunit on its own. Per unit, in order:\n\n1. Confirm the unit was accepted by the caller under its applicable completion and check contract.\n   Inspect accessible command, cwd, source\u002Finput identity, output and exit status; reuse valid evidence\n   and rerun only missing or affected checks. An explicit review batch retains its triaged verdict.\n   An unaccepted unit does not fold back.\n2. Integrate its branch onto the caller's working branch (merge or rebase), resolving any conflict\n   here, in the open. If a rebase rewrites the unit branch, immediately refresh its recorded tip in\n   the handoff before fold-back and use that refreshed tip for later ancestry proof. Never integrate\n   onto `main` or the default branch.\n\nThe consolidated working branch then takes the caller's normal single exit — ONE `commit-gate` pass\nand ONE `finishing-a-development-branch` decision, run by the caller, not per unit. This skill\nintegrates; it never opens N PRs or finishes N branches. A unit that cannot integrate cleanly is\nsurfaced as a conflict for resolution — never force-merged, never dropped silently.\n\nGate: every accepted unit integrated onto the caller's working branch with conflicts resolved; no\nper-unit PR or finish was opened.\n\n## Phase 4 — Cleanup handoff · gate: BLOCK\n\nRecord which worktrees and branches remain after fold-back. Integrated unit worktrees and branches\nremain retained by default: they have no per-unit merged PR, so `post-merge-cleanup` cannot prove\nthem merged. This phase is their removal path only when all of the following hold: for a rebased unit,\nthe recorded tip was refreshed after rebase; the current recorded tip is an ancestor of the caller's\nconsolidated working branch after fold-back; the unit worktree is\nclean with no unique untracked or stashed residue; and the existing explicit cleanup confirmation\nnames both its path and branch. Then remove that exact worktree with `git worktree remove` and delete\nthat exact branch with `git branch -d`; never use `-D`. If any proof or confirmation is absent, retain\nthe unit and its handoff entry. Continue to route cleanup of the consolidated PR branch itself through\n`post-merge-cleanup`. Do not auto-delete an integrated, unaccepted or abandoned unit merely to close\nthis skill.\n\nGate: every remaining worktree is accounted for; no unreviewed work or user data is discarded.\n\n## Hard rules\n\n- MUST NOT run on the default path — isolation requires an explicit caller opt-in.\n- MUST NOT share a worktree or a branch across parallel units.\n- MUST NOT let a unit read or write outside its assigned worktree, or touch `main`.\n- MUST NOT open a per-unit PR or run `finishing-a-development-branch` per unit — integrate accepted units onto the caller's working branch, which takes the single `commit-gate` + finishing exit.\n- MUST NOT delete a branch or worktree without the separately required per-item confirmation and cleanup proof (ADR-0036). Retain and report worktrees awaiting that action.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","fd7eb34b2da439551443d09526ab48fd1d1bb9bf","plugins\u002Fca\u002Fskills\u002Fusing-git-worktrees",9,"https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter","https:\u002F\u002Fcodearbiter.dev\u002F","https:\u002F\u002Fgithub.com\u002FarbiterForge","https:\u002F\u002FArbiterForge.com","2026-11-15 04:04:31",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":23},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arbiterForge\u002FcodeArbiter --skill using-git-worktrees",{"tool":39,"command":40},"bunx","bunx skills add arbiterForge\u002FcodeArbiter --skill using-git-worktrees",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arbiterForge\u002FcodeArbiter --skill using-git-worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[47,54,61,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M723VC2J3R1BJ20XW56WZG3K","myskill","A sample skill for fixtures — does one gated thing well.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin\u002Fskills\u002Fmyskill\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M723VAQ3APJEW6G1ESJ7AGFN","dup","Second of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-b\u002FSKILL.md",[],[],{"skillNo":62,"name":56,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M723V963M5R77EQM2N36KRTK","First of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-a\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M723V7VKBK473J4WMKV758B5","debug","A fixture skill named debug, colliding with the debug command\u002Fagent.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdebug\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M723V5PS7H5QY903F2WB8MJY","writing-plans","Turn the selected specification into a maintained implementation plan with clear outcomes, useful tasks, dependencies, and verification steps. Drafting uses the existing authorization and does not require artifact approval codes, reviewer receipts, or a frozen implementation script.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M723TYY6H730J73EPD82V6GE","tribunal","Run an opt-in deep codebase audit with persisted findings. Confirm cost before dispatch; filing and telemetry need separate approval.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Ftribunal\u002FSKILL.md",[],[]]