local-merge
/local-merge
Merge a branch into a target branch via a disposable shallow clone, then propagate to the primary worktree non-destructively. Defaults to main if no target specified.
Inputs
| Input | Required | Default | Example |
|---|---|---|---|
BRANCH |
yes | — | feat/local-merge-skill |
TARGET |
no | main |
develop, release/v2 |
PRIMARY |
no | First line of git worktree list |
/Users/you/projects/repo |
MESSAGE |
no | merge: $BRANCH into $TARGET |
merge: feat/auth into main |
Phase 1 — Remote Merge (mechanical)
All commands are explicit. No reasoning required.
1a. Calculate clone depth
More from camacho/ai-skills
bail
Reflects, updates GitHub Issue, closes PR if open, cleans up worktree/branch.
566plan-review
Auto-assembles review panel using deterministic rules, dispatches agents against plan file, collects verdicts.
547archive
Fills Outcomes & Learnings in a plan file and renames it to .done.md.
542orient
Fetches issue context, auto-detects task type, maps to branch prefix, presents brief.
537capture
Creates a draft GitHub Issue with triage label from natural language description.
535reflect
Use after merging a branch or completing a task to consolidate learnings into memory layers, close out issues, and verify the phase gate.
500