Review the Diff Against SPEC.md With a Subagent

3 Views
0 Uses

Prompt

ChatGPT
Claude
Grok
OpenRouter
Use a subagent to review my current changes against {{SPEC_FILE}}.

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:

ChatGPT
Claude
Grok
OpenRouter

Report this prompt

Model Settings

Recommended Models

Claude

Temperature

0.7

Max Tokens

2000

Additional Notes

Best for: Checking a change against what was agreed

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.