What problem does it solve?
This Skill eliminates the risk of work conflicts and context switching errors when developing multiple features, bug fixes, or experimental changes in the same git repository, ensuring you can work on concurrent tasks without disrupting your main workspace or mixing unfinished code.
Core Features & Use Cases
- Intelligent Directory Selection: Automatically prioritizes project-local hidden worktree directories, respects project-specific preferences defined in CLAUDE.md, and prompts for user input when no default exists.
- Safety-First Verification: Ensures project-local worktree directories are added to .gitignore before creation to prevent accidental commits of isolated workspace contents.
- Automated Project Setup: Auto-detects the project's tech stack (Node.js, Rust, Python, Go) and runs appropriate dependency installation steps, plus verifies a clean test baseline to catch pre-existing issues before you start work.
- Use Case: For example, if you need to implement a new payment feature while also addressing a critical production bug, this Skill sets up a separate isolated workspace for the payment work so you can switch between tasks without losing progress or introducing conflicts.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for your new feature branch.