What problem does it solve?
It solves the problem of safely isolating new feature work from an existing Git workspace so you can work on multiple branches without accidental cross-contamination or committing worktree contents.
Core Features & Use Cases
- Smart worktree directory selection: Chooses a project-local worktree directory (preferring
.worktrees/) or a CLAUDE.md-specified preference before asking the user.
- Safety verification for project-local worktrees: Verifies the chosen directory is ignored via
git check-ignore, and if not ignored, instructs you to update .gitignore and commit before proceeding.
- Automated project setup and baseline verification: Runs common dependency installation based on detected project files, then verifies a clean test baseline before you continue implementation.
Use case example: Before implementing a new feature, create an isolated branch worktree under .worktrees/, run the appropriate install and test commands, and only proceed when you confirm the baseline is clean.
Quick Start
Tell me: "Use the using-git-worktrees skill to create an isolated worktree for my feature branch, verify the directory is ignored if project-local, install dependencies if needed, run baseline tests, and report the ready path."