What problem does it solve?
It prevents feature work from contaminating your current workspace by ensuring an isolated directory exists for implementation tasks, using native worktree mechanisms when possible and a safe git-worktree fallback otherwise.
Core Features & Use Cases
- Workspace isolation detection: Detects whether you are already in a linked worktree (and avoids misclassifying submodules).
- Native-first worktree creation: Uses platform-native worktree tools when available to avoid unmanaged “phantom” states.
- Safe git worktree fallback: Creates a new worktree with a clear directory-selection priority and, for project-local directories, verifies the target directory is ignored before creating it.
- Baseline setup and verification: Runs repo-appropriate dependency install steps and verifies a clean baseline via tests before proceeding.
Quick Start
Use the using-git-worktrees skill to create (or reuse) an isolated worktree, run baseline setup, and confirm tests pass before starting your feature implementation.