spec-review

spec-review is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 39 tokens per session (2,457 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, 7 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, 7 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,457 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.02457
Opus 5.5 $0.00016 $0.00983
Sonnet 5.5 $0.00008 $0.00491
Haiku 4.5 $0.00004 $0.00246

Measured 2d ago against content hash 80de9f923237, 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 2d 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 · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 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
  • Spec argument: $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

--pane / --no-pane are flags: drop them before reading $ARGUMENTS below.

  1. If $ARGUMENTS is #N, owner/repo#N, or an issue URL → resolve it per issue-store.md's Argument parsing, then run issue-store.md's Import algorithm against it, start to finish. Do not restate Import's steps here — follow the reference. A failed gh preflight, or a failed gh issue view call, stops here and names the issue that could not be read. On success, continue as if $ARGUMENTS had been the resulting SPEC-<slug>.md path (the reference's own step 6).
  2. If $ARGUMENTS is provided and is not an issue reference → use it as the path to the spec file. If the file does not exist, STOP and report. Refuse any path outside .feature-dev/features/ (a root SPEC-*.md, or the layout older than 2.0.0) in one line, naming .feature-dev/features/<slug>/ as the only place specs live.
  3. If $ARGUMENTS is empty → auto-discover spec files. Run ${CLAUDE_PLUGIN_ROOT}/scripts/features.py list --json --root <repo root> and take the artifacts entries with kind: "spec" (each has a path), then read each file's frontmatter. Do not filter by status: — a spec with status: implemented is still legitimate to re-review (e.g., for retro learning). From the candidates:
    • 0 specs → STOP and ask the user to provide a path or run /feature-dev:spec first.
    • 1 spec → use it. Inform the user: "Auto-selected spec: <spec path> (feature: , status: )".
    • 2+ specs → use AskUserQuestion to let the user pick (label = feature: value, description = <filename> — status: <status>).

Read the full file on GitHub · 125 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. 2d ago Changed · +1 lines 80de9f923237
  2. 10d ago Changed · +16 lines 9f16b2799151
  3. 14d ago Changed · +2 lines 35565d96af04
  4. 18d ago Changed · +8 lines a04c8dc538f7
  5. 19d ago Changed · +25 lines a8ce4175c074
  6. 1mo 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 2d ago), licensed MIT. It adds 39 tokens to every session and 2,457 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.