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)

  1. Not on main: if HEAD is main, refuse and stop.
  2. Uncommitted changes: a request to land counts as a request to commit. If there are uncommitted changes (staged or unstaged), commit them by /prepare-commit first. If it stops (unrelated changes, failed checks or hooks), stop too.
  3. Already landed: if work branch and main point 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).

Installs
35
GitHub Stars
1
First Seen
Sep 18, 2026