worktree
Installation
SKILL.md
worktree
Isolate concurrent agent sessions in dedicated Git worktrees to prevent workspace collisions.
Conventions
<branch>:<type>/<slug>(feat/,fix/,refactor/,chore/,test/).<path>:.agents/worktree/<branch>.- Root
.gitignoremust contain.agents/worktree/.
Rules
- Confine all edits, commands, and tests strictly within
<path>. Never touch root files. - Always confirm with the user before creating or deleting a worktree.
- Never delete
<path>ifgit status --porcelainshows uncommitted changes.