What problem does it solve?
This Skill prevents feature work from contaminating your current checkout by ensuring changes happen in an isolated workspace before implementation starts.
Core Features & Use Cases
- Detect existing isolation first: Identifies whether you are already in a linked worktree or in a submodule to avoid creating nested/duplicate worktrees.
- Create an isolated workspace safely: Prefers native platform worktree tools when available, and falls back to
git worktree add only when necessary.
- Preserve developer environment parity: Copies local Claude settings from the main checkout into the new worktree when using the git fallback.
- Run setup and verify baseline: Automatically installs dependencies when relevant manifests are present and runs project-appropriate tests to confirm a clean start.
- Clean up correctly: Removes the created worktree using the matching mechanism and blocks destructive cleanup when there are uncommitted or unpushed changes.
Quick Start
Ask your AI to "Set up an isolated workspace for my feature work using git worktrees, run the project setup, verify a clean baseline with tests, and tell me where the worktree is ready."