worktree

Installation
SKILL.md

Git Worktree Management

Iron Law

NEVER MODIFY FILES IN A WORKTREE YOU DID NOT CREATE

Operations

1. Create

Create a new worktree for isolated parallel development.

git worktree add <path> -b <branch-name>
  • Always use a descriptive branch name matching the worktree purpose
  • Place worktrees in a consistent location (e.g., /tmp/<repo>-worktrees/<name>)
  • Verify the worktree was created successfully before proceeding
  • Initialize any required workspace files (progress.txt, CLAUDE.md, prd.json)
Related skills
Installs
12
First Seen
Apr 13, 2026