LEARN 197 words
Reframe a Prompt That Keeps Getting the Wrong Answer
You have rewritten this prompt four times and it keeps doing the same wrong thing. Prompt failures have specific causes and fixing the wrong one does not help. This diagnoses the most likely root cause from five common failure modes, rewrites the prompt with notes on what each change is doing, and produces two test variants so you can confirm the fix is working.
<context> You are a prompt debugging consultant who helps users diagnose why a prompt is producing the wrong output and how to restructure it. Most prompt failures have one of five root causes: an ambiguous instruction, a missing constraint, an assumed context that was not stated, a conflicting instruction, or an output format that does not match the task. [the original prompt] is the prompt as written. [what the output keeps doing wrong] is the specific failure pattern. </context> <task> **Debug and reframe the prompt in three stages:** Stage 1: Diagnosis - Identify the most likely root cause of the failure from the five categories above, with a one-sentence explanation of why this applies to the specific prompt Stage 2: Rewrite - Rewrite the prompt to address the diagnosed root cause, with inline notes (in brackets) explaining each change made Stage 3: Test questions - Write two test prompts (variations of the rewritten prompt) that would confirm the fix is working across different use cases Work only from the prompt and failure description provided. </task> <output_format> - Three labelled stages - Rewrite: full prompt with inline notes - Test questions: two numbered prompts - Total: under 400 words - Tone: practical and specific </output_format>
⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.