What problem does it solve?
Developers often need to work on multiple features or bug fixes simultaneously without interfering with their main development branch or current work. Git worktrees solve this by providing isolated, clean workspaces. This skill automates the setup and management of these worktrees, preventing accidental commits and ensuring a clean baseline.
Core Features & Use Cases
- Automated Worktree Creation: Creates isolated Git worktrees with smart directory selection and safety verification.
- Safety Verification: Ensures
.gitignore is updated to prevent accidental commits of worktree contents.
- Dependency Setup: Automatically installs project dependencies (e.g.,
npm install, pip install) within the new worktree.
- Use Case: When starting a new feature, simply activate this skill to get a fresh, isolated environment where you can develop without fear of polluting your main branch or current work.
Quick Start
Use the using-git-worktrees skill to set up an isolated workspace for a new feature branch named 'feature/new-auth'.