<< All versions
Skill v1.0.1
currentAutomated scan100/100majiayu000/claude-skill-registry/git-worktree
3 files
──Details
PublishedMay 14, 2026 at 10:34 PM
Content Hashsha256:df653c749d8163a4...
Git SHA63c042456db3
Bump Typepatch
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 75 lines · 1.7 KB
version: "1.0.1"
Git Worktree Workflow
Multi-step workflow for parallel development using git worktrees.
Overview
Git worktree allows working on multiple branches simultaneously. Each worktree is an independent working directory with its own branch.
Setup Workflow
1. Create Feature Worktree
bash
git worktree add ../ccswarm-feature-<name> feature/<description>
2. Create Bug Fix Worktree
bash
git worktree add ../ccswarm-bugfix-<name> hotfix/<description>
3. Create Experiment Worktree
bash
git worktree add ../ccswarm-experiment-<name> experiment/<description>
Recommended Structure
github.com/nwiizo/├── ccswarm/ # Main repository (master)├── ccswarm-feature-*/ # Feature worktrees├── ccswarm-bugfix-*/ # Bug fix worktrees├── ccswarm-hotfix-*/ # Hotfix worktrees└── ccswarm-experiment-*/ # Experimental worktrees
Management Commands
bash
# List all worktreesgit worktree list# Remove worktree after merginggit worktree remove ../ccswarm-feature-<name># Prune stale worktree informationgit worktree prune
Agent Integration
Each agent can work in its own worktree:
bash
# Frontend agentgit worktree add ../ccswarm-frontend feature/ui-redesign# Backend agentgit worktree add ../ccswarm-backend feature/api-enhancement# DevOps agentgit worktree add ../ccswarm-devops feature/ci-cd-improvement
Best Practices
- One worktree per feature/bug
- Use naming convention:
ccswarm-<type>-<description> - Clean up after merging
- Run
git worktree pruneperiodically - Run tests in different worktrees simultaneously