[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6F3HMAZKH17YTCD5QK7TK":3,"skill-same:01M7F6F3HMAZKH17YTCD5QK7TK":46},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7F6F3HMAZKH17YTCD5QK7TK","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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fusing-git-worktrees\u002FSKILL.md",[],[],"2026-11-16 10:05:34",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 is convenience, not soul. It 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\nConfirm the caller passed an explicit isolation opt-in AND the parallel unit list (from `plans\u002F\u003Cslug>.md`). Absent either, do not stand up worktrees.\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- Record each worktree path and branch in a dedicated manifest `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002F.worktrees.json` (gitignored scratch — NOT the `open-tasks.md` backlog) so a crash leaves no untracked isolation.\n\nGate: every unit has a distinct worktree on a distinct branch, all rooted at the same clean base, all\nrecorded. A reused branch or a missing record does not pass.\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 (its per-task review and verification passed in\n   `subagent-driven-development`, or its result cleared the funnel in `dispatching-parallel-agents`).\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. Never integrate 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 — Teardown · gate: BLOCK\n\nRemove every worktree this skill created, prune its administrative metadata, and clear the manifest at\n`${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002F.worktrees.json`. A unit whose branch was integrated onto the\nworking branch (Phase 3) has its worktree torn down; an unaccepted or abandoned unit's worktree and\nbranch are removed together.\n\nGate: zero worktrees created by this skill remain, and the manifest is empty. An orphaned worktree is a failure.\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 leave an orphaned worktree behind — every worktree this skill creates is torn down before the skill returns.\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 is convenience, not soul. It 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\nConfirm the caller passed an explicit isolation opt-in AND the parallel unit list (from `plans\u002F\u003Cslug>.md`). Absent either, do not stand up worktrees.\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- Record each worktree path and branch in a dedicated manifest `${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002F.worktrees.json` (gitignored scratch — NOT the `open-tasks.md` backlog) so a crash leaves no untracked isolation.\n\nGate: every unit has a distinct worktree on a distinct branch, all rooted at the same clean base, all\nrecorded. A reused branch or a missing record does not pass.\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 (its per-task review and verification passed in\n   `subagent-driven-development`, or its result cleared the funnel in `dispatching-parallel-agents`).\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. Never integrate 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 — Teardown · gate: BLOCK\n\nRemove every worktree this skill created, prune its administrative metadata, and clear the manifest at\n`${CLAUDE_PROJECT_DIR}\u002F.codearbiter\u002F.worktrees.json`. A unit whose branch was integrated onto the\nworking branch (Phase 3) has its worktree torn down; an unaccepted or abandoned unit's worktree and\nbranch are removed together.\n\nGate: zero worktrees created by this skill remain, and the manifest is empty. An orphaned worktree is a failure.\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 leave an orphaned worktree behind — every worktree this skill creates is torn down before the skill returns.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fusing-git-worktrees",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill using-git-worktrees",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill using-git-worktrees",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill using-git-worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fusing-git-worktrees\u002FSKILL.md",[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"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":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]