green-prs — PR Queue Greening Audit
A maintainer skill that validates and repairs a PR queue against its exact current base, preserves contributor credit, and reports full versus partial validation with structured evidence.
Dev & CodingAdvanced★ 85,858⑂ 13,013AI score 6/10Last updated: Nov 9, 2026
What it does
- Resolves scope from the owner's PR list or eligible
merge-ready/fix-in-placeplans in_tasks/pipeline/prs/1-analyzed/, recording state, author, head SHA, base branch/SHA, freeze status and worktree ownership. - Forbids assuming inherited breakage: failure signatures must be matched against the exact base under comparable runtime and config, with confirmed base defects fixed in a dedicated PR.
- Uses one isolated branch/worktree per PR, verifying the checked-out SHA equals the live head before editing and that the remote is unchanged before pushing (otherwise HOLD).
- Enforces RED reproduction → proven fix → focused and affected suites, while preserving the original author's work and adding co-authorship instead of taking credit.
- Treats fast checks as triage only; full acceptance must cover every required lane (both test runners, coverage, security, build/package/boot) and
DRIFTnever counts as PASS. - Emits a structured receipt (base SHA, head SHA, candidate SHA/tree, policy/profile, run IDs, artifacts, validation level, timestamp) and reports PASS / PARTIAL / BASE-RED / PR-RED / INFRA-RED / ACTION_REQUIRED-HOLD separately. It never merges or closes PRs.
Who it's for
- Open-source maintainers triaging a large queue of community PRs
- Release owners on repos with multiple required CI lanes and frozen release branches
- Platform/release engineering teams that need auditable proof of what was actually validated
Examples
- "Pre-green the 12 open PRs" → each PR is validated in its own worktree and returned classified as PASS/PARTIAL/HOLD with evidence.
- All CI is red → the skill separates genuine base defects from contributor regressions and files the base fix as its own PR.
- A fork PR sits at
action_required→ it is reported as a trust/approval HOLD rather than a code failure.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/cheaper-inference/OmniRoute/HEAD/config/quality/skill-templates/green-prs/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the config/quality/skill-templates/green-prs folder from the GitHub repo cheaper-inference/OmniRoute into my ~/.claude/skills/green-prs/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/cheaper-inference/OmniRoute.git && mkdir -p ~/.claude/skills && cp -r OmniRoute/config/quality/skill-templates/green-prs OmniRoute/config/quality/skill-templates/_shared ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/cheaper-inference/OmniRoute.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r OmniRoute/config/quality/skill-templates/green-prs ~/.claude/skills/ - Important — the skill reads
../_shared/base-green.md,validation-gate.md,protected-surfaces.md,merge-gates.mdandworktree-teardown.md. Copy the sibling folder too:cp -r OmniRoute/config/quality/skill-templates/_shared ~/.claude/skills/ - Check that the relative
../_shared/...paths insideSKILL.mdstill resolve in your layout; edit them if not. - Restart Claude Code, then ask something like "pre-green the selected PR queue" to trigger it.
- Before running, authenticate the
ghCLI, confirmgit worktreeis available, and install the project's exact lockfile/toolchain dependencies.
View source on GitHub ↗License: MIT