AI SummaryHelps developers create isolated git worktrees for parallel feature development without disrupting their current workspace. Essential for teams managing multiple branches simultaneously.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "using-git-worktrees" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/using-git-worktrees && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/using-git-worktrees/SKILL.md "https://raw.githubusercontent.com/obra/superpowers/main/skills/using-git-worktrees/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Overview
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching. Core principle: Systematic directory selection + safety verification = reliable isolation. Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
Examples - use project-appropriate command
npm test cargo test pytest go test ./... ` If tests fail: Report failures, ask whether to proceed or investigate. If tests pass: Report ready.
Directory Selection Process
Follow this priority order:
Check in priority order
ls -d .worktrees 2>/dev/null # Preferred (hidden) ls -d worktrees 2>/dev/null # Alternative ` If found: Use that directory. If both exist, .worktrees wins.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster