land-to-main
Installation
SKILL.md
Land to Main
Land the current work branch onto local main. Remotes are out of scope — do not push or pull.
Preconditions (fail fast)
- Not on
main: ifHEADismain, refuse and stop. - Uncommitted changes: a request to land counts as a request to commit.
If there are uncommitted changes (staged or unstaged), commit them by
/prepare-commitfirst. If it stops (unrelated changes, failed checks or hooks), stop too. - Already landed: if work branch and
mainpoint at the same commit, report that and stop (nothing to do).
Workflow
Run these steps in order. Stop and wait for the user on any unexpected failure.
1. Inspect history
Review commits on the work branch that are not on main (git log main..HEAD).