pr-review-merge

pr-review-merge is a skill for Claude Code from bjcoombs/ai-native-toolkit. It costs 131 tokens per session (4,787 once invoked), scanned A, original, Apache-2.0.

A procedure for taking one GitHub pull request from review to merge-ready, then merging it. It checks synchronization, automated checks, review comments, conversations, and discussion threads.

In plain words
What is it for?
Use it when reviewing, fixing, synchronizing, validating, and merging a single pull request.
Why use it?
It prevents a change from being merged while one part of its review or validation is still unresolved.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions .claude-plugin; mentions CLAUDE.md.

Part of the ai-native-toolkit plugin — 19 skills, 8 agents shipped together

Good fit Use it when reviewing, fixing, synchronizing, validating, and merging a single pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bjcoombs/ai-native-toolkit/pr-review-merge
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bjcoombs/ai-native-toolkit --skill pr-review-merge
Clone the repo
git clone --depth 1 https://github.com/bjcoombs/ai-native-toolkit

Made for: Claude Code.

Or install ai-native-toolkit, the plugin that ships this one along with the rest of its 19 skills, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-review-merge

README.md
[![agentmods](https://agentmods.dev/badge/skills/bjcoombs/ai-native-toolkit/pr-review-merge/github.svg)](https://agentmods.dev/skills/bjcoombs/ai-native-toolkit/pr-review-merge)
Your own site
<a href="https://agentmods.dev/skills/bjcoombs/ai-native-toolkit/pr-review-merge"><img src="https://agentmods.dev/badge/skills/bjcoombs/ai-native-toolkit/pr-review-merge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-review-merge

Your own site · 80×15
<a href="https://agentmods.dev/skills/bjcoombs/ai-native-toolkit/pr-review-merge"><img src="https://agentmods.dev/badge/skills/bjcoombs/ai-native-toolkit/pr-review-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.04787
Opus 5.5 $0.00052 $0.01915
Sonnet 5.5 $0.00026 $0.00957
Haiku 4.5 $0.00013 $0.00479

Measured 1mo ago against content hash cda687c85a3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-review-merge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pr-review-merge/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Review-to-Green + Smart Merge

Source-agnostic. Consumers pass: PR number, base branch, and bot-reviewer/CI rules from the project's ## Marathon Configuration (defaults if absent).

Run-completion is gated elsewhere (floor)

This skill takes one PR to merge — a process signal. A green, merged PR is not proof the run's assembled product works, and this skill never certifies run-completion. That is gated by the acceptance-contract scripts the marathon engine invokes, not here: scripts/contract/start_gate.py fails closed at run start unless the contract is frozen before decomposition, scripts/contract/spawn_verifier.py is the sole custody chokepoint that spawns the cold non-implementing verifier against the assembled product, and scripts/contract/complete_gate.py fails closed unless that verifier's completion record validates. Merging here never substitutes for those gates. This note is part of the constitutional floor (FLOOR.md); the retro may propose changes but never self-apply them.

Ready Criteria (ALL must be true)

The PR is merge-ready only when all six are simultaneously true. Re-check from the top after every push — a fix can reopen an earlier criterion.

  1. Branch in sync — no merge conflicts with base branch
  2. CI passing — all checks succeed (or skipped)
  3. All inline comments addressed — see thread resolution rules
  4. No unaddressed conversation comments — actionable feedback responded to
  5. All review threads resolved — no unresolved threads remain
  6. Re-reviewing bots have reviewed the head SHA - every bot the project's Marathon Configuration flags Re-reviews on push: yes has completed its pass on the current head SHA. For a bot without Re-review check name, at least one of its reviews must carry that head SHA as its commit_id (a review of an earlier commit does not count), and that is the limit of this path: any review on the head SHA satisfies it, a placeholder or rate-limited one included, so a bot whose pass must be proven belongs on Re-review check name. For a bot configured with Re-review check name, only the check run of that name on the head SHA decides (its submitted reviews do not: the check run is what turns red when the reviewer exits with an error after posting), and that run has four observable states: in progress (or not yet created) - keep waiting until the max wait expires; completed with conclusion success - the criterion is satisfied for that bot, and the marathon skill's Commit:-line spot check still applies before merging on it; completed with conclusion skipped - the bot is not applicable to this PR (a reviewer job that skips some actors, such as Dependabot, by design), so the criterion is satisfied for that bot with no warning; completed with any other conclusion (failure, cancelled, neutral, timed_out) - a settled verdict that the bot did not complete a green pass, so the criterion takes the warning path at once. Any push restarts the wait. The wait is bounded per bot by that bot's Max wait for re-review, measured from when the head commit was pushed (the earliest check-suite creation on the head SHA, not the commit's committer date, which predates the push and resets on rebase); when Re-reviews on push: yes and Max wait for re-review is absent, the bound is 15m. If no check suite exists on the head SHA, fall back to the head commit's committer date as a floor - explicitly not the push time, it only guarantees the bound always expires. When the max wait expires before the bot completes, or a check-name bot's run settles on a conclusion other than success or skipped, the criterion passes with a warning recorded in the merge record (the PR comment or report that accompanies the merge) naming the bot, the head SHA, and what was observed: for a check-name bot, the check run's conclusion on that SHA (or that no completed run exists) and, so the record never contradicts the reviews endpoint, whether path (a) shows a review of that head SHA anyway; for a review bot, that no review of that SHA was found. The record states that the bot did not complete a green pass, not that it did not review. Merge proceeds with that warning; nothing holds forever on an advisory bot. Bots without Re-reviews on push: yes are never waited on, so a project with no such flags sees no change.

Read the full file on GitHub · 248 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +27 lines · +8 tokens per session cda687c85a3a
  2. 1mo ago First seen · 221 lines · 123 tokens per session scan A ff6c86866dd1

Subscribe to this mod's changes

pr-review-merge is a skill published in the GitHub repository bjcoombs/ai-native-toolkit (32 stars, last pushed 9d ago), licensed Apache-2.0. It adds 131 tokens to every session and 4,787 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories