use-worktrees

Installation
SKILL.md

Use git worktrees

Create

Worktrees live only in ~/worktrees/<repo-dir>/<branch-slug> (branch name with / → -). Create them with Git:

git worktree add ~/worktrees/<repo-dir>/<branch-slug> -b <branch> <target-branch>

For an existing branch, such as an open PR, run git fetch origin <branch>:<branch> and drop -b. Inside herdr (HERDR_ENV=1), don't use herdr worktree create: it opens a separate workspace. Open the worktree in a new pane of your current workspace instead:

herdr pane split --current --direction right --cwd <worktree-path> --no-focus

Tag the new pane as your worker, with its id from the split's reply (result.pane.pane_id), so agentmanager shows it under you:

Installs
17
GitHub Stars
60
First Seen
Aug 21, 2026