What problem does it solve?
This Skill eliminates workspace conflicts and accidental changes to active work when developing multiple features or fixes in the same Git repository, removing the risk of trampling your current working directory during parallel development.
Core Features & Use Cases
- Smart Directory Selection: Automatically prioritizes project-local hidden .worktrees folders, respects CLAUDE.md preferences, or prompts you for a location if no default exists.
- Safety-First Verification: Ensures project-local worktree directories are ignored by Git before creation to prevent accidental commits of worktree contents.
- Automated Setup & Validation: Auto-detects and runs project-specific dependency installation for common tools like npm, cargo, pip, and others, then verifies a clean test baseline before marking the workspace ready.
- Use Case: For example, if you are implementing a new payment feature while maintaining an active bug fix in your main workspace, use this Skill to create an isolated worktree for the payment work without disrupting your current tasks.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for your new feature branch.