code-review

code-review is a skill for Claude Code from jasonkneen/agent-skills. It costs 0 tokens per session (271 once invoked), scanned A, original, MIT.

A code-review guide covering correctness, readability, maintainability, security, performance, tests, and developer experience.

In plain words
What is it for?
Use it to review pull requests and code changes, identify must-fix issues and optional suggestions, check test coverage and edge cases, and record questions or uncertainties.
Why use it?
It gives reviews a consistent checklist so important defects and unclear or risky changes are less likely to be missed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the claude-skills plugin — 1 skill shipped together

Good fit Use it to review pull requests and code changes, identify must-fix issues and optional suggestions, check test coverage and edge cases, and record questions or uncertainties.

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

Made for: Claude Code.

Or install claude-skills, the plugin that ships this one along with the rest of its 1 skill.

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/jasonkneen/agent-skills/code-review.svg)](https://agentmods.dev/skills/jasonkneen/agent-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/jasonkneen/agent-skills/code-review"><img src="https://agentmods.dev/badge/skills/jasonkneen/agent-skills/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 271 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.00000 $0.00271
Opus 5 $0.00000 $0.00135
Sonnet 5 $0.00000 $0.00054
Haiku 4.5 $0.00000 $0.00027

Measured 8d ago against content hash 3f5ac196f8ea, 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 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/code-review/SKILL.md · 48 lines

What it actually says

Code Review Skill

Purpose

Provide consistent, high-signal code reviews by focusing on correctness, clarity, maintainability, security, performance, tests, and developer experience.

Inputs

  • PR description and linked issues
  • Code diffs and file context
  • Existing conventions in the repository

Review Checklist

Correctness

  • Does the change satisfy the requirements?
  • Are edge cases handled?
  • Are errors propagated/handled appropriately?

Readability & Maintainability

  • Is the code easy to follow?
  • Are names clear and consistent?
  • Is complexity justified?
  • Are public APIs documented?

Security

  • Validate/encode untrusted input
  • Avoid leaking secrets/PII
  • Check authZ/authN boundaries

Performance

  • Watch for N+1 queries, unnecessary allocations, inefficient loops
  • Ensure any tradeoffs are explained

Testing

  • Are tests added/updated?
  • Do tests cover failure cases and boundaries?
  • Are tests deterministic and fast?

Style & Consistency

  • Follows project lint/format rules
  • No dead code or commented-out blocks

Output Format

  • Summary of change
  • Key issues (must-fix)
  • Suggestions (nice-to-have)
  • Questions/uncertainties

Tone

Be constructive and specific. Prefer actionable suggestions with examples.

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 · 48 lines · 0 tokens per session scan A 3f5ac196f8ea

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository jasonkneen/agent-skills (20 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 271 tokens. 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.