Parallel worktrees

From TheBeardedBearSAS/claude-craft · View interactive version

Parallel worktrees is an AI agent skill from the GitHub repository TheBeardedBearSAS/claude-craft. Parallel git worktrees for concurrent Claude Code sessions. Use when working on multiple features or writer/reviewer workflows.

How to use this skill

Skill file

Parallel Worktrees

Productivity pattern for running multiple Claude Code sessions on the same repository.

See ../../rules/12-context-management.md for detailed documentation.

Quick Reference

Setup

# Create worktree for a feature branch
git worktree add ../feature-name feature/branch-name

# Launch Claude in the worktree
cd ../feature-name && claude

Writer/Reviewer Pattern

| Terminal | Role | Command |

|----------|------|---------|

| Terminal 1 | Writer | cd ../feature-auth && claude "Implement feature" |

| Terminal 2 | Reviewer | cd ../review-auth && claude "Review the code" |

Best Practices

Cleanup

# List all worktrees
git worktree list

# Remove a worktree
git worktree remove ../feature-name

# Prune stale worktree entries
git worktree prune
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.