What problem does it solve?
This skill simplifies the management of Git worktrees, providing an isolated and streamlined way to handle parallel development, code reviews, and feature work without the complexities of manual Git commands.
Core Features & Use Cases
- Create Worktrees: Easily create new worktrees from a specified branch (defaults to
main), ensuring .env files are copied and .gitignore is updated.
- List & Switch: View all active worktrees and seamlessly switch between them.
- Cleanup: Safely remove completed worktrees with interactive confirmation.
- Use Case: When reviewing a pull request, if you're not on the target branch, this skill can create an isolated worktree for the PR, allowing you to review code without disrupting your current work, and then clean it up afterward.
Quick Start
Use the git-worktree skill to create a new worktree for the feature-login branch.