What problem does it solve?
This skill streamlines working on multiple features in parallel by creating isolated git worktrees so developers can work on separate feature branches without switching a single main checkout or causing local conflicts.
Core Features & Use Cases
- Ensures the repository is up to date by fetching from origin before creating worktrees.
- Validates and updates .gitignore to include .worktrees to avoid committing local worktree directories.
- Detects whether a feat/<name> branch already exists and either attaches a worktree to the existing branch or creates a new branch from origin/develop or origin/master.
- Useful for feature development, reviewer workflows, and running multiple environments or tests concurrently without interfering with the primary working directory.
Quick Start
Invoke the skill with a branch name, for example: /worktree auth-refactor to create or attach a worktree for that feature.