code-review

code-review is a skill for Claude Code from johnku2011/boilerplates-with-ai-skills. It costs 28 tokens per session (625 once invoked), scanned A, original, MIT.

A code-review process for examining a code change or pull request before it is merged.

In plain words
What is it for?
Use it before merging, after major features or bug fixes, during security-sensitive changes, or before a large refactor.
Why use it?
It helps catch incorrect logic, missing tests, readability problems, security issues, and leaks between server-side and browser-side code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before merging, after major features or bug fixes, during security-sensitive changes, or before a large refactor.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnku2011/boilerplates-with-ai-skills/code-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 johnku2011/boilerplates-with-ai-skills --skill code-review
Clone the repo
git clone --depth 1 https://github.com/johnku2011/boilerplates-with-ai-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnku2011/boilerplates-with-ai-skills/code-review/github.svg)](https://agentmods.dev/skills/johnku2011/boilerplates-with-ai-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/johnku2011/boilerplates-with-ai-skills/code-review"><img src="https://agentmods.dev/badge/skills/johnku2011/boilerplates-with-ai-skills/code-review/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnku2011/boilerplates-with-ai-skills/code-review"><img src="https://agentmods.dev/badge/skills/johnku2011/boilerplates-with-ai-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 79
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00028 $0.00625
Opus 5 $0.00014 $0.00313
Sonnet 5 $0.00006 $0.00125
Haiku 4.5 $0.00003 $0.00063

Measured 13d ago against content hash a6858b529dea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

code-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 13d 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.

shared/skills/code-review/SKILL.md · 89 lines

How it starts

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

Code Review

Overview

Give a focused, constructive review of a change. Separate blocking issues from optional suggestions. Review the work product (diff + tests), not the author's process.

Core principle: Review early, review often — before merge, not after production.

When to Review

Mandatory:

  • Before merging to the main branch
  • After completing a major feature or multi-file change
  • When security-sensitive paths change (auth, payments, user data)

Valuable:

  • After fixing a non-trivial bug (regression check)
  • Before a large refactor (baseline sanity check)

Process

  1. Read the change description and confirm it matches the diff.
  2. Identify scope: which files, routes, or modules changed and why.
  3. Check correctness: edge cases, error handling, and inputs that could break.
  4. Check tests: is new behavior covered? Do existing tests still pass?
  5. Check readability: clear names, small functions, no dead code.
  6. Check boundaries: server-only code must not leak to client bundles or logs.
  7. Note security concerns as blocking (see project-security skill).

Review Checklist

Area Blocking if…
Correctness Wrong logic, missing error handling, race conditions
Tests New behavior untested; tests deleted without replacement
Security Unvalidated input, secrets in code/logs, missing auth
API shape Breaking changes without migration or docs
Performance Obvious N+1, unbounded loops, sync I/O on hot paths

Output Format

Use this structure every time:

## Blocking
- [file:line] Issue — concrete fix

## Suggestions
- [file:line] Optional improvement

## Verdict
approve | approve-with-nits | request-changes
  • List blocking issues first, each with a concrete fix.
  • Then non-blocking suggestions.
  • End with an explicit verdict.

Integration with TDD

If the change adds behavior without a failing test first, that is a blocking issue unless the author documents why (e.g. config-only change). Ask for tests that prove the behavior.

Read the full file on GitHub · 89 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. 13d ago First seen · 89 lines · 28 tokens per session scan A a6858b529dea

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository johnku2011/boilerplates-with-ai-skills (240 stars, last pushed 19d ago), licensed MIT. It adds 28 tokens to every session and 625 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.