Back to guide/General Productivity

Regression Detection Prompt

Asking for a fix that preserves the intended improvement prevents the common cycle of fixing one thing while breaking another.

prompt-version-controlprompt_nameprevious_versioncurrent_version
Edit View
Prompt
I recently updated my {{prompt_name}} prompt and I'm seeing unexpected behavior.\n\nPrevious version (was working well):\n{{previous_version}}\n\nCurrent version:\n{{current_version}}\n\nObserved regression:\n{{regression_description}}\n\nAnalyze:\n1. Which specific changes likely caused the regression\n2. Why the change had this unintended effect\n3. A fix that addresses the regression without losing the intended improvement\n4. Test cases I should run to verify the fix\n5. Guidelines for future edits to this prompt to avoid similar regressions

Variables to customize

{{prompt_name}}{{previous_version}}{{current_version}}{{regression_description}}

Why this prompt works

Asking for a fix that preserves the intended improvement prevents the common cycle of fixing one thing while breaking another.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.