What problem does it solve?
This Skill automates the complex setup of isolated Git worktrees, allowing you to work on multiple branches simultaneously without interference. It eliminates manual configuration errors and ensures a clean, tested baseline for every new feature or bug fix, saving setup time and preventing environment conflicts.
Core Features & Use Cases
- Bare Repo Detection: Intelligently locates the bare Git repository root to ensure worktrees are created correctly as siblings.
- Automated Project Setup: Detects and runs appropriate dependency installation commands (npm, cargo, pip, go mod) for a seamless setup.
- Clean Baseline Verification: Automatically runs project tests after setup to confirm a stable, working environment before development begins.
- Use Case: Before starting a new feature, use this Skill to create a dedicated worktree. It will set up the branch, install dependencies, and verify tests, providing you with an isolated, ready-to-code environment in seconds.
Quick Start
Use the using-git-worktree skill to create a new worktree for the 'feature/user-onboarding' branch.
Ensure all dependencies are installed and tests pass.