What problem does it solve?
This Skill automates the process of creating isolated git worktrees to separate feature work from the main branch, ensuring clean workspaces and easy cleanup prior to implementing new changes.
Core Features & Use Cases
- Smart Directory Selection: follows a clear priority to locate or suggest an isolated worktree location (.worktrees, worktrees, CLAUDE.md preference, then user input).
- Safety Verification: confirms the chosen directory is ignored by Git to prevent accidental commits of worktree contents.
- Automatic Project Setup & Validation: auto-detects the project type (for example .NET, Node) and runs the appropriate setup commands, followed by a clean baseline test.
- Use Case: When starting a new feature across multiple branches, spin up an isolated workspace, apply changes, test, and then discard or merge the worktree.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for your feature work. The skill will detect existing worktrees, verify ignore rules, create a new worktree in the preferred location, auto-detect project setup commands, and verify a clean baseline.