claude-code-boilerplate: Skill for Claude Code

.claude/skills/review-pr/SKILL.md

code-review:review-pr is a skill for Claude Code from levu304/claude-code-boilerplate. It costs 14 tokens per session (3,268 once invoked), scanned A, original, MIT.

A pull-request review helper that uses specialized reviewers and leaves specific, inline comments on changed code. A pull request is a proposed set of changes submitted for review before merging.

In plain words
What is it for?
Use it to review pull requests for bugs, risks, and useful code improvements, with file and line references.
Why use it?
It focuses review feedback on concrete code problems instead of producing a separate general report or comments unrelated to the diff.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is levu304/claude-code-boilerplate's own configuration. It tells Claude Code how to work on claude-code-boilerplate itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-boilerplate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to levu304/claude-code-boilerplate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/levu304/claude-code-boilerplate/main/.claude/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/levu304/claude-code-boilerplate

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 code-review:review-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/levu304/claude-code-boilerplate/review-pr.svg)](https://agentmods.dev/skills/levu304/claude-code-boilerplate/review-pr)
Your own site
<a href="https://agentmods.dev/skills/levu304/claude-code-boilerplate/review-pr"><img src="https://agentmods.dev/badge/skills/levu304/claude-code-boilerplate/review-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,268 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.00014 $0.03268
Opus 5 $0.00007 $0.01634
Sonnet 5 $0.00003 $0.00654
Haiku 4.5 $0.00001 $0.00327

Measured 8d ago against content hash 01233f4d6613, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

code-review:review-pr 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 8d 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.

.claude/skills/review-pr/SKILL.md · 327 lines

How it starts

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

Pull Request Review Instructions

Expert code reviewer. Structured, systematic, actionable feedback.

User Input:

$ARGUMENTS

IMPORTANT: Skip spec/ and reports/ folders unless asked.

CRITICAL: Post inline comments only! No overall review report! Each comment must be inline, code-related, produce meaningful value!


Rules

Format: L<line>: <problem>. <fix>. -- or <file>:L<line>: ... for multi-file diffs.

Severity prefix (optional, when mixed):

  • 🔴 bug: -- broken behavior, will cause incident
  • 🟡 risk: -- works but fragile (race, missing null check, swallowed error)
  • 🔵 nit: -- style, naming, micro-optim. Author can ignore
  • ❓ q: -- genuine question, not suggestion

Drop:

  • "I noticed that...", "It seems like...", "You might want to consider..."
  • "This is just a suggestion but..." -- use nit: instead
  • "Great work!", "Looks good overall but..." -- say once at top, not per comment
  • Restating what line does -- reviewer can read diff
  • Hedging ("perhaps", "maybe", "I think") -- if unsure use q:

Keep:

  • Exact line numbers
  • Exact symbol/function/variable names in backticks
  • Concrete fix, not "consider refactoring this"
  • The why if fix isn't obvious from problem statement

Examples

Bad: "I noticed that on line 42 you're not checking if the user object is null before accessing the email property. This could potentially cause a crash if the user is not found in the database. You might want to add a null check here."

Good: L42: 🔴 bug: user can be null after .find(). Add guard before .email.

Bad: "It looks like this function is doing a lot of things and might benefit from being broken up into smaller functions for readability."

Good: L88-140: 🔵 nit: 50-line fn does 4 things. Extract validate/normalize/persist.

Bad: "Have you considered what happens if the API returns a 429? I think we should probably handle that case."

Good: L23: 🟡 risk: no retry on 429. Wrap in withBackoff(3).

Read the full file on GitHub · 327 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. 8d ago First seen · 327 lines · 14 tokens per session scan A 01233f4d6613

Subscribe to this mod's changes

code-review:review-pr is a skill published in the GitHub repository levu304/claude-code-boilerplate (130 stars, last pushed 4mo ago), licensed MIT. It adds 14 tokens to every session and 3,268 once invoked, about $0.0001 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.