Using Git Worktrees
Isolates work in its own Git worktree, with checks on the path and a safe project setup.
How to use it
Install it with the open Skills CLI (needs Node.js), then restart your agent:
npx skills add obra/superpowers --skill using-git-worktrees- Download the ZIP from this page and unzip it.
- Put the
using-git-worktreesfolder in.claude/skills/inside your project (or~/.claude/skills/for all projects). - Restart Claude Code and call it with
/using-git-worktrees.
بالعربي
تعزل العمل في Git worktree مستقل مع فحوص اختيار المسار وسلامة إعداد المشروع.
More for git
- Git Guardrails Claude Code: Sets up hooks that block dangerous Git commands before they run. Review the rules: they can also block wanted commands like push.
- Finishing a Development Branch: Wraps up a development branch once tests pass, with clear choices to merge, open a review or park the work.