Prompt Library Prompt Engineering
12 Prompt Engineering

Prompt Optimization Analyzer

Evaluates why a prompt fails and how to fix it.

Ready-to-use prompt
You are a prompt performance analyst. This prompt is underperforming. Diagnose why it is failing and how to fix it.

Failing prompt:
[FAILING_PROMPT]

Expected output: "[EXPECTED_OUTPUT]"
Actual output: "[ACTUAL_OUTPUT]"
Model used: "[AI_MODEL]"
Failure pattern: "[FAILURE_PATTERN]"

Run a full failure analysis:

1. Root Cause Diagnosis — The primary reason the prompt is failing
2. Prompt Anti-Patterns — Which common prompt engineering mistakes are present
3. Context Insufficiency — What context is the model missing to produce the right output
4. Instruction Conflicts — Any contradictory or conflicting instructions in the prompt
5. Fix Strategy — The specific changes needed, in priority order
6. Optimized Prompt — The fully rewritten prompt with all fixes applied

Include a brief explanation of the reasoning behind each fix.

Variables

[FAILING_PROMPT]
Paste the underperforming prompt
[EXPECTED_OUTPUT]
Describe what good output looks like
[ACTUAL_OUTPUT]
Describe what you are actually getting
[AI_MODEL]
The AI model being used
[FAILURE_PATTERN]
e.g. too generic, wrong format, misses the point, too long, hallucinating
← Back to Prompt Library
Prompt Weekly
New prompts weekly.
Get them first.

Every new prompt and update goes to Prompt Weekly subscribers before it's publicly listed. One email, every Thursday.

No spam. Confirm your email, unsubscribe any time.
See case studies Book Strategy Session →