brooks-review

brooks-review is a skill for Claude Code from hyhmrright/brooks-lint. It costs 172 tokens per session (404 once invoked), scanned A, original, MIT.

A pull-request code review guide that looks for design problems, maintainability risks, and signs that code may become harder to change over time. A pull request is a proposed code change submitted for review before it is added to a project.

In plain words
What is it for?
Use it to review a pull request, pasted code, or selected files and produce concrete findings about code decay, design smells, maintainability, and test concerns.
Why use it?
It helps reviewers find deeper problems that ordinary error checking may miss, and explains each finding through its symptom, source, consequence, and remedy.

Skill for Claude Code

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

Part of the brooks-lint plugin — 9 skills, 6 commands, 5 agents, 1 hook shipped together

Good fit Use it to review a pull request, pasted code, or selected files and produce concrete findings about code decay, design smells, maintainability, and test concerns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyhmrright/brooks-lint/brooks-review
About the project

brooks-lint is an AI code-review project that examines software for six kinds of long-term code decay using ideas from twelve classic engineering books. It helps developers review pull requests, audit architecture, assess technical debt, test quality, and apply fixes through structured findings with sources, severity, and remedies. Its catalogue entries provide the skills, commands, agents, instructions, hook, and plugin used to run these reviews.

hyhmrright/brooks-lint · 1,468 stars · on GitHub · hyhmrright.github.io

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 hyhmrright/brooks-lint --skill brooks-review
Clone the repo
git clone --depth 1 https://github.com/hyhmrright/brooks-lint

Made for: Claude Code.

Or install brooks-lint, the plugin that ships this one along with the rest of its 9 skills, 6 commands, 5 agents, 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 brooks-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hyhmrright/brooks-lint/brooks-review"><img src="https://agentmods.dev/badge/skills/hyhmrright/brooks-lint/brooks-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 404 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00172 $0.00404
Opus 5 $0.00086 $0.00202
Sonnet 5 $0.00034 $0.00081
Haiku 4.5 $0.00017 $0.00040

Measured 12d ago against content hash dfcd48a92556, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

brooks-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 12d 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/brooks-review/SKILL.md · 39 lines

What it actually says

Brooks-Lint — PR Review

Setup

Read in order:

  1. ../_shared/common.md — Iron Law, Project Config, Report Template, Health Score
  2. ../_shared/source-coverage.md — book coverage, exceptions, tradeoffs
  3. ../_shared/decay-risks.md — symptom definitions and source attributions
  4. pr-review-guide.md (this directory) — the analysis process

Process

Scope: if the user did not specify files or paste code, apply Auto Scope Detection (../_shared/common.md) first.

  1. Understand the review scope, then scan for each decay risk in the order specified (Steps 1–6 of the guide)
  2. Run the Quick Test Check (Step 7 of the guide) — skip for docs-only or non-production changes
  3. Apply the Iron Law to every finding
  4. Output using the Report Template from common.md

Mode line in report: PR Review

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 39 lines · 172 tokens per session scan A dfcd48a92556

Subscribe to this mod's changes

brooks-review is a skill published in the GitHub repository hyhmrright/brooks-lint (1,468 stars, last pushed 4d ago), licensed MIT. It adds 172 tokens to every session and 404 once invoked, about $0.0009 per session on Opus 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

Other skills, from other repositories

recipe-front-review

Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.

shinpr/claude-code-workflows · 29 tokens

review

Perform a structured code review by composing validation checklists from relevant atoms based on what code changed. Loads atoms conditionally -- clean-code always, architecture/DDD/security/tests only when the delta touches their domain. Produces a severity-ordered report with specific locations and fixes. Use when…

techygarg/lattice · 95 tokens

procoder

Work like a senior developer in a repository governed by procoder: run the commit gate before calling anything done, format and lint through the binary, and drive the spec, plan, todo, backlog, and sprint chain in .procoder/. Use this skill when the repository contains a .procoder/ directory or an AGENTS.md naming…

azrtydxb/procoder · 101 tokens

code-review

The depth half of a review - the dimensions a diff is read against (correctness, boundaries, concurrency, failure paths, secrets, data access, structure, test quality) and the rule that a finding is refuted before it is reported. The verdict stays with the reviewer agent. Use when reviewing a diff or a pull request…

jjanczur/tyran · 80 tokens

deslop

The optimization pass, defined - delete before you add, one smell class per pass, behaviour pinned by a test that ran BEFORE the edit. Lints a SKILL.md and prose by the same instinct. Use for the per-story optimization pass or when code has grown noisy without growing capable.

jjanczur/tyran · 58 tokens

code-confidence-map

Assesses code comprehensibility and maintainability risk. Use when the user asks about code confidence, risk, maintainability, tech debt, code health, or whether code is safe to change. Also use when the user asks to analyze code quality, scan for risks, check if code is messy or complex, audit code, do a code…

kanyun-inc/reskill · 104 tokens