In the pack: Claude Prompts for Work: 46 Prompts for Projects, Artifacts, Files and Claude Code
Review the Diff Against SPEC.md With a Subagent
Prompt
The subagent should check three things only:
1. That every requirement in the spec is implemented, listing each requirement with the file and line where it is handled, or "not implemented".
2. That every edge case listed in the spec has a test, and that the tests would fail if the behaviour broke.
3. Anything that affects correctness: logic errors, unhandled failure paths, and changes to behaviour the spec does not ask for.
Skip style, naming and formatting. Do not suggest extra abstraction layers or tests for cases that cannot happen. Report gaps only, ranked by how much they affect correctness, with the file and line for each. If you find nothing in a category, say "none found" rather than inventing a finding.
Give me the report, then wait. Do not change any code until I say which gaps to fix.
Customize this prompt
Fill in the variables below to personalize this prompt:
Model Settings
Recommended Models
Temperature
Max Tokens
Additional Notes
About this prompt
“Review the Diff Against SPEC.md With a Subagent” is a free prompt for Claude in the Coding & Software category, 151 words long, added to The Prompt Index on November 18, 2026 by The Prompt Index. Copy it with the button above, paste it into Claude or any other AI chat assistant, and send it.
It has 1 placeholder to fill in first:
{{SPEC_FILE}}.
Use the “Customize this prompt” fields to personalise it before you copy.
Recommended models: Claude.
0 upvotes, sent to an AI tool 0 times, viewed 3 times.
Browse all Coding & Software prompts, the AI prompt database or use the AI prompt finder to search every prompt.