When to use this
- When working on multiple features simultaneously without branch-switching overhead
- When you want to test a branch in isolation while keeping main checked out in your primary terminal
- Before running long-running tests on a feature branch without blocking your current working directory
How to use
-
Open the template on GitHub and copy its content:
commands/git-worktree.md -
Place the file inside
.claude/skills/in your project (or globally in~/.claude/to share across all projects). - Edit the Markdown content to match your project conventions, team constraints, and specific context.