What problem does it solve?
This Skill simplifies the management of git worktrees to enable parallel feature development, clean workspaces, and isolated reviews without manual setup.
Core Features & Use Cases
- Create, list, switch, and cleanup worktrees under a dedicated .worktrees directory to separate features cleanly.
- Copy non-overwriting environment files (.env*) into new worktrees to preserve per-feature configurations.
- Real-world use: a team member creates a feature branch in its own worktree, switches between worktrees for reviews, and cleans up unused worktrees without touching main branches.
Quick Start
Use the worktree kit to spin up a new feature worktree and manage it with these commands:
bash ${CLAUDE_PLUGIN_ROOT}/skills/worktree-kit/scripts/worktree.sh create feat-login main
bash ${CLAUDE_PLUGIN_ROOT}/skills/worktree-kit/scripts/worktree.sh list
bash ${CLAUDE_PLUGIN_ROOT}/skills/worktree-kit/scripts/worktree.sh switch feat-login
bash ${CLAUDE_PLUGIN_ROOT}/skills/worktree-kit/scripts/worktree.sh copy-env feat-login
bash ${CLAUDE_PLUGIN_ROOT}/skills/worktree-kit/scripts/worktree.sh cleanup