feature-spec-review

feature-spec-review is a command for Claude Code from jayvee/aigon. It costs 13 tokens per session (1,700 once invoked), scanned A, a copy of afsr, Apache-2.0.

A reviewer command for improving a feature specification before anyone implements it.

In plain words
What is it for?
Use it to edit a feature spec in place and record the review in Git before implementation begins.
Why use it?
It catches unclear or incomplete requirements early, when changing the specification is easier than changing finished code.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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.

agentmods
npx agentmods add commands/jayvee/aigon/feature-spec-review
Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/feature-spec-review.svg)](https://agentmods.dev/commands/jayvee/aigon/feature-spec-review)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/feature-spec-review"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/feature-spec-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.00013 $0.01700
Opus 5 $0.00006 $0.00850
Sonnet 5 $0.00003 $0.00340
Haiku 4.5 $0.00001 $0.00170

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

Security

Grade A, and why

feature-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 3d 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.

Origin

This is a copy

98% identical to afsr — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/aigon/feature-spec-review.md · 170 lines

How it starts

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

aigon-feature-spec-review

Review the feature spec itself, not the code. Edit the spec in place using the shared rubric below, then commit the reviewed spec with a spec-review: commit.

Your job: WRITE a review of this spec. That means reading it, making targeted edits in place, and creating one spec-review: commit that records your findings. You are the reviewer. Do not check for or process anyone else's reviews — that is a separate downstream task (feature-spec-revise) and is not what you are doing here.

If git log shows no prior spec-review: commits on this spec, that is expected — your review will be the first. Do not exit with "no pending reviews"; that would be the check workflow, not this one.

You are already inside the spec-review task for this feature.

  • Do not run aigon feature-spec-review {{args}} again.
  • Do not run aigon feature-spec-revise {{args}} — that is a different command for a later stage, run by the feature author after reviewers have completed their review. It is not your job here.
  • Do not ask the shell to start the same command recursively.
  • Use the resolved spec path below, edit that spec in place, then make the required spec-review: commit and run aigon feature-spec-review-record {{args}}.
  • If you cannot complete the commit or record step, stop and report the blocker instead of making a generic commit.

Resolve the spec

SPEC_PATH=$(aigon feature-spec {{args}} 2>/dev/null || true)
if [ -z "$SPEC_PATH" ]; then
  SPEC_PATH=$(find docs/specs/features -maxdepth 2 \( -name "feature-{{args}}-*.md" -o -name "feature-{{args}}.md" \) | head -1)
fi
test -n "$SPEC_PATH" && echo "$SPEC_PATH"

If SPEC_PATH is empty, stop and report that the feature spec could not be resolved.

Read the spec before editing:

cat "$SPEC_PATH"

Research context (skip when none)

If the spec frontmatter has a research: field, read the linked findings before reviewing — the spec is supposed to be grounded in those conclusions. Evaluate whether the acceptance criteria and technical approach reflect what the research actually surfaced. Skip when no research: field is present.

Read the full file on GitHub · 170 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. 3d ago First seen · 170 lines · 13 tokens per session scan A dd8340e8e179

Subscribe to this mod's changes

feature-spec-review is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,700 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to afsr, differing in 2 lines, and is treated as a copy.