Skill · em Automatizar e estender
worktree-guide
Interactive guide for parallel development with Ghostty, git worktrees, and Lazygit. Use when setting up multi-task workflows or learning the worktree system.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/skills/development/worktree-guide - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 1 download no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 17,1 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/skills/worktree-guide/.
d=".claude/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Global: instala em ~/.claude/skills/worktree-guide/.
d="$HOME/.claude/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Codex
Neste projeto: instala em .agents/skills/worktree-guide/.
d=".agents/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Global: instala em ~/.agents/skills/worktree-guide/.
d="$HOME/.agents/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Antigravity
Neste projeto: instala em .agents/skills/worktree-guide/.
d=".agents/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Global: instala em ~/.gemini/antigravity-cli/skills/worktree-guide/.
d="$HOME/.gemini/antigravity-cli/skills/worktree-guide" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/worktree-guide" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md"
Peça ao Rook
Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.worktree-guide
Prévia do SKILL.md
---
name: worktree-guide
description: Interactive guide for parallel development with Ghostty, git worktrees, and Lazygit. Use when setting up multi-task workflows or learning the worktree system.
license: MIT
metadata:
author: claude-code-templates
version: "1.0"
---
Guide the user through parallel development workflows using Ghostty terminal panels, git worktrees, and Lazygit. This is both a teaching experience and a practical reference.
---
## Preflight
Before starting, detect the user's environment:
```bash
git rev-parse --is-inside-work-tree 2>&1 && echo "GIT_OK" || echo "NOT_GIT"
```
**If not a git repo:**
> This isn't a git repository. Navigate to a git project first, then come back to `/worktree-guide`.
Check if we're in a worktree or main repo:
```bash
git worktree list
pwd
```
Note the context for later guidance.
---
## Phase 1: Welcome & Context Detection
Display based on environment:
**If in main repo:**
```
…