landing-prslisted
Install: claude install-skill bostonaholic/skills
# Landing PRs
- `gh pr merge` is irreversible.
- Run only on a direct "ship it", "land the PR", or `/landing-prs`; an
approved, green, or finished-looking PR is not ship intent.
- That request also authorizes the rebase and the lease-guarded force-push a
behind branch needs; never stop to hand either back to the user.
- Once the CI gate below passes, merge without asking again.
The scripts live in `<skill-dir>/scripts/` and run from the repository, on the
PR's head branch.
## Before pushing
Run `"<skill-dir>/scripts/preflight.sh" [<n>]`, passing the argument (digits
only) when the user gave one. On exit 0 use its `KEY=VALUE` lines below. Any
other exit: stop and report its stderr. For exit 4 on a wrong branch, tell the
user to run `gh pr checkout <n>` and re-run.
### Rebase when behind
Rebase only when `BEHIND` is above `0`:
1. `git rebase refs/remotes/<REMOTE>/<BASE_REF>`, adding `--rebase-merges`
when `MERGES` is above `0`.
2. On a conflict, `git rebase --abort` and call the Skill tool with
`modernizing-prs` and `<n>` (see [skill calls](shared/skill-calls.md)).
When it finishes pushed, continue; when it stops, stop and relay its
report. If it is not installed, name the conflicting paths and end with
`Next: /modernizing-prs <n>, then /landing-prs <n>`.
### Pre-merge steps and push
If the project's agent instructions declare a step to run before merging (for
example, a version bump), run it now. If it stops, stop.
Then push. After a rebase this sk