What problem does it solve?
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without changing your current workspace. The skill's core principle is systematic directory selection combined with safety verification to ensure reliable isolation. At activation, the skill announces its usage to set expectations.
Core Features & Use Cases
- Directory selection follows a priority: prefer existing local worktrees, check for CLAUDE.md preferences, then ask the user when a location isn't specified.
- Safety verification ensures the chosen worktree directory is ignored by git, preventing accidental commits of worktree contents, and uses a fallback global location when needed.
- Automated worktree creation & setup detects the project name, creates the worktree in the selected location, runs project setup (e.g., npm, cargo, pip) if present, and verifies a clean baseline with tests.
Quick Start
To start, specify your feature branch name and location when prompted, or let the skill pick the best option. Then the skill will create the worktree with git worktree add, switch into the new directory, run the appropriate setup commands, and report the location and test results.