What problem does it solve?
This skill provides a repeatable, safe process to create isolated git worktrees so developers can start feature work without contaminating the current workspace or accidentally committing worktree contents. It enforces directory selection conventions and verification steps to protect the repository state.
Core Features & Use Cases
- Deterministic directory selection: prefers .worktrees then worktrees, honors CLAUDE.md preferences, and asks the user when ambiguous.
- Ignore verification and remediation: verifies project-local directories are gitignored and can add and commit .gitignore changes based on the agent's auto_commit setting.
- Automated creation and setup: creates a new worktree branch, runs project-specific dependency installation (Node, Rust, Python, Go), and executes tests to confirm a clean baseline before development.
- Use case: create an isolated workspace for a feature branch, run installs and tests, and return a ready-to-develop path while preventing repository pollution.
Quick Start
Set up an isolated git worktree for branch feature/auth using the project .worktrees directory, install dependencies, and run tests to verify a clean baseline.