What problem does it solve?
Managing multiple Git contexts, ensuring env files and trusted tooling stay synchronized, and cleaning up completed branches are all error-prone when done manually; this skill coordinates worktree creation, trust handling, and cleanup through a single interactive manager.
Core Features & Use Cases
- Create, list, and switch worktrees with consistent naming,
.worktrees storage, and automatic .gitignore updates so parallel development stays organized.
- Copy environment files and trust mise/direnv configs from trusted baselines to avoid blocked hooks and untrusted prompts in each new worktree.
- Interactive cleanup and safety checks keep review or feature work isolated and remove inactive worktrees after you finish.
- Use case: When preparing an isolated PR review, spin up a new worktree from main, review safely with copied env variables, and clean up when done without touching your main branch.
Quick Start
Run bash ${CLAUDE_PLUGIN_ROOT}/skills/git-worktree/scripts/worktree-manager.sh create feature-login from main before beginning your isolated review so all env files and trust settings are ready.