What problem does it solve?
This Skill eliminates the risk of breaking your stable main working branch during feature development by ensuring all work happens in an isolated workspace, and removes the friction of manually setting up consistent worktrees across different coding platforms and git configurations.
Core Features & Use Cases
- Auto-detection of existing isolation: Checks if you are already in a linked worktree or submodule to avoid redundant setup.
- Cross-platform worktree support: Prioritizes native platform worktree tools over manual git worktree fallback to prevent harness conflicts.
- Safety guardrails: Verifies worktree directories are gitignored to avoid accidental commits, and handles edge cases like sandbox permission errors and submodule environments.
- Use Case: When starting a new payment processing feature for your e-commerce app, this Skill automatically sets up a dedicated isolated workspace so you can make experimental changes without risking your stable main branch, and runs baseline tests to confirm the workspace is ready for work.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for my new payment processing feature.