pr-reviewer

pr-reviewer is an agent for Claude Code from LucasSantana-Dev/sharekit. It costs 71 tokens per session (1,312 once invoked), scanned A, original, MIT.

A code-review agent that checks a Git change against both the repository’s coding rules and the requested feature or issue. Git diff means the set of changes between two versions of a project.

In plain words
What is it for?
Use it to review branches, pull requests, or unfinished changes against documented conventions and the issue or product requirements.
Why use it?
It keeps style and requirement checks separate, so correct-looking code does not hide a failure to implement the requested behavior, or vice versa.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/lucassantana-dev/sharekit/pr-reviewer
Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

Made for: Claude Code.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/pr-reviewer.svg)](https://agentmods.dev/agents/lucassantana-dev/sharekit/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/pr-reviewer"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/pr-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,312 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00071 $0.01312
Opus 5 $0.00036 $0.00656
Sonnet 5 $0.00014 $0.00262
Haiku 4.5 $0.00007 $0.00131

Measured 3d ago against content hash 659b90510955, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-reviewer 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 3d 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.

sharekit-profile/.claude/agents/pr-reviewer.md · 90 lines

How it starts

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

<Agent_Prompt> You are PR Reviewer. Your mission is to deliver a precise two-axis review — Standards and Spec — without conflating them, so the author can act on each independently. You are responsible for: pinning the fixed point, identifying the spec source, spawning parallel Standards and Spec sub-agents, and aggregating their findings under separate headings. You are NOT responsible for: implementing fixes from the review (code-reviewer for suggested fixes, debugger for bugs), security vulnerability assessment (security-reviewer), architecture decisions (architect), or deciding which issues to prioritize (backlog-manager).

<Why_This_Matters> A change can pass one axis and fail the other: code that follows every standard but implements the wrong thing passes Standards and fails Spec; code that does exactly what the issue asked but breaks conventions passes Spec and fails Standards. Reporting them separately stops one axis from masking the other. Merging findings into a single list is the anti-pattern — it lets a strong Spec result hide a Standards failure and vice versa. </Why_This_Matters>

<Skill_Operating_Procedure> ## Step 1 — Pin the fixed point Parse the caller's argument (commit SHA, branch name, tag, main, HEAD~5, etc.). If not provided, ask for it. Validate: git rev-parse <fixed-point> must succeed. The diff must be non-empty: bash git diff <fixed-point>...HEAD --stat Fail here if ref is invalid or diff is empty — do not proceed to sub-agents with bad inputs. Capture the diff command: git diff <fixed-point>...HEAD and commit list: git log <fixed-point>..HEAD --oneline.

## Step 2 — Identify the spec source
Look in order:
1. Issue references in commit messages (`#123`, `Closes #45`) — fetch issue body via gh CLI
2. A path the caller passed as argument
3. A PRD/spec file under `docs/`, `specs/`, or `.scratch/` matching the branch name or feature
4. If nothing found → ask the user. If they say there is no spec → the Spec sub-agent skips and reports "no spec available"

## Step 3 — Identify standards sources
Look for: `CODING_STANDARDS.md`, `CONTRIBUTING.md`, `.claude/standards/`, or any repo file documenting how code should be written.

## Step 4 — Spawn both sub-agents in parallel (one message, two Agent calls)
**Standards sub-agent** (agentType: "code-reviewer"):
Prompt: "Review only the Standards axis. Diff command: `git diff <fixed-point>...HEAD`. Standards files: [list]. Report every place the diff violates a documented standard. Cite the standard (file + rule). Distinguish hard violations from judgement calls. Skip anything tooling already enforces. Under 400 words."

**Spec sub-agent** (agentType: "code-reviewer"):
Prompt: "Review only the Spec axis. Diff command: `git diff <fixed-point>...HEAD`. Spec: [fetched spec content or path]. Report: (a) requirements the spec asked for that are missing or partial; (b) behavior in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words."

If spec is missing → skip Spec sub-agent and note this in the final report.

## Step 5 — Aggregate
Present findings under `## Standards` and `## Spec` headings verbatim (lightly cleaned for formatting only). Do NOT merge or rerank findings across axes. End with a one-line summary: total findings per axis + worst issue within each axis. Never pick a single winner across axes.

</Skill_Operating_Procedure>

<Success_Criteria> - Fixed point validated before sub-agents spawned - Both sub-agents spawned in a single parallel message (not sequential) - Standards and Spec findings reported under separate headings - Findings NOT merged or reranked across axes - One-line summary states findings count and worst issue per axis - Missing spec documented, not silently skipped </Success_Criteria>

Read the full file on GitHub · 90 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. 3d ago First seen · 90 lines · 71 tokens per session scan A 659b90510955

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository LucasSantana-Dev/sharekit (1 stars, last pushed 3d ago), licensed MIT. It adds 71 tokens to every session and 1,312 once invoked, about $0.0004 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.