[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FQSZRGQH2D4RCKCH9594N":3,"skill-same:01M78FQSZRGQH2D4RCKCH9594N":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M78FQSZRGQH2D4RCKCH9594N","worktrees",null,"Use BEFORE fanning out parallel Engineers or starting isolated feature work — the kit's own isolation skill (replaces, does not depend on, superpowers using-git-worktrees). The isolation craft, wired to the Orchestrator seat — detect-existing-first, native tools first, the kit's disjoint-set parallel-safety rule, and conflict-safe integration.","SeaBrad72\u002Fsparkwright","SeaBrad72","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F189294229?v=4","01M78FP39B4DE6NKHX1AJKSPFX","Bradley James","01M78FP3A2X3TW6T6GHBPB7PT3",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Fworktrees\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: worktrees\ndescription: Use BEFORE fanning out parallel Engineers or starting isolated feature work — the kit's own isolation skill (replaces, does not depend on, superpowers using-git-worktrees). The isolation craft, wired to the Orchestrator seat — detect-existing-first, native tools first, the kit's disjoint-set parallel-safety rule, and conflict-safe integration.\n---\n\n# Worktrees — isolation as a precondition the Orchestrator checks, not just a directory\n\nThe kit's own isolation skill: how to give each fanned-out Engineer a clean, independent workspace and re-integrate the results safely. The Orchestrator seat's craft (it *creates and ensures* isolation; the Engineer *operates within* an assigned worktree). Replaces (does not depend on) superpowers `using-git-worktrees`. Worktrees are the concrete mechanism; **isolation** is the principle.\n\n\u003C!-- The frontmatter and the discipline headings below are conformance-load-bearing:\n     conformance\u002Forchestrator-loop-wired.sh greps this file for kit-distinctive markers\n     (name: worktrees, disjoint file sets, --no-renames, out-of-slice, native).\n     Edits that drop or rename them can turn the skill-spine lock RED. -->\n\n## When to use\nBefore fan-out (one workspace per parallel Engineer) and before any isolated feature work that must not disturb the main tree. Every fan-out gets isolation — a single-slice run still runs in its own workspace so a failed slice never corrupts the trunk.\n\n## Detect existing isolation first\nCheck whether you are already isolated before creating anything. **Never nest** a worktree inside a worktree — re-use the current one. Guard against creating a worktree inside a submodule or another repo's tree (resolve the real toplevel first; refuse if it is not the intended repo). Creating-on-top is how phantom, unmanageable workspaces appear.\n\n## Native tools first (never fight the harness)\nPrefer the platform's `native` worktree\u002Fworkspace mechanism when one exists; reach for `git worktree` only as the fallback when no native isolation is available. Using `git worktree add` on a harness that manages workspaces itself creates phantom state the harness cannot see or clean up — the kit's LLM\u002Fharness-neutrality stance applied to isolation. Whatever the mechanism, verify the new workspace path is ignored \u002F out of the trunk's way before any Engineer writes to it.\n\n## The kit's parallel-safety rule (the heart of the skill)\nThis is the Orchestrator's slicing heuristic, made the precondition of fan-out: **two slices are safely parallel only with disjoint file sets, no shared mutable state, and each independently testable.** If two candidate slices touch the same file, share mutable state, or cannot each be tested alone, they are **not** parallel-safe — serialize them. Isolation is something you *check before* fan-out, not merely a directory you hand out afterwards.\n\n## Conflict-safe integration (the other half of isolation)\nIsolation that only creates but never guards integration is half a discipline. Before merging a returned branch, detect overlap against the run's cut-point: `git diff --name-only --no-renames` for the integrated set vs. each incoming branch. If the changed-file sets intersect, **refuse fail-closed** — stamp a `kit.conflict` span and route the slice back rather than merging silently. No silent cross-slice corruption; the no-corruption floor is git's, the kit makes it proactive, observable, and locked.\n\n## The Engineer boundary\nEach Engineer stays inside its assigned worktree and makes **zero out-of-slice edits** — it returns a diff plus a self-verify report; the Orchestrator integrates (builder ≠ integrator). An out-of-slice edit breaks the disjoint-set guarantee the parallel-safety rule depends on, so it is a boundary violation, not a convenience.\n\n## Metering\nEvery fanned-out step is metered through the runaway kill-switch — `scripts\u002Frunaway-guard.sh step --row \u003CROW>` (the budget is per slice: each row is graded alone). A guard STOP halts further fan-out (raise-don't-barrel-through); isolation does not exempt a runaway slice from the budget ceiling. A resumed subagent reports its usage cumulatively, so a resume is metered as the delta from its previous metered report (its first report is metered in full), never summed with its earlier reports; a hand-metered line is a reported figure, never an estimate.\n\n## Honest ceiling\nIsolation **bounds blast-radius; it is NOT a security sandbox.** A worktree limits accidental cross-slice writes — it is not containment, not a trust boundary, and not a defense against malicious code (that is the harness-sandbox concern, named elsewhere). Cleanup of unchanged trees is **best-effort and harness-owned** — do not assume a worktree is torn down for you; leave the trunk clean and let the harness reclaim workspaces.\n\n## Terminal state\nEach Engineer dispatched into its own verified-isolated workspace; the parallel-safety rule checked before fan-out; returned branches integrated only after a clean `--no-renames` overlap check, conflicts refused fail-closed. The Orchestrator owns creation and integration; the skill never merges on the Engineer's behalf.\n","# Worktrees — isolation as a precondition the Orchestrator checks, not just a directory\n\nThe kit's own isolation skill: how to give each fanned-out Engineer a clean, independent workspace and re-integrate the results safely. The Orchestrator seat's craft (it *creates and ensures* isolation; the Engineer *operates within* an assigned worktree). Replaces (does not depend on) superpowers `using-git-worktrees`. Worktrees are the concrete mechanism; **isolation** is the principle.\n\n\u003C!-- The frontmatter and the discipline headings below are conformance-load-bearing:\n     conformance\u002Forchestrator-loop-wired.sh greps this file for kit-distinctive markers\n     (name: worktrees, disjoint file sets, --no-renames, out-of-slice, native).\n     Edits that drop or rename them can turn the skill-spine lock RED. -->\n\n## When to use\nBefore fan-out (one workspace per parallel Engineer) and before any isolated feature work that must not disturb the main tree. Every fan-out gets isolation — a single-slice run still runs in its own workspace so a failed slice never corrupts the trunk.\n\n## Detect existing isolation first\nCheck whether you are already isolated before creating anything. **Never nest** a worktree inside a worktree — re-use the current one. Guard against creating a worktree inside a submodule or another repo's tree (resolve the real toplevel first; refuse if it is not the intended repo). Creating-on-top is how phantom, unmanageable workspaces appear.\n\n## Native tools first (never fight the harness)\nPrefer the platform's `native` worktree\u002Fworkspace mechanism when one exists; reach for `git worktree` only as the fallback when no native isolation is available. Using `git worktree add` on a harness that manages workspaces itself creates phantom state the harness cannot see or clean up — the kit's LLM\u002Fharness-neutrality stance applied to isolation. Whatever the mechanism, verify the new workspace path is ignored \u002F out of the trunk's way before any Engineer writes to it.\n\n## The kit's parallel-safety rule (the heart of the skill)\nThis is the Orchestrator's slicing heuristic, made the precondition of fan-out: **two slices are safely parallel only with disjoint file sets, no shared mutable state, and each independently testable.** If two candidate slices touch the same file, share mutable state, or cannot each be tested alone, they are **not** parallel-safe — serialize them. Isolation is something you *check before* fan-out, not merely a directory you hand out afterwards.\n\n## Conflict-safe integration (the other half of isolation)\nIsolation that only creates but never guards integration is half a discipline. Before merging a returned branch, detect overlap against the run's cut-point: `git diff --name-only --no-renames` for the integrated set vs. each incoming branch. If the changed-file sets intersect, **refuse fail-closed** — stamp a `kit.conflict` span and route the slice back rather than merging silently. No silent cross-slice corruption; the no-corruption floor is git's, the kit makes it proactive, observable, and locked.\n\n## The Engineer boundary\nEach Engineer stays inside its assigned worktree and makes **zero out-of-slice edits** — it returns a diff plus a self-verify report; the Orchestrator integrates (builder ≠ integrator). An out-of-slice edit breaks the disjoint-set guarantee the parallel-safety rule depends on, so it is a boundary violation, not a convenience.\n\n## Metering\nEvery fanned-out step is metered through the runaway kill-switch — `scripts\u002Frunaway-guard.sh step --row \u003CROW>` (the budget is per slice: each row is graded alone). A guard STOP halts further fan-out (raise-don't-barrel-through); isolation does not exempt a runaway slice from the budget ceiling. A resumed subagent reports its usage cumulatively, so a resume is metered as the delta from its previous metered report (its first report is metered in full), never summed with its earlier reports; a hand-metered line is a reported figure, never an estimate.\n\n## Honest ceiling\nIsolation **bounds blast-radius; it is NOT a security sandbox.** A worktree limits accidental cross-slice writes — it is not containment, not a trust boundary, and not a defense against malicious code (that is the harness-sandbox concern, named elsewhere). Cleanup of unchanged trees is **best-effort and harness-owned** — do not assume a worktree is torn down for you; leave the trunk clean and let the harness reclaim workspaces.\n\n## Terminal state\nEach Engineer dispatched into its own verified-isolated workspace; the parallel-safety rule checked before fan-out; returned branches integrated only after a clean `--no-renames` overlap check, conflicts refused fail-closed. The Orchestrator owns creation and integration; the skill never merges on the Engineer's behalf.\n",{"name":5,"description":7},"main","46ed464a0bfe79d18251e771dd0fc9e1e89fe43f","skills\u002Fworktrees",0,"https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright","https:\u002F\u002Fgithub.com\u002FSeaBrad72","2026-11-15 04:00:12",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SeaBrad72\u002Fsparkwright --skill worktrees",{"tool":37,"command":38},"bunx","bunx skills add SeaBrad72\u002Fsparkwright --skill worktrees",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SeaBrad72\u002Fsparkwright --skill worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Fworktrees\u002FSKILL.md",true,[],[46,53,59,66,73,79],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7DZCWVTK18C484JQPMN4NAZ","inception-from-code","Use when adopting the kit into an EXISTING repository (brownfield), to draft the Inception artifacts from the code instead of from blank templates. The agent reads the repository and writes five drafts, only under docs\u002Finception-draft\u002F, each tagged by how each fact is known; a person reviews them and moves what is right into place. Agents propose, humans ratify.","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Finception-from-code\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"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":56,"categories":57,"keywords":58,"publishedAt":19},"01M78FQQXX2CYGF8V0GVG35TTB","verification","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Fverification\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},"01M78FQK7Y0JVS2V77S8SEBD29","using-skills","Use at the START of any task, before any response or action — the kit's own discovery keystone (replaces, does not depend on, superpowers using-superpowers). How the kit's skills are found and invoked (invoke by reading), the discipline of checking for a relevant skill before acting, instruction priority, and the index of the kit's own spine skills.","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Fusing-skills\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},"01M78FQEA5ATPZDYN780F4VGQD","tdd","Use when implementing any feature, bug fix, refactor, or behaviour change — BEFORE writing production code. The kit's own test-driven-development skill (replaces, does not depend on, superpowers test-driven-development). Red-green-refactor framed as the kit's non-vacuity law, plus coverage, testing-pyramid, and AI-eval disciplines.","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"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":76,"categories":77,"keywords":78,"publishedAt":19},"01M78FQADNX9RZQ63C7WG7HPZH","review","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M78FQ66S25MGCZ31SS4GNS2Q","plan","Use AFTER a design is owner-approved and BEFORE any build — turning an approved design\u002Fspec into an INVEST-sliced, TDD, build-ready implementation plan. The kit's own planning skill (replaces, does not depend on, superpowers writing-plans). Produces bite-sized tasks an engineer with zero codebase context can execute.","https:\u002F\u002Fgithub.com\u002FSeaBrad72\u002Fsparkwright\u002Fblob\u002Fmain\u002Fskills\u002Fplan\u002FSKILL.md",[],[]]