What problem does it solve?
This skill provides a unified interface to manage Git worktrees for isolated parallel development, simplifying creation, listing, switching, and cleanup across multiple branches.
Core Features & Use Cases
- Create and manage worktrees from a central manager script
- List active worktrees and current status
- Switch between worktrees and safely clean up completed ones
- Automatically copy environment files (.env, .env.local, etc.) from the main repo to new worktrees
- Integrates with workflows to support parallel development without cluttering the main repo
Quick Start
Use the worktree manager to create a new worktree:
bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh create feature-login
Then list or switch as needed:
bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh list
bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh switch feature-login