What problem does it solve?
Manually managing multiple Git branches can be messy and error-prone, leading to context switching overhead and accidental commits. This Skill automates the creation of isolated Git worktrees, ensuring a clean and safe development environment for each task.
Core Features & Use Cases
- Isolated Workspaces: Work on multiple features or bug fixes simultaneously without switching branches or polluting your main workspace.
- Smart Directory Selection: Automatically chooses or prompts for the best location for your worktrees, adhering to project conventions.
- Safety Verification: Ensures
.gitignore is updated to prevent accidental commits of worktree contents to the main repository.
- Use Case: When you need to start a new feature while a bug fix is in review, this skill sets up a clean, isolated environment for the feature, installs dependencies, and verifies a clean baseline, all in one automated step.
Quick Start
Create a new worktree for a feature branch
git worktree add .worktrees/my-feature -b feature/my-feature
cd .worktrees/my-feature
The skill will auto-detect and run project setup (e.g., npm install)
and verify a clean baseline.