pr-review

pr-review is a skill for Claude Code from LuisFelipeMoro/Harness-devkit. It costs 69 tokens per session (900 once invoked), scanned A, original, MIT.

A GitHub pull-request review that checks a proposed code change for security, language standards, tests, and whether the change stays focused.

In plain words
What is it for?
Use it to review a pull request or the current branch, fetch its checks, post inline comments through GitHub’s command-line tool, and give a final verdict.
Why use it?
It provides evidence-based, severity-labelled comments on specific changed lines, helping authors find problems before merging.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pr-workflow plugin — 2 skills shipped together

Good fit Use it to review a pull request or the current branch, fetch…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luisfelipemoro/harness-devkit/pr-review
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 LuisFelipeMoro/Harness-devkit --skill pr-review
Clone the repo
git clone --depth 1 https://github.com/LuisFelipeMoro/Harness-devkit

Made for: Claude Code.

Or install pr-workflow, the plugin that ships this one along with the rest of its 2 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/pr-review.svg)](https://agentmods.dev/skills/luisfelipemoro/harness-devkit/pr-review)
Your own site
<a href="https://agentmods.dev/skills/luisfelipemoro/harness-devkit/pr-review"><img src="https://agentmods.dev/badge/skills/luisfelipemoro/harness-devkit/pr-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 900 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.
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.00069 $0.00900
Opus 5 $0.00034 $0.00450
Sonnet 5 $0.00014 $0.00180
Haiku 4.5 $0.00007 $0.00090

Measured 2d ago against content hash 5fef661efdf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

pr-review 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 2d 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.

plugins/pr-workflow/skills/pr-review/SKILL.md · 37 lines

How it starts

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

PR Review

Fetch a PR diff, audit it against a fixed checklist, post severity-tagged inline comments, and print a verdict summary.

Contract

Inputs: a PR number (or the current branch to resolve one); a repo with gh authenticated; the delivery file, its Reuse Map, and the manifest when the PR came from a pipeline — without them the plan-relative Gaps rows and the CD1/CD3/CD7 intent checks cannot be judged. Activated when the user asks to review a PR, or when pr-review-responder.sh hook output is present after a push. Outputs: inline review comments posted via gh pr review; a printed summary block with severity counts, the diff size, the duplication figure, and an action verdict; a Gaps block (unimplemented ACs · spec drift · missing Test Case rows · Reuse Map departures · duplication · untraced changes) printed and posted as one general comment. Boundary: does NOT run the full 10-point OWASP audit (use /security-review); does NOT merge, close, or modify code; does NOT change CI config.

Dependencies (verify before starting):

  • gh — GitHub CLI, authenticated; used to read the diff and post the review.
  • git — to resolve the current branch when no PR number is supplied.

Machine-checkable behavior contract: skill.spec.yml (routes, dependencies, closure, trace).

Steps

  1. Fetch the PR diff, metadata, and CI status — commands in references/output-format.md. If the PR number is unknown, resolve it from the current branch.
  2. Analyse the diff against references/review-checklist.md, in order: PR size (measure it first — it calibrates how much this review is worth, and >800 lines is reported as a finding, not absorbed silently) → Security (OWASP) → Go/TypeScript standards → reuse & duplication (run jscpd . --threshold 3 --min-lines 8 --reporters console over the branch — this is the only review that sees the whole delivery as one diff, so it is the only one that can catch a helper written twice in two stories) → design & durability (the principal-engineer bar: correct → legible → durable → small; every finding names the future change it makes harder) → test quality (falsifiability) → change discipline (does every changed line trace to the request?) → general.
  3. Format each issue as one finding per line per references/output-format.md (severity emoji + path:line + message + suggested fix).
  4. Post findings as inline comments and set the review verdict (--request-changes if any CRITICAL, else --comment, or --approve if clean).
  5. Summarise: print the summary block (severity counts, duplication %, action taken) and the Gaps block — what is missing relative to the plan, which no inline comment can carry because it has no line to attach to. Post the Gaps block as one general PR comment.

Read the full file on GitHub · 37 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed 5fef661efdf7
  2. 6d ago First seen · 37 lines · 69 tokens per session scan A e7c955d93519

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository LuisFelipeMoro/Harness-devkit (11 stars, last pushed 5d ago), licensed MIT. It adds 69 tokens to every session and 900 once invoked, about $0.0003 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-31.