Fix Verification Plan
A plan to prove a bug fix works and didn't regress anything else.
Intermediate · Works with ChatGPT, Claude, Gemini, Copilot
The prompt
Help me verify this fix actually works and hasn't broken anything nearby.
The bug and the fix applied:
{{FIX_SUMMARY}}
Areas of the codebase that touch similar logic or share this code path:
{{ADJACENT_AREAS}}
List what would prove the original bug is gone (not just 'no error thrown'), then list the adjacent behaviors most at risk of a regression from this change and how to check each cheaply. Flag anything you can't verify from this description alone.Why this prompt works
Asking for proof of the original symptom's absence, not just the fix's existence, catches fixes that mask rather than resolve the bug.
How to customize it
- List every place the changed code is reused, not just the file it lives in
- Include how the bug was originally detected so verification checks the same signal
Common mistakes
- Verifying only the happy path the bug report described
- Skipping a check on shared code paths because 'they weren't part of the bug'
Example
Input
Bug and fix: Off-by-one in pagination caused last page to drop a row; changed limit calc
What a good answer looks like
A checklist split into 'confirms the fix' and 'confirms no regression' items.
Make this prompt fit your work
ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.