local-merge

Installation
SKILL.md

/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

Related skills
Installs
238
First Seen
14 days ago