review-spec

Reviews technical specification documents for completeness, feasibility, risk, and code consistency.

189|25|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/sd0xdev/sd0x-harness --skill review-spec-sd0xdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: review-spec
Source: https://github.com/sd0xdev/sd0x-harness/tree/main/skills/review-spec
Command: npx skills add https://github.com/sd0xdev/sd0x-harness --skill review-spec-sd0xdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Technical specs often contain unverified claims about the codebase, missing risk analysis, or incomplete acceptance criteria that mislead implementation. This Skill dispatches an independent reviewer to validate a spec against the actual repository before development begins. ## Core Features & Use Cases - Five-dimension review: Scores completeness, feasibility, risk assessment, code consistency, and test strategy with calibrated severity levels. - Independent code verification: The reviewer greps and reads the actual repository to confirm that referenced files, functions, flags, and commands exist and behave as described. - Structured gate verdict: Produces a fixed-format report ending in ✅ Mergeable or ⛔ Needs revision, with deferred non-blocking findings logged via [NIT_DEFERRED] lines. - Use Case: Before implementing a feature, run the review on docs/features/2-auth-redesign.md to catch a spec that references a nonexistent config flag and lacks a rollback plan. ## Quick Start Ask the assistant to review the technical spec at docs/features/2-auth-redesign.md for completeness, feasibility, and consistency with the codebase.

Frequently Asked Questions about review-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review a technical spec against my codebase?▼

Provide the spec path and the reviewer reads the document, then independently greps the repository to verify every referenced file, function, flag, and command exists and behaves as described. The report rates five dimensions and ends with a Mergeable or Needs revision verdict.

What makes a spec review finding blocking versus non-blocking?▼

Blocking findings are defects that would mislead implementation, such as nonexistent referenced files, behavior contradicting the code, unsafe designs, or internal contradictions. Wording issues, structural preferences, and hypothetical concerns are logged as non-blocking deferred findings.

When should I use spec review instead of code review?▼

Use spec review before implementation to validate the design document itself. Use code review after code exists, and general document review for non-spec documents. Each targets a different artifact and review depth.

What happens if no spec path is provided?▼

The review auto-detects a target by checking git-modified spec files under docs/features, then staged markdown files, then the newest tech spec. If multiple candidates exist, it lists them and asks which to review.

Can a failed spec review be re-reviewed after fixes?▼

Yes. After fixing blocking findings, the re-review continues on the same review thread using the saved thread identifier, preserving context from the previous round until the spec passes or the round cap is reached.