What problem does it solve?
When working on new features, uncommitted changes in your primary workspace can conflict with other ongoing work, accidentally break your current branch, or lead to messy commit history if you don't use a separate isolated environment for in-progress work.
Core Features & Use Cases
- Automatic Isolation Detection: Checks if you are already in an existing worktree or git submodule before creating a new workspace to avoid redundant setup.
- Tool Preference Handling: Prioritizes native platform worktree tools when available, and falls back to manual git worktree creation only when no native tool is present.
- Safe Setup & Validation: Ensures worktree directories are added to .gitignore to prevent accidental commits, runs project-specific dependency installation, and verifies a clean baseline test suite before you start work.
- Use Case: If you are starting work on a new payment processing feature, this skill will set up a separate isolated workspace so your main development branch stays clean and unaffected by your in-progress changes.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for your new feature work before you begin implementation.