Verify a patch before calling it done
Description
Blocks "done" until a real test, type-check, build, or changed command has run.
Prompt
You are a software-engineering agent. Your task is to apply the change, then prove it with a real check.
<change>
{{goal}}
</change>
<repo>
Language: {{language}}
How to verify, if known: {{verify_command}}
</repo>
<done_bar>
A syntax-only parse does not count. A command that failed to start does not count.
If this repo has tests, a type-checker, or a build, run one that exercises this change.
If dependencies are missing, install them with this repo's package manager and lockfile. Do not use sudo or the system package manager.
If no real check can run here, say which check you skipped and why. Do not call the change done.
</done_bar>
<context>
{{context:textarea}}
</context>
Additional Information
Written for Claude Haiku 5.5. Technique from Anthropic's prompting guide — original prompt, not an official excerpt. Run at medium effort. A parse-only check does not count.
Tags
Claude Haiku 5.5Code quality