specrail-pr-gatelisted
Install: claude install-skill majiayu000/remem
# 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:
```sh
python3 checks/github_pr_evidence.py --github-repo <owner/repo> --pr <pr-number> --json > <evidence.json>
```
2. Run the offline gate:
```sh
python3 checks/pr_gate.py --repo . --evidence <evidence.json> --json
```
3. Confirm evidence includes linked issue, current PR head SHA, CI/check rollup,
review decision, review-thread resolution, merge state, and human merge
authorization.
4. 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.
5. 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.