What problem does it solve?
Git worktrees let you work on multiple branches simultaneously without switching the main workspace. This skill automates the creation and management of isolated worktrees with smart directory selection and safety verification to prevent accidental commits of worktree contents.
Core Features & Use Cases
- Directory selection priority: prefer .worktrees, then worktrees, then CLAUDE.md preferences; prompts if needed.
- Safety verification: verify .gitignore includes the worktree path; commit changes if needed to keep worktree content out of the main repo.
- Deterministic creation: detect project name, choose path per location, create a new worktree with git worktree and switch to it; optionally run project setup commands.
- Use case: create a feature-workspace separate from main development, test a change in isolation, and then merge back.
Quick Start
Set up an isolated git worktree for a new feature branch using the project's dedicated worktree directory or a global location. I will verify the appropriate .gitignore entry, create the worktree with git worktree add, and switch into it.