What problem does it solve?
This skill solves the friction of context switching between multiple branches or tasks by allowing you to maintain separate, isolated working directories for different features or agent sessions within a single repository.
Core Features & Use Cases
- Parallel Workspaces: Create and manage multiple Git worktrees under a standardized project directory, enabling simultaneous development or agent sessions without file conflicts.
- Safe Lifecycle Management: Provides robust commands for creating, listing, repairing, and safely removing worktrees, including built-in checks to prevent accidental deletion of the main repository.
- Use Case: When you need to work on a hotfix while simultaneously running a long-running experiment or a separate AI agent session, this skill allows you to spin up a new, isolated environment instantly without stashing or switching your current branch.
Quick Start
Use the git-worktree skill to create a new isolated workspace for the feature-auth branch and move your current session into it.