What problem does it solve?
This skill enables safe isolation of feature work by automatically creating dedicated Git worktrees linked to the current repository, preventing interference with the main workspace.
Core Features & Use Cases
- Isolated workspaces via git worktrees that share the same repository but keep changes separate per feature.
- Directory prioritization and safety verification: prefer .worktrees/, then worktrees/, verify that the target path is ignored by .gitignore, and automatically add it if needed.
- Automatic project setup and baseline checks: after creating a worktree, run common setup steps (Node.js, Rust, Python, Go) and verify a clean test baseline.
- Use Case: When starting a new feature, create a dedicated worktree on a new branch without touching the main branch, run tests, and report status and location.
Quick Start
Provide a target BRANCH_NAME and LOCATION (e.g., BRANCH_NAME=feature-x LOCATION=.worktrees). The skill will detect the preferred directory, verify .gitignore, create the worktree at the correct path, switch into it, and perform project setup and testing as needed.