What problem does it solve?
It solves the risk of contaminating your main working directory by isolating feature work into clean, branch-scoped git worktrees with consistent directory selection and baseline verification.
Core Features & Use Cases
- Smart worktree directory selection: Prefers existing .worktrees (project-local) or worktrees, otherwise uses a CLAUDE.md preference, otherwise asks where to create worktrees (local hidden vs global config).
- Safety verification for project-local isolation: Verifies the chosen local worktree directory is ignored via git check-ignore before creating the worktree, and if not ignored it fixes .gitignore and commits before proceeding.
- End-to-end workspace readiness: Detects project name, creates the worktree on a new branch, runs appropriate dependency/setup based on project files, and verifies a clean baseline by running the project’s tests before telling you where the worktree is ready.
Quick Start
Use the using-git-worktrees skill to create an isolated feature workspace for implementation while ensuring the worktree directory is ignored and tests pass before you start coding.