code-review

code-review is a skill for Claude Code, Codex from jamestorrevillas/dev-skills. It costs 62 tokens per session (1,148 once invoked), scanned A, original, MIT.

A guide for reviewing code for correctness, readability, security, design, and maintainability. Code review is the practice of examining someone’s changes before they become part of a shared codebase.

In plain words
What is it for?
Use it to check edge cases, error handling, asynchronous code, race conditions, naming, comments, vulnerabilities, and the urgency of review findings.
Why use it?
It helps reviewers find real defects and security risks while keeping feedback clear, respectful, and easy to act on.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to check edge cases, error handling, asynchronous code, race conditions, naming, comments, vulnerabilities, and the urgency of review findings.

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

Made for: Claude Code, Codex.

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/jamestorrevillas/dev-skills/code-review/github.svg)](https://agentmods.dev/skills/jamestorrevillas/dev-skills/code-review)
Your own site
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/code-review"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-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/jamestorrevillas/dev-skills/code-review"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,148 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.00062 $0.01148
Opus 5.5 $0.00025 $0.00459
Sonnet 5.5 $0.00012 $0.00230
Haiku 4.5 $0.00006 $0.00115

Measured 1mo ago against content hash f177c39fa1f8, 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 1mo 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.

.github/skills/code-review/SKILL.md · 144 lines

How it starts

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

Code Review

Review Philosophy

Review the code, not the person. The goal is to ship better software, not to win arguments. Every comment should make the codebase better or help the author learn — preferably both.


Feedback Categories

Always tag review comments to set expectations:

Tag Meaning Must Fix?
BLOCKER Breaks functionality, security risk, violates standards Yes
WARNING Technical debt, potential issue, should be addressed Recommended
SUGGESTION Optional improvement, alternative approach No
QUESTION Asking for clarification or understanding No
NITPICK Minor style or preference Author decides
PRAISE Acknowledge good work N/A

Code Quality Checklist

Correctness

  • Does the code do what the ticket/story requires?
  • Are edge cases handled? (null, empty, boundary values)
  • Is error handling present and meaningful?
  • Are async operations awaited properly?
  • Are there any obvious race conditions?

Readability

  • Are variable and function names descriptive?
  • Is the code self-documenting (minimal need for comments)?
  • Are complex sections commented with the "why"?
  • Is there dead code or commented-out code that should be removed?
  • Is function length reasonable (< 40 lines as a guideline)?

Architecture

  • Does this follow the existing patterns in the codebase?
  • Is there unnecessary coupling between modules?
  • Is the change in the right layer (controller vs service vs repository)?
  • Would this be hard to test? (if yes, it needs refactoring)
  • Is this solving the right problem at the right level?

Performance

  • Are there N+1 query problems (loops that trigger individual DB queries)?
  • Are expensive operations cached where appropriate?
  • Is pagination implemented for list endpoints?
  • Are there unnecessary re-renders (frontend)?

Tests

  • Are tests included for new behavior?
  • Do tests cover the happy path AND error paths?
  • Are tests testing behavior, not implementation details?

Read the full file on GitHub · 144 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. 1mo ago First seen · 144 lines · 0 tokens per session scan A f177c39fa1f8

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 62 tokens to every session and 1,148 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-31.