spec-review

spec-review is a skill for Claude Code from lukedj78/dev-flow. It costs 219 tokens per session (5,748 once invoked), scanned A, original, MIT.

A two-part review of code changes: whether they follow the project's product specification and whether they obey its engineering rules. A diff is the set of changes between two versions of a codebase.

In plain words
What is it for?
Checking changes against .workflow/PRD.md, tasks.md, golden rules, and the stack recorded in meta.json. It reports the specification review and standards review separately.
Why use it?
A general code review may miss requirements written in the project's PRD or rules defined in its workflow files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the dev-flow plugin — 57 skills shipped together

Good fit Checking changes against .workflow/PRD.md, tasks.md, golden rules, and the stack recorded in meta.json. It reports the specification review and standards review separately.

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

Made for: Claude Code.

Or install dev-flow, the plugin that ships this one along with the rest of its 57 skills.

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 spec-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukedj78/dev-flow/spec-review"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/spec-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 219 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,748 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.00219 $0.05748
Opus 5.5 $0.00088 $0.02299
Sonnet 5.5 $0.00044 $0.01150
Haiku 4.5 $0.00022 $0.00575

Measured 23d ago against content hash 2400885e00eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec-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 23d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/findings.py, scripts/meta_io.py, scripts/test_findings.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

spec-review/SKILL.md · 313 lines

How it starts

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

spec-review — did we build what the PRD asked, the way the contract says?

Three-axis review of the diff between HEAD and a fixed point:

  • Spec — does the change faithfully implement what .workflow/PRD.md / tasks.md asked for?
  • Standards — does it obey the contract this project was built under?

Both run as parallel sub-agents so neither pollutes the other's context, then this skill reports them side by side.

Credit. The two-axis structure, the parallel-sub-agent split, the refusal to merge verdicts and the Fowler smell baseline are adapted from Matt Pocock's code-review skill (mattpocock/skills, MIT — the skill now lives at docs/engineering/code-review.md; both paths checked 2026-08-26, re-checked 2026-11-05) and the essay behind it. What's ours is the half his skill has to search for: in a dev-flow project the spec and the standards are at known paths.

Why this is not /code-review

Claude Code ships a built-in /code-review, and Pocock's own write-up lists the name collision as a known problem. This skill is deliberately not that, in name or in remit:

Built-in /code-review spec-review
Reviews the code, generically the code against this project's spec and contract
Knows the diff .workflow/PRD.md, tasks.md, meta.json#stack, #artifacts, #history
Answers "is this good code?" "is this the thing we said we'd build, built our way?"

Run both if you like — they don't overlap. Without a .workflow/, this skill refuses and points at the built-in: with no spec and no declared stack, both of its axes are guesswork.

Workflow

1. Pin the fixed point — and fail here, not inside a sub-agent

Whatever the user names is the fixed point (a SHA, main, a tag, HEAD~5). If they didn't say, ask.

Read the full file on GitHub · 313 lines

Files

What ships with it

8 files 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. 23d ago Changed · +41 lines · +8 tokens per session 2400885e00eb
  2. 25d ago Changed 339bd343582d
  3. 1mo ago Changed · +21 lines fe443ad9eefc
  4. 1mo ago Changed · +2 lines 7757ce4179e3
  5. 1mo ago Changed 1171c7ed8254
  6. 1mo ago Changed · +47 lines b6f09c856b25
  7. 2mo ago Changed · +27 lines 9f8ad02e6378
  8. 3mo ago First seen · 175 lines · 211 tokens per session scan A c15dd3b051b0

Subscribe to this mod's changes

spec-review is a skill published in the GitHub repository lukedj78/dev-flow (5 stars, last pushed yesterday), licensed MIT. It adds 219 tokens to every session and 5,748 once invoked, about $0.0009 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

spec-review compared with skills from other repositories

spec-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-reviewlukedj78/dev-flowSkill5yesterdayMITA219Claude Code
grill-medaochild/agents-configSkill1913d agoMITA65Claude Code, Codex
revdiff-planumputun/revdiffSkill9742d agoMITA84Claude Code
codex-adversarial-reviewWrongStack/WrongStackSkill446todayMITA113Claude Code, Codex
code-review-pipelinea5c-ai/babysitterSkill1.9k29d agoMITA28Claude Code
verificationa5c-ai/babysitterSkill1.9k29d agoMITA25Claude Code
review-codewataru-maeda/react-native-boilerplateSkill524todayMITA33Claude Code, Codex