worktree-mastery
БесплатноБез исполняемых скриптовНе проверенGit worktree patterns for parallel Claude sessions. Run multiple Claude instances on same repo without conflicts.
от spences10★ 37 звёзд на GitHubОб этом скилле
Worktree Mastery
Run 3-5 parallel Claude sessions on same repo. "The single biggest productivity unlock." - Boris Cherny
Core Concept
Git worktrees = independent working directories sharing one repo. Each Claude session gets its own worktree. No branch conflicts, no stash juggling.
Quick Setup
# 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
Naming Convention
myproject/ # Main worktree (original clone)
myproject-review/ # Code review session
myproject-refactor/ # Refactoring session
myproject-test/ # Test writing session
myproject-docs/ # Documentation session
Session Strategy
| Worktree | Use Case |
|---|---|
| main | Primary development, commits |
| main-review | PR reviews, code reading |
| main-refactor | Large refactors, experiments |
| main-test | Test writing, debugging |
Workflow
- Create worktrees before starting parallel work
- Start Claude in each worktree directory
- Work independently - each session has isolated state
- Sync via git - commit in one, pull in another
- Cleanup when done
Sync Between Sessions
# In worktree needing updates
git fetch origin
git rebase origin/main
# Or if working on branches
git checkout feature-branch
git pull
References
- worktree-commands.md - Full command reference
- session-strategies.md - Multi-session patterns
- cleanup.md - Removal and maintenance
Установить worktree-mastery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл worktree-mastery?
Git worktree patterns for parallel Claude sessions. Run multiple Claude instances on same repo without conflicts.
Как установить скилл worktree-mastery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл worktree-mastery запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic