Git worktrees for isolation (Superpowers)
SkillLow riskSets up an isolated git worktree with a clean, passing baseline before feature work starts.
Before starting a feature or running a plan, Claude checks whether it is already in an isolated workspace and, if not, creates a git worktree in a sensible location. It then runs the project's setup (npm, pip, cargo, go and so on) and confirms tests pass so later failures can be traced to new changes. Guidance only; it uses standard git commands.
Try asking:
- "Start the new billing feature in its own worktree"
- "Set up an isolated workspace before we run the plan"
- "Create a worktree for this experiment so main stays clean"
Source: obra/superpowers · MIT · by Jesse Vincent (obra)

Log in to join the discussion.