SuperAPI AI Directory

specrail-pr-gate

General & other

View repository

Updated 10-16 00:04

About this skill

SpecRail PR Gate

Use this skill before saying a PR is merge-ready.

Steps

  1. Collect current PR evidence. Prefer the read-only adapter when available:
python3 checks/github_pr_evidence.py --github-repo <owner/repo> --pr <pr-number> --json > <evidence.json>
  1. Run the offline gate:
python3 checks/pr_gate.py --repo . --evidence <evidence.json> --json
  1. Confirm evidence includes linked issue, current PR head SHA, CI/check rollup, review decision, review-thread resolution, merge state, and human merge authorization.
  2. Interpret decisions precisely:
    • allowed: evidence satisfies the local merge-readiness policy.
    • needs_human: deterministic evidence passed, but a human gate is missing.
    • blocked: do not merge.
  3. Report the evidence file path, decision, blockers, and stale or missing data.

Boundaries

  • Do not merge from this skill.
  • Do not treat green CI alone as merge readiness.
  • Do not ignore unresolved review threads.
  • Do not replace maintainer final review or human merge authorization.