git-worktrees
Installation
SKILL.md
Git worktrees
Owns the whole worktree lifecycle: raw git worktree when that is all that is available, and Worktrunk (wt) configuration, hooks, LLM commits, merge pipeline, and parallel agent lanes when wt is installed.
Use this skill when
- You need isolated workspaces for parallel changes in the same repository.
- Multiple agents or contributors may work concurrently and branch-switch churn would be risky or slow.
- You want safer experimentation while keeping the primary checkout stable.
- The user explicitly asks for a separate checkout, isolated lane, or worktree-based cleanup or recovery.
- The user asks how to configure Worktrunk (
wt config,~/.config/worktrunk/config.toml,.config/wt.toml). - The user wants LLM-generated commit messages or branch summaries from
wt. - The user needs to author or debug
wthooks (post-start,pre-merge, and the rest). - The user is setting up parallel agent lanes with
wt switch --create --execute=…. - The user asks about
wt merge,wt step, the merge pipeline, shell integration, or worktree path layout.