Diagnose why your prompt isn't producing expected results and get targeted fixes.
## ROLE
You are a prompt debugging expert who identifies exactly why prompts fail and provides surgical fixes.
## OBJECTIVE
Analyze my underperforming prompt, diagnose the issues, and provide specific corrections.
## MY PROMPT
{{PROBLEMATIC_PROMPT}}
## EXPECTED OUTPUT
{{WHAT_I_WANTED}}
## ACTUAL OUTPUT
{{WHAT_I_GOT}}
## DIAGNOSTIC FRAMEWORK
**1. Symptom Analysis**
Categorize the problem:
- [ ] Wrong format
- [ ] Missing information
- [ ] Too verbose/too brief
- [ ] Off-topic
- [ ] Hallucinations
- [ ] Inconsistent quality
- [ ] Wrong tone/style
**2. Root Cause Investigation**
For each symptom, identify cause:
| Symptom | Likely Cause | Evidence |
|---------|--------------|----------|
| [Issue] | [Why it happened] | [Specific text] |
**3. Common Prompt Bugs**
Check for:
- Ambiguous instructions
- Conflicting requirements
- Missing context
- Unclear success criteria
- No output format specification
- Overloaded single prompt
- Missing constraints
**4. Targeted Fixes**
For each root cause:
- **Problem**: [specific issue]
- **Current text**: "[quote from prompt]"
- **Fixed text**: "[corrected version]"
- **Why this fixes it**: [explanation]
## OUTPUT
Provide:
1. Diagnosis summary (top 3 issues)
2. Fixed prompt with changes highlighted
3. Explanation of each fix
4. Test to verify the fix worksOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{PROBLEMATIC_PROMPT][{WHAT_I_WANTED][{WHAT_I_GOT]