What problem does it solve?
This Skill eliminates the clutter and risk of managing multiple branches in a single workspace. It creates isolated Git worktrees, ensuring your current feature work remains clean, focused, and separate from your main development environment, preventing accidental commits or difficult context switching.
Core Features & Use Cases
- Isolated Workspaces: Create dedicated, clean working directories for new features, bug fixes, or experimental work without affecting your main branch.
- Smart Directory Selection: Automatically or interactively determine the optimal location for your worktrees, integrating with
.gitignore for safety and consistency.
- Automated Setup & Verification: Automatically install project dependencies and run baseline tests in the new worktree, ensuring a ready-to-use, verified environment.
- Use Case: Before starting a new
feature/auth branch, use this skill to create a dedicated worktree. It will set up the environment, install npm dependencies, and run tests, so you can immediately begin coding in an isolated, verified space.
Quick Start
Start an isolated workspace for a new feature
You: I'm using the using-git-worktrees skill to set up an isolated workspace.
... Skill will guide you through directory selection and setup ...
Worktree ready at /Users/jesse/myproject/.worktrees/auth
Tests passing (47 tests, 0 failures)
Ready to implement auth feature