using-git-worktrees

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

Content Preview
---
name: using-git-worktrees
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
---

# Using Git Worktrees

## 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
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/using-git-worktrees.md \
  https://raw.githubusercontent.com/obra/superpowers/main/skills/using-git-worktrees/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/obra/superpowers

Then reference at skills/using-git-worktrees/SKILL.md

Related Skills