What problem does it solve?
Developers often need to work on multiple features or bug fixes simultaneously without interfering with their main branch or other ongoing work. Git worktrees provide isolated environments, but setting them up correctly and safely can be complex, especially ensuring .gitignore is updated and project dependencies are installed. This skill automates that setup, preventing accidental commits and ensuring a clean, ready-to-use workspace.
Core Features & Use Cases
- Automated Worktree Creation: Creates isolated Git worktrees for new features or bug fixes.
- Safety Verification: Automatically checks and updates
.gitignore to prevent accidental commits of worktree contents.
- Project Setup Automation: Detects and runs common dependency installations (npm, cargo, pip, poetry, go mod).
- Use Case: Before starting a new feature, use this skill to create a clean, isolated worktree, ensuring your main branch remains untouched and your development environment is ready with all dependencies installed.
Quick Start
Use the using-git-worktrees skill to create a new worktree for the 'feature/new-dashboard' branch.