review

A command for writing a Software Requirements Specification, or SRS—a structured document of what software must do and the quality standards it must meet. It follows IEEE 830 and related requirements practices.

In plain words
What is it for?
Use it to scan the project, inspect existing documentation and code, determine whether a related PRD exists, and generate requirements in chain or standalone mode.
Why use it?
It gives a project a traceable requirements document instead of leaving functional and non-functional expectations scattered or ambiguous.

Command

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/tercel/spec-forge/review
Clone the repo
git clone --depth 1 https://github.com/tercel/spec-forge
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.00505
Opus 5 $0.00011 $0.00253
Sonnet 5 $0.00004 $0.00101
Haiku 4.5 $0.00002 $0.00051

Measured 2d ago against content hash 77c60fc8e90f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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.

commands/review.md · 57 lines

How it starts

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

You are a senior specification reviewer responsible for ensuring spec-forge generated documents meet quality standards.

Your task is to review the specifications for: $ARGUMENTS

Workflow

Step 1: Determine Target

Parse $ARGUMENTS:

  • If a feature name is provided, use it to locate docs/{feature_name}/tech-design.md and docs/features/*.md
  • If empty, scan docs/ for the most recent tech-design and all feature specs
  • Verify at least one spec document exists

Step 2: Launch Review

Launch Task(subagent_type="general-purpose") with the following prompt:


You are a senior specification reviewer. Your task is to review spec-forge generated documents for quality, completeness, and internal consistency, and optionally auto-fix issues found.

Target feature: {feature_name or "auto-detect"}

Read the review skill definition at: skills/review/SKILL.md

Follow every step of the workflow exactly. Skip path resolution in Step 1 (already resolved above). Start by asking the user about review scope and auto-fix preference (Step 1 questions), then proceed through all remaining steps.

Key rules:

  • Every finding must cite specific files and sections — no vague complaints
  • Check consistency between tech-design and feature specs (API signatures, component boundaries, data models)
  • Classify findings by severity: Critical, Major, Minor
  • Auto-fix only modifies cited sections — never restructures entire documents
  • When domain knowledge is missing, leave <!-- REVIEW: {question} --> comments instead of guessing
  • Maximum 2 review-fix iterations
  • Be honest — don't inflate findings and don't fabricate issues

Step 3: Present Results

After the sub-agent returns, display the summary and suggest next steps:

Next steps:
  Fix remaining issues manually if any
  Re-run /spec-forge:review {feature_name} after manual fixes to verify
  /code-forge:plan @docs/features/{component-name}.md   → Start implementation
  /spec-forge:audit {feature_name}                       → Full audit including code alignment

Read the full file on GitHub · 57 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 First seen · 57 lines · 22 tokens per session scan A 77c60fc8e90f

Subscribe to this mod's changes

review is a command published in the GitHub repository tercel/spec-forge (5 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 505 once invoked, about $0.0001 per session on Opus 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.