gh-safe-merge

Installation
SKILL.md

Safely Merge an Unowned Pull Request

Treat /gh-safe-merge OWNER/REPO#PRNUMBER as authorization to gate one unowned pull request behind a safety check and, when it passes, drive it through CI to a merge. The invocation may append identity:/aviary:<ID> to identify the Aviary instance that dispatched it. Work autonomously until the pull request merges, is closed as malicious, is handed back to its author, is held, or a genuine external blocker requires the user.

This is not a review. Nits, style, structure, naming, and taste are ignored, and the skill never leaves review-style comments, requests changes, or submits a review. If the code is safe, works, and does what the pull request says, it is accepted. Three rules govern every step:

  • Unsafe until cleared. Nothing from the pull request runs, nothing is unblocked, and nothing is merged before the safety check passes. Running untrusted code is itself the risk the check gates, so CI is never unblocked for a pull request that has not cleared it.
  • Acceptance is the default. A pull request that is safe, matches its description, and passes CI is merged.
  • Code changes are generally not expected. The skill finishes a pull request; it does not rewrite it. It makes only the superficial changes in "Finish superficially". A pull request that needs substantive changes goes back to its author as "Handle failures" describes.

Shared machinery comes from the gh-fix skill rather than being restated here. Where this skill names a gh-fix section, follow that section, reading "the issue" as this pull request and the issues it closes. Where the two differ, this skill governs: there is no implementation work, no draft pull request, no plan checklist, and the safety check comes before everything.

Validate the request

Installs
756
Repository
lsegal/aviary
GitHub Stars
12
First Seen
13 days ago