crush/skills/sp-git-worktrees/SKILL.md
Create isolated worktree for feature work; verify ignore rules; run baseline tests before work.
npx skillsauth add e2ec-it/pub-xifan-crush-best-practices sp-git-worktreesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Based on obra/superpowers using-git-worktrees skill. (MIT)
Upstream reference: skills/using-git-worktrees/SKILL.md
.worktrees/ if exists (preferred)worktrees/ if existsCLAUDE.md / project docs for preference; otherwise ask user.Verify worktree directory is ignored:
git check-ignore -q .worktrees 2>/dev/null || git check-ignore -q worktrees 2>/dev/null
If not ignored: add to .gitignore, commit, then proceed.
BRANCH_NAME="feature/<name>"
git worktree add ".worktrees/$BRANCH_NAME" -b "$BRANCH_NAME"
cd ".worktrees/$BRANCH_NAME"
Auto-detect setup (npm/cargo/poetry/go) then run the test suite. If baseline tests fail: report and ask whether to proceed or investigate first.
content-media
SUPERPOWERS-style implementation planning: turn an approved design into 2–5 minute tasks with exact file paths, commands, verifications, and frequent commits.
development
SUPERPOWERS TDD enforcement: NO production code without a failing test first. Delete code written before tests.
development
Execute plan per task with role separation and review loops (spec then quality). In Crush, simulate subagents via role prompts / new sessions.
development
Request review between tasks and before merge. Use git SHAs to scope changes and produce actionable findings.