using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans
от skeletorflet★ 48 звёзд на GitHub
Установить using-git-worktrees в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Using Git Worktrees
Overview
Ensure work happens in an isolated workspace. Prefer your platform's native worktree tools. Fall back to manual git worktrees only when no native tool is available.
Core principle: Detect existing isolation first. Then use native tools. Then fall back to git.
Step 0: Detect Existing Isolation
Check if already in an isolated workspace using git rev-parse --git-dir and git rev-parse --git-common-dir.
If GIT_DIR != GIT_COMMON, you are already in a linked worktree. Skip to project setup.
Step 1: Create Isolated Workspace
Prefer native worktree tools. Fall back to git worktree add.
Step 3: Project Setup
Auto-detect and run appropriate setup (npm install, cargo build, pip install, etc.).
Step 4: Verify Clean Baseline
Run tests to ensure workspace starts clean.
Quick Reference
| Situation | Action |
|---|---|
| Already in linked worktree | Skip creation |
| Native worktree tool available | Use it |
| No native tool | Git worktree fallback |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл using-git-worktrees?
Use when starting feature work that needs isolation from current workspace or before executing implementation plans
Как установить скилл using-git-worktrees?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл using-git-worktrees запускает скрипты?
Нет, скилл состоит только из инструкций (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…