git-worktree
Manage git worktrees for parallel agent development. Create, sync, and remove isolated dev environments.
от J-StaR-Films-Studios★ 27 звёзд на GitHub
Установить git-worktree в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Git Worktree Skill
Manage parallel development environments without manual path juggling.
When to Use
- Setting up parallel agents
- Multi-agent development
- When "worktree" is mentioned
- Need isolated environments for different features
Status Check
git worktree list
git branch --list
Actions
[NEW] Create Agent Environment
Name the Agent: Short identifier (e.g.,
frontend-refactor,agent-3)Define Paths:
- Branch:
[agent-name] - Folder:
../[repo-name]-[agent-name]
- Branch:
Execute:
git branch [branch_name]
git worktree add [folder_path] [branch_name]
Validate:
git worktree listContext Migration (ask user):
cp .env [worktree_path]/.env
# If SQLite:
mkdir -p [worktree_path]/prisma
cp prisma/dev.db [worktree_path]/prisma/dev.db
- Initialize:
pnpm installin new worktree
[SYNC] Synchronize Agents
- Ask: Sync ALL or SPECIFIC worktree?
- Execute:
git fetch origin
cd [worktree_path]
git merge origin/main # or rebase
cd -
[KILL] Teardown Agent
- Select worktree from list
- Execute:
git worktree remove [worktree_path]
git branch -d [branch_name] # Ask before deleting!
git worktree prune
Troubleshooting
- "already checked out": Use a new branch name
- Stale entries: Run
git worktree prune - Files still tracked: Directory was deleted manually—prune first
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-worktree?
Manage git worktrees for parallel agent development. Create, sync, and remove isolated dev environments.
Как установить скилл git-worktree?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-worktree запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…