What problem does it solve?
Developers often need to work on new features or experiments without contaminating the main workspace. This Skill provides a safe, isolated git worktree workflow that creates dedicated worktrees for feature branches and ensures isolation from the primary development environment.
Core Features & Use Cases
- Isolated workspaces: Create per-feature worktrees that share the same repository but point to different branches.
- Automatic directory selection: Prioritize project-local directories (.worktrees, then worktrees) and offer a fallback based on CLAUDE.md or user input.
- Safety verification: Ensure the chosen worktree directory is ignored by git to prevent accidental commits; if not ignored, guide fixes to .gitignore and commit.
- Automatic project bootstrap: Detect the project name, create the worktree with the new branch, and enter the new workspace for immediate work.
Quick Start
Create an isolated git worktree for a new feature branch BRANCH_NAME, using the project-local .worktrees directory when available, and verify the directory is ignored by git before proceeding.