Skip to content
Skill

using-git-worktrees

by obra

AI Summary

Helps developers create isolated git worktrees for parallel feature development without disrupting their current workspace. Essential for teams managing multiple branches simultaneously.

Install

# Install skill into your project
mkdir -p .cursor/skills/using-git-worktrees
&& curl --retry 3 --retry-delay 2 --retry-all-errors -o .cursor/skills/using-git-worktrees/SKILL.md "https://raw.githubusercontent.com/obra/superpowers/main/skills/using-git-worktrees/SKILL.md"

Run in your IDE terminal (bash). On Windows, use Git Bash, WSL, or your IDE's built-in terminal. If curl fails with an SSL error, your network may block raw.githubusercontent.com — try using a VPN or download the files directly from the source repo.

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.

Quality Score

B

Good

82/100

Standard Compliance75
Documentation Quality72
Usefulness78
Maintenance Signal100
Community Signal100
Scored 4d ago

GitHub Signals

Stars84.2k
Forks6.6k
Issues146
Updated3d ago
View on GitHub

Trust & Transparency

Open Source — MIT

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit 3d ago

84.2k stars — Strong Community

6.6k forks

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code