spec-review

spec-review is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 39 tokens per session (2,744 once invoked), scanned A, original, MIT.

A command for checking a written feature specification for missing sections, unclear requirements, or gaps before planning or implementation.

In plain words
What is it for?
Use it to review a SPEC file and classify issues as blocking, worth addressing, or optional.
Why use it?
It catches problems in the specification early, when they are cheaper to fix than during coding.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the feature-dev plugin — 2 skills, 8 commands, 13 agents shipped together

Good fit Use it to review a SPEC file and classify issues as blocking, worth addressing, or optional.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install feature-dev

Made for: Claude Code.

Or install feature-dev, the plugin that ships this one along with the rest of its 2 skills, 8 commands, 13 agents.

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/commands/juanmhidalgo/claude-plugins/spec-review/github.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/spec-review)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/spec-review"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/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/commands/juanmhidalgo/claude-plugins/spec-review"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/spec-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,744 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.00039 $0.02744
Opus 5.5 $0.00016 $0.01098
Sonnet 5.5 $0.00008 $0.00549
Haiku 4.5 $0.00004 $0.00274

Measured 17d ago against content hash 9a9deae7f2f5, 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 17d 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.

feature-dev/commands/spec-review.md · 143 lines

How it starts

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

Context

  • Repository: !git remote get-url origin
  • Current branch: !git branch --show-current
  • Arguments: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS'
  • Feature store: each feature lives in .feature-dev/features/<slug>/, managed by ${CLAUDE_PLUGIN_ROOT}/scripts/features.py (pass --root <repo root>). Layout: artifact-locations.md.

Phase 0: Resolve the Spec File

The spec argument is positional[0] from the Arguments JSON in Context (none: auto-discover). pane is the Herdr flag: true opens a pane, false or null runs here. Run, once:

${CLAUDE_PLUGIN_ROOT}/scripts/features.py resolve spec <positional[0]> --root <repo root>

(omit the argument when there is none). It takes a SPEC-*.md path (a PLAN-*.md path resolves to the spec beside it), #N, owner/repo#N or an issue URL, a feature slug or title, or nothing — then every feature's spec is a candidate, whatever its status (a spec with status: implemented is still legitimate to re-review, e.g. for retro learning), and several are narrowed to the current branch. It prints one JSON line: path, slug, feature, status, plan, issue, plan_path and matched on success; error plus reason (exit 2) or candidates (exit 3) on failure.

Exit Meaning Do
0 Resolved Continue with path. When matched is not path, say: "Auto-selected spec: <path> (feature: , status: )"
2 reason: issue_unlinked No local feature is linked to issue (repo null means this repo: resolve it per issue-store.md's Argument parsing). Run issue-store.md's Import algorithm against it, start to finish; do not restate Import's steps here. A failed gh preflight, or a failed gh issue view call, stops here and names the issue that could not be read. Then re-run resolve spec with the SPEC-<slug>.md path Import produced (the reference's own step 6)
2 reason: no_candidates STOP and ask the user to provide a path or run /feature-dev:spec first
2 any other reason (file, outside_store, no_sibling, unknown_name) STOP and refuse it in one line, quoting error, naming .feature-dev/features/<slug>/ as the only place specs live (a root SPEC-*.md, or the layout older than 2.0.0, is outside_store)
3 Ambiguous AskUserQuestion over candidates (label = feature, description = <filename> — status: <status>), then re-run resolve spec with the chosen path
4 Malformed STOP and quote error: the spec, or its feature.json, cannot be read as a spec. The validator grades a spec it can read; this is the one it cannot

Read the full file on GitHub · 143 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. 17d ago Changed · +1 lines 9a9deae7f2f5
  2. 26d ago Changed · +17 lines c432c3ed152c
  3. 1mo ago Changed · +1 lines 80de9f923237
  4. 1mo ago Changed · +16 lines 9f16b2799151
  5. 1mo ago Changed · +2 lines 35565d96af04
  6. 2mo ago Changed · +8 lines a04c8dc538f7
  7. 2mo ago Changed · +25 lines a8ce4175c074
  8. 2mo ago First seen · 73 lines · 39 tokens per session scan A f184d1a9b41b

Subscribe to this mod's changes

spec-review is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 39 tokens to every session and 2,744 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-09-03.

Related

spec-review compared with commands from other repositories

spec-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-reviewjuanmhidalgo/claude-pluginsCommand818d agoMITA39Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code