using-git-worktrees
Installation
SKILL.md
Using Git Worktrees
Overview
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching.
Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
Directory Selection Process
Follow this priority order:
- Check existing directories -- Use
.worktrees/orworktrees/if present (.worktrees/wins if both exist) - Check CLAUDE.md -- Use any worktree directory preference specified there
- Ask user -- Offer
.worktrees/(project-local) or~/.config/superpowers/worktrees/<project>/(global)
See references/directory-selection.md for full bash commands and ask-user flow.