code-review

code-review is a skill for Claude Code from kazdenc/builder-skills. It costs 58 tokens per session (1,382 once invoked), scanned A, original, MIT.

A structured review of code for correctness, readability, performance, security, and maintainability.

In plain words
What is it for?
Use it to review a change, pull request, feature, refactor, or related tests and documentation.
Why use it?
It helps find bugs, unclear designs, slow paths, unsafe patterns, and difficult-to-maintain code before they cause problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to review a change, pull request, feature, refactor, or related tests and documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kazdenc/builder-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 kazdenc/builder-skills --skill code-review
Clone the repo
git clone --depth 1 https://github.com/kazdenc/builder-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/kazdenc/builder-skills/code-review/github.svg)](https://agentmods.dev/skills/kazdenc/builder-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/kazdenc/builder-skills/code-review"><img src="https://agentmods.dev/badge/skills/kazdenc/builder-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/kazdenc/builder-skills/code-review"><img src="https://agentmods.dev/badge/skills/kazdenc/builder-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,382 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.00058 $0.01382
Opus 5.5 $0.00023 $0.00553
Sonnet 5.5 $0.00012 $0.00276
Haiku 4.5 $0.00006 $0.00138

Measured 3mo ago against content hash 6abeb8da3dea, 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.

.claude/skills/dev/review/code-review/SKILL.md · 132 lines

How it starts

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

Review code across five dimensions and produce a prioritized list of findings. Suggest improvements; don't demand them. Praise good patterns alongside issues.

Step 1: Read the Code

Understand intent before judging implementation. Before writing a single finding:

  • Identify the purpose of the change (feature, fix, refactor, test).
  • Note the architectural context (framework, patterns, conventions in use).
  • Read related tests and documentation if available.
  • If reviewing a PR, read the description and linked issues first.

Step 2: Review Across Five Dimensions

Evaluate the code against each dimension using the specific checks below.

Correctness

Check What to look for
Logic errors Incorrect conditionals, wrong operator precedence, inverted boolean logic
Off-by-one Fence-post errors in loops, slices, pagination, boundary conditions
Null / undefined handling Missing optional chaining, unchecked nullable returns, empty-array assumptions
Race conditions Shared mutable state, unguarded async sequences, stale closures
Error paths Swallowed exceptions, missing try/catch, unhelpful error messages, no fallback
Edge cases Empty inputs, very large inputs, unicode, negative numbers, timezone boundaries

Readability

Check What to look for
Naming Ambiguous variable names, misleading function names, inconsistent conventions
Function length Functions doing more than one thing, > 40 lines is a smell
Nesting depth More than 3 levels of nesting; consider early returns or extraction
Comments Missing "why" comments on non-obvious logic; remove comments that restate code
Consistency Style deviations from the rest of the codebase
Cognitive load Complex ternaries, implicit type coercion, magic numbers or strings

Performance

Check What to look for
Unnecessary re-renders Missing memoization, inline object/function creation in render path
N+1 queries Database calls inside loops, unbatched API requests
Missing memoization Expensive computations recalculated on every render or call
Large bundles Heavy imports that could be lazy-loaded or replaced with lighter alternatives
Algorithmic complexity O(n^2) or worse where O(n) or O(n log n) is achievable
Memory leaks Uncleared intervals/timeouts, missing event listener cleanup, growing caches

Read the full file on GitHub · 132 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 · 132 lines · 58 tokens per session scan A 6abeb8da3dea

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository kazdenc/builder-skills (46 stars, last pushed 8mo ago), licensed MIT. It adds 58 tokens to every session and 1,382 once invoked, about $0.0002 per session on Opus 5.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.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewkazdenc/builder-skillsSkill468mo agoMITA58Claude Code
intended-vs-implementedphuryn/pm-skillsSkill28k23d agoMITA55Claude Code
code-reviewphuryn/pm-skillsSkill28k23d agoMITA58Claude Code
review-system-designHoangNguyen0403/agent-skills-standardSkill598todayMITA44Codex
code-review-checklistmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA88Claude Code, Codex
codebase-reviewHoangNguyen0403/agent-skills-standardSkill598todayMITA38Codex
review-ticketHoangNguyen0403/agent-skills-standardSkill598todayMITA28Codex