local-merge
Installation
SKILL.md
/local-merge
Land a source branch onto a target branch through a disposable shallow clone, then update the PRIMARY worktree only if that worktree is already on the target branch.
Default target is main.
Inputs
| Input | Required | Default | Example |
|---|---|---|---|
BRANCH |
yes | — | feat/local-merge-skill |
TARGET |
no | main |
develop, release/v2 |
PRIMARY |
no | primary worktree path | /Users/you/projects/repo |
MESSAGE |
no | merge: $BRANCH into $TARGET |
merge: feat/auth into main |
Operating model
Treat this as two separate problems: