What problem does it solve?
This Skill provides a safe, repeatable way to create isolated git worktrees so developers can work on feature branches without disrupting the current workspace or accidentally committing worktree contents to the repository.
Core Features & Use Cases
- Safe Directory Selection: Prioritizes existing .worktrees or worktrees directories, respects CLAUDE.md preferences, and prompts the user when ambiguous.
- Safety Verification: Ensures project-local worktree directories are git-ignored and, if not, adds the ignore entry and commits the change to avoid repository contamination.
- Automated Setup & Baseline Checks: Auto-detects project type (Node, Rust, Python, Go), runs dependency setup, and executes tests to verify a clean starting state before coding.
- Use Case: Start a concurrent feature branch safely by creating a dedicated worktree, preparing the environment, and confirming tests pass before implementation.
Quick Start
Use the using-git-worktrees skill to create an isolated worktree for branch feature/auth in a project-local .worktrees directory and run project setup and tests.