From wur
Use when a WUR contract has executable project work that requires editing project files in a sparse worktree excluding agents/ and contracts/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wur:using-git-worktreesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
WUR does not create a worktree just because `/wur:start` created a contract. The executor first reads the contract.
WUR does not create a worktree just because /wur:start created a contract. The executor first reads the contract.
Use this skill only when the active contract contains executable project work and implementing it requires editing project files.
A worktree used by an external executor should not carry WUR state. agents/ is the source-of-truth wiki and contracts/ is the contract/report boundary. The executor works from the contract brief and must not edit those folders.
git worktree add .worktrees/P{n}_contract -b work/P{n}_contract main
cd .worktrees/P{n}_contract
git sparse-checkout init --no-cone
git sparse-checkout set "/*" "!/agents/" "!/contracts/"
Verify:
git status --short
Test-Path agents
Test-Path contracts
agents/ and contracts/ should not be present in the execution worktree. If the Git version does not support the exclude patterns reliably, do not force automation; copy the contract instructions manually and keep execution out of agents/.
agents/ into the execution worktree.contracts/ into the execution worktree.agents/.| Situation | Use sparse worktree? |
|---|---|
| Contract has no executable project work | No; report blocked/no-op/clarification-needed |
| Report-only or clarification-only round | No |
| Implementation edits project files | Yes |
| User explicitly asks for isolated execution | Yes, if there is executable work |
| Git sparse checkout errors or permission problems | Prefer manual execution from contract |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub truong170201/work-unit-roadmap --plugin wur