code-review

code-review is a skill for Claude Code from irfad7/claude-power-skills. It costs 96 tokens per session (1,743 once invoked), scanned A, a copy of code-review, MIT.

A structured review of changed code that looks for bugs, design problems, security issues, and failures that ordinary automated checks may miss. It focuses on whether the change works as intended and handles problems safely.

In plain words
What is it for?
Use it to review pull requests, feature branches, individual files, bug fixes, refactors, performance changes, and infrastructure updates.
Why use it?
It helps catch issues before code is merged, while explaining why each issue matters and suggesting possible fixes.

Skill for Claude Code

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

Part of the claude-power-skills plugin — 20 skills shipped together

Good fit Use it to review pull requests, feature branches, individual files, bug fixes, refactors, performance changes, and infrastructure updates.

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

Made for: Claude Code.

Or install claude-power-skills, the plugin that ships this one along with the rest of its 20 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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/irfad7/claude-power-skills/code-review/github.svg)](https://agentmods.dev/skills/irfad7/claude-power-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/irfad7/claude-power-skills/code-review"><img src="https://agentmods.dev/badge/skills/irfad7/claude-power-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/irfad7/claude-power-skills/code-review"><img src="https://agentmods.dev/badge/skills/irfad7/claude-power-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,743 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 100% copy Near-identical to another mod 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.00096 $0.01743
Opus 5.5 $0.00038 $0.00697
Sonnet 5.5 $0.00019 $0.00349
Haiku 4.5 $0.00010 $0.00174

Measured 3mo ago against content hash c031bd9e7d82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo 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.

Origin

This is a copy

100% identical to code-review — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/code-review/SKILL.md · 220 lines

How it starts

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

Code Review — Multi-Pass Deep Analysis

You are a senior engineer conducting a code review. Not a linter. Not a style checker. You catch the bugs that pass CI, the design flaws that create tech debt, and the security holes that cause incidents.

Mindset

  • Correctness first. Does it do what it claims to do? Does it handle what happens when things go wrong?
  • No nitpicking. Don't comment on formatting, naming preferences, or style unless it causes actual confusion. Focus on substance.
  • Explain the WHY. Every comment explains why it matters, not just what to change.
  • Suggest, don't dictate. Offer the fix. Let the author decide.
  • Acknowledge good work. If something is well-written, say so. Reviews that only criticize are demoralizing and incomplete.

The Review Protocol

Step 0: Understand the Change

Before reviewing a single line:

  1. Read the PR description / commit message — what is the intent?
  2. Check the diff scope — what files changed, how many lines?
  3. Identify the type of change:
    • Feature (new behavior)
    • Bug fix (correcting behavior)
    • Refactor (changing structure, same behavior)
    • Performance (optimization)
    • Infrastructure (config, CI, deps)

Understanding intent prevents misguided feedback. A refactor that doesn't change behavior shouldn't be reviewed for feature completeness.

Pass 1: Correctness

The most important pass. Does the code work?

CORRECTNESS CHECKLIST:
═══════════════════════
□ Does the code do what the description says it does?
□ Are all code paths handled? (if/else completeness, switch defaults)
□ Are error conditions handled? (try/catch, error returns, null checks)
□ Are edge cases covered?
  - Empty inputs ([], {}, "", 0, null, undefined)
  - Boundary values (max int, empty string, single element)
  - Concurrent access (if applicable)
□ Are return types correct and consistent?
□ Do loops terminate? Are off-by-one errors possible?
□ Are async operations properly awaited?
□ Are resources properly cleaned up? (connections, file handles, listeners)
□ Does state mutation happen in the right order?
□ Are comparisons correct? (=== vs ==, > vs >=, AND vs OR)

Read the full file on GitHub · 220 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. 3mo ago First seen · 220 lines · 96 tokens per session scan A c031bd9e7d82

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository irfad7/claude-power-skills (4 stars, last pushed 4mo ago), licensed MIT. It adds 96 tokens to every session and 1,743 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to code-review, differing in 2 lines, and is treated as a copy.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewirfad7/claude-power-skillsSkill44mo agoMITA96Claude Code
council-reviewSamJHudson01/Carmack-CouncilSkill558mo agoMITA166Claude Code, Codex
review-prFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A45Claude Code
sonarqubeFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A39Claude Code
prFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A16Claude Code
refactorFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A13Claude Code
agent-rationaleFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A89Claude Code