git-worktrees

Installation
SKILL.md

git-worktrees

Load rule: Formal SoT. Disk/Grok CLI detail → references/disk-hygiene.md only if needed.
CLT: ../rules/clt-dual-load.mdc — one agent per worktree enables safe fan-out (asymmetric parallel); never merge via cp.

// Signature
branch  ≔ *what* (line of commits)
worktree ≔ *where* (extra checkout on same .git)

// Axioms
A1  Integrate = commit in WT → merge/cherry-pick on integration  — never cp/rsync
A2  One agent ⇔ one worktree directory
A3  Remove WT only after merge + verify (or explicit abandon)
A4  Concurrent add on macOS: stagger (sleep ~1s) to avoid index SIGBUS
A5  Two layers: repo-local .worktrees/  vs  global ~/.grok/worktrees/ full clones
A6  After large plans: hygiene mandatory (see disk-hygiene)
Installs
5
Repository
p10ns11y/skills
GitHub Stars
1
First Seen
Jun 8, 2026
git-worktrees — p10ns11y/skills