In its own results table, brooks-lint 2.0.0 admits that one of its six skills does worse than a generic checklist: brooks-health drops from 15 to 10 passing answers out of 18. A skill pack that publishes its regressions next to its wins is rare, and that alone makes it worth a look. The release landed on npm on 17 November 2026, under the MIT license, with 1,586 stars on GitHub.
What it does: six review workflows, one vocabulary
brooks-lint is not a static analyzer. It is a set of six Agent Skills that give your agent a review process and a report format; the model does the diagnosis. They all share a _shared folder defining twelve risks: six for production code (from R1, cognitive overload, to R6, domain model distortion) and six for tests (from T1, test obscurity, to T6, architecture mismatch). The framework draws on twelve classic books, from The Mythical Man-Month to xUnit Test Patterns, by way of Refactoring, A Philosophy of Software Design and Working Effectively with Legacy Code.
| Skill | Use it for | Edits files? |
|---|---|---|
brooks-review | Reviewing a diff or a specific file | No |
brooks-audit | Module dependencies and boundaries | No |
brooks-debt | Ranked tech debt and a repayment plan | No |
brooks-test | Which failures your tests catch (and miss) | No |
brooks-health | A four-dimension summary dashboard | No |
brooks-sweep | Diagnose and apply scoped fixes | Yes |
brooks-review kicks in when you ask for a code or PR review, share a diff, or ask whether something is "ready to merge". It reads the shared files and its review guide, walks the six risks in order, runs a quick test check and applies its "Iron Law": no fix suggestions until the diagnosis is done, and every finding written as Symptom → Source → Consequence → Remedy. The report ends with a 0–100 score that the README itself calls a summary of findings, "not a probability of correctness".
What changes in 2.0.0
The major bump is about contracts, not features, and the migration guide spells it out:
- An empty diff no longer scores 0: it returns an empty
scoreandskipped=true. If your pipeline reads the score, checkskippedfirst. - The GitHub Action only accepts
reviewmode; the other five modes are for interactive agents. - In
brooks-health, a dimension without enough evidence is marked unassessed and no composite score is emitted, instead of scoring 100. - In
brooks-sweep, the round limit now counts every round, Critical-only ones included: three in total by default.
Installing it in Claude Code
The installer copies the six skills plus _shared into each agent's skills folder. With Node.js 20 or later:
# Global, into ~/.claude/skills
npx brooks-lint@latest install claude
# Current project only
npx brooks-lint@latest install claude --projectThe Claude Code plugin route is still there too: /plugin marketplace add hyhmrright/brooks-lint followed by /plugin install brooks-lint@brooks-lint-marketplace. Then just ask the agent to review the current diff or a file.
Risks and limits
The main caveat is compatibility: the maintainer currently verifies only the Codex integration. Claude Code, Cursor, Copilot and the ten other targets are still supported by the installer, but the README concedes that its layout tests are not end-to-end tests and that the Claude Code path "is not currently maintainer-tested".
The rest, in order of importance:
- Execution and edits: the five diagnostic skills never change files.
brooks-sweepdoes edit and runs whatever checks are available; it reuses the authorization you have already granted, so scope it tightly first. - Node:
brooks-healthuses bundled Node tools to compute and finalize the report when the agent can run commands. When it can't, the guide requires it to say so rather than fake the result. - Network and credentials: the skills ask for no keys. The GitHub Action does: it calls an Anthropic-compatible API with an
ANTHROPIC_API_KEYsecret, reviews the diff only, and is also outside the maintainer's current live verification. - The
curl | bashinstaller clones the repo into a temp directory and copies files into your$HOME;npxor a hand-reviewed clone is easier to audit.
On the benchmark: in the run with gpt-6.1-terra, brooks-review ties the checklist (6 of 6 both ways) and brooks-test gains one answer (5 to 6). In a separate run, brooks-sweep goes from 15 to 18 out of 18 while brooks-health falls from 15 to 10. The authors themselves warn that these are development cases with non-independent grading and that the rows must not be added up into an overall accuracy. Read that way, the review skill doesn't find more bugs than a good checklist; what it adds is a fixed report structure and a shared vocabulary.
brooks-review vs Matt Pocock's code-review
The closest alternative on skills.sh is code-review, from Matt Pocock's skills repo. Both tackle the same job from different angles:
| brooks-review | code-review (mattpocock/skills) | |
|---|---|---|
| Looks at | Twelve maintainability and test risks | Repo standards and the issue's spec |
| How | One guided pass, report and 0–100 score | Two parallel subagents, no score |
| Built-in baseline | Twelve books, risks R1–R6 and T1–T6 | Twelve Fowler code smells |
| Requires | Node 20 to install | Issue tracker setup |
| License | MIT | MIT |
If your team writes solid issues and keeps a living CONTRIBUTING.md, code-review checks something brooks-lint doesn't: whether the code does what was asked. If you want to surface debt and complexity in a consistent format you can compare across PRs and export to SARIF from the Action, brooks-lint is the better fit. Both are read-only in review mode, so running them side by side on the same diff is cheap.
Sources
- brooks-lint: README (GitHub (hyhmrright))
- brooks-lint 2.0.0 on npm (npm)
- Migrating from 1.9.1 to 2.0.0 (GitHub (hyhmrright))
- brooks-lint benchmark evidence (GitHub (hyhmrright))
- code-review (mattpocock/skills) (skills.sh)