code-review-and-quality

code-review-and-quality is a skill for Claude Code from aneja5/forge-skills. It costs 48 tokens per session (875 once invoked), scanned A, original, MIT.

A code-review skill that checks finished work across correctness, adherence to agreed interfaces, readability, security, and performance.

In plain words
What is it for?
Use it before merging a pull request, after completing a task, or when checking an implementation against its contracts, with findings classified by severity.
Why use it?
It catches problems that passing tests alone may miss, including mismatches with documented contracts. A contract is an agreed interface or behaviour that code must follow.

Skill for Claude Code

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

Part of the forge-skills plugin — 42 skills, 36 commands, 1 hook shipped together

Good fit Use it before merging a pull request, after completing a task, or when checking an implementation against its contracts, with findings classified by severity.

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

Made for: Claude Code.

Or install forge-skills, the plugin that ships this one along with the rest of its 42 skills, 36 commands, 1 hook.

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-and-quality

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aneja5/forge-skills/code-review-and-quality"><img src="https://agentmods.dev/badge/skills/aneja5/forge-skills/code-review-and-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 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.00048 $0.00875
Opus 5.5 $0.00019 $0.00350
Sonnet 5.5 $0.00010 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 3mo ago against content hash c82c6b806213, 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-and-quality 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.

skills/code-review-and-quality/SKILL.md · 103 lines

How it starts

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

Code Review and Quality

Overview

Five-axis review: correctness, contract compliance, readability, security, performance. Each finding is categorized as Critical / Important / Suggestion. Contract compliance is the forge-specific axis — implementations must match .forge/contracts/ exactly.

When to Use

  • A task from .forge/tasks.yaml is marked done and needs review
  • A PR is ready for merge review
  • User asks to review a specific change or file

When NOT to Use

  • Code hasn't been tested yet — run tdd first
  • Looking for performance profiling — that's a separate investigation
  • Security audit with threat modeling — use security-auditor agent persona

Common Rationalizations

Thought Reality
"It passes tests so it's correct" Tests don't prove correctness — they prove what was tested
"I'll leave style comments but not block" Style inconsistencies compound into readability debt
"The contract is close enough" Contracts exist precisely to prevent "close enough"
"Security issues are edge cases" Edge cases are where attackers operate
"We can optimize later" Performance regressions rarely get addressed later

Red Flags

  • Implementation ignores an error type defined in the contract
  • Function signature differs from contract's typed schema
  • Invariant in contract is not enforced in implementation
  • Input validation missing at module boundary (contract says it's not caller's job)
  • Magic numbers with no explanation
  • Error paths return 200 with error message in body

Five-Axis Review

Axis 1: Contract Compliance (forge-specific)

For each module touched, check against .forge/contracts/<module>.md:

  • Input types match contract schema exactly
  • Output types match contract schema exactly
  • Every error type in the contract is handled
  • Every invariant in the contract is enforced
  • "Not responsible for" items are not implemented here

Axis 2: Correctness

  • All acceptance criteria from the task are satisfied
  • Edge cases and error paths handled
  • No off-by-one, null deref, or race condition visible
  • Side effects are intentional and documented

Read the full file on GitHub · 103 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 · 103 lines · 48 tokens per session scan A c82c6b806213

Subscribe to this mod's changes

code-review-and-quality is a skill published in the GitHub repository aneja5/forge-skills (3 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 875 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.

Related

code-review-and-quality compared with skills from other repositories

code-review-and-quality next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-review-and-qualityaneja5/forge-skillsSkill36mo agoMITA48Claude Code
code-reviewKripu77/software-factorySkill62mo agoMITA52Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA32Claude Code
OCR Review-to-Approval Loopspencermarx/open-code-reviewSkill39519d agoApache-2.0A213Claude Code
great_ctoavelikiy/great_ctoSkill11713d agoMITA32Claude Code
skeptical-triageavelikiy/great_ctoSkill11713d agoMITA49Claude Code