What problem does it solve?
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching.
Core principle: Systematic directory selection + safety verification = reliable isolation.
Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
Core Features & Use Cases
- Isolated workspaces: create per-branch worktrees that share the repo while keeping worktrees separate.
- Directory prioritization: follow a clear order: existing directories, CLAUDE.md preference, then user prompt.
- Safety verification: ensure .gitignore prevents accidental commits of worktree contents and prompt for action when needed.
- Automated setup & verification: optionally run project setup commands and baseline tests to ensure a clean start.
Quick Start
Create an isolated git worktree for your new feature branch by following prompts; the skill will locate or create a dedicated worktree, verify safety constraints, and report the workspace location.