Planning
Using Git Worktrees
Create an isolated Git worktree that protects the current dirty tree and branch.
Use it when
Use it for larger features or concurrent sessions; a tiny text edit may not justify the overhead.
Install command
This is the command stored in the directory. Read the source, then run it on work you can undo.
npx skills add obra/superpowers --skill using-git-worktreesInspect it before you install it
Treat the skill like a dependency. The directory entry is a shortlist, and the source is the thing you are about to run.
- Read the instructions and any scripts before you grant tools, files, or credentials.
- Test it on reversible work. Keep deploy, send, publish, and payment steps for a person.
- Keep it when the output is easier to review. Remove it when it only adds steps.