plugins/dev-environment/skills/worktree-mastery/SKILL.md
Git worktree patterns for parallel Claude sessions. Run multiple Claude instances on same repo without conflicts.
npx skillsauth add spences10/claude-code-toolkit worktree-masteryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run 3-5 parallel Claude sessions on same repo. "The single biggest productivity unlock." - Boris Cherny
Git worktrees = independent working directories sharing one repo. Each Claude session gets its own worktree. No branch conflicts, no stash juggling.
# From repo root, create worktrees
git worktree add ../myproject-review main
git worktree add ../myproject-refactor main
git worktree add ../myproject-test main
# List active worktrees
git worktree list
myproject/ # Main worktree (original clone)
myproject-review/ # Code review session
myproject-refactor/ # Refactoring session
myproject-test/ # Test writing session
myproject-docs/ # Documentation session
| Worktree | Use Case | | ------------- | ---------------------------- | | main | Primary development, commits | | main-review | PR reviews, code reading | | main-refactor | Large refactors, experiments | | main-test | Test writing, debugging |
# In worktree needing updates
git fetch origin
git rebase origin/main
# Or if working on branches
git checkout feature-branch
git pull
development
Design and create Claude Skills using progressive disclosure principles. Use when building new skills, planning skill architecture, or writing skill content.
testing
Verify sources before presenting findings. Use when asked to research links or documentation.
data-ai
Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
tools
Validate, test, and distribute Claude Code plugins and marketplaces. Use when developing plugins, debugging validation errors, or preparing for distribution.