pr-review-merge

pr-review-merge is a skill for Claude Code from bjcoombs/ai-native-toolkit. It costs 123 tokens per session (3,220 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: Claude Code plugin machinery. Also seen: mentions CLAUDE.md.

Part of the ai-native-toolkit plugin — 12 skills, 7 commands, 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 12 skills, 7 commands, 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 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,220 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.00123 $0.03220
Opus 5 $0.00062 $0.01610
Sonnet 5 $0.00025 $0.00644
Haiku 4.5 $0.00012 $0.00322

Measured 10d ago against content hash ff6c86866dd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 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 five 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

Thread resolution rules: Follow bot reviewer rules from the project's CLAUDE.md Marathon Configuration. Generic defaults:

  • Bot threads: Fix the code and push. Resolve via GraphQL if addressed. Use jq JSON builder (avoids zsh $ escaping):
    jq -n --arg tid "$THREAD_ID" '{"query": "mutation { resolveReviewThread(input: {threadId: \"\($tid)\"}) { thread { isResolved } } }"}' | gh api graphql --input -
    
  • Human threads: Fix the code, reply inline explaining the fix, @mention the reviewer. Do NOT resolve human threads — let the reviewer confirm.

Read the full file on GitHub · 221 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. 10d 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 (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 123 tokens to every session and 3,220 once invoked, about $0.0006 per session on Opus 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