Improve a prompt that is nearly working
Diagnoses why output drifts and rewrites the instruction, not the wording.
This prompt gives me output that is close but wrong in a consistent way. The prompt: [PASTE PROMPT] What I get: [DESCRIBE THE OUTPUT] What I want instead: [DESCRIBE THE TARGET] Diagnose before rewriting: 1. Which instruction is being interpreted differently from how I meant it? 2. What is unstated that I assumed was obvious? 3. Is there a conflict between two instructions, where following one breaks the other? 4. Is the output format underspecified, so the model picks one each time? Then give me the rewrite, and a one-line note for each change saying what it fixes. Do not just make it longer and more polite — added length that specifies nothing makes prompts worse.
Highlighted parts are placeholders. Replace them before you send.
Worked example
The input is invented for this page. The output shows what the prompt asks for with that input.
Example input (invented)
The prompt
Summarise the customer review below in a short and detailed way.
Mention the main points and be concise. Use bullet points.
What I get: Six to eight bullets that repeat the review almost sentence by sentence. The summary is about as long as the review.
What I want instead: Three bullets. What the customer liked, what they disliked, and whether they would buy again.
Example output
- Interpreted differently. "Mention the main points". You mean three specific points. The prompt does not name them, so every sentence of the review counts as a main point.
- Unstated. Who reads the summary. You want it for someone who will not read the review, and the prompt never says that.
- Conflict. "Short and detailed", and again "main points" against "be concise". Following "detailed" breaks "short", and your output shows which one wins.
- Format. "Use bullet points" gives no number and no length, so the count follows the length of the review.
The rewrite:
Summarise the customer review below for someone who will not read it.
Write exactly three bullets, one line each, in this order:
- Liked: what the customer was pleased with.
- Disliked: what the customer complained about.
- Would buy again: yes, no or not stated.
If the review says nothing on a point, write "not stated".
Add nothing beyond these three bullets.
[REVIEW]
What each change fixes:
- Naming the three points stops the bullets following the review sentence by sentence.
- "Exactly three bullets, one line each" fixes the count and the length.
- "Short and detailed" and "be concise" are gone, and with them the conflict.
- "Not stated" keeps the summary from guessing when the review is silent.
- The reader is named, which tells the model what to leave out.
More Agents & prompting prompts
3 of the 11 other prompts filed under Agents & prompting.
Interrogate a claim before repeating it
Works out what evidence would be needed, and whether it exists.
Turn a vague goal into a decision tree
Converts “we should improve X” into questions with distinguishable answers.
Write a system prompt for a narrow assistant
Defines scope, refusals and failure behaviour — not just a persona.
Guides that use this prompt
1 guide lists this prompt under "Used in this tutorial".
AI content skills: agent skills for writing and editing
What an AI content skill is, the writing and editing skills this index lists grouped by job, which prompts cover the jobs no skill does yet, and how to install one.
Prompt engineering guides
2 of the 6 guides filed under Prompt engineering, the same category as this prompt.
Why your prompt works today and not tomorrow
Prompts that depend on luck look identical to prompts that depend on structure — until the model changes underneath them.
How to create an agent skill: SKILL.md step by step
From an empty folder to a skill Claude loads on its own: the SKILL.md rules, a description that triggers, a worked example and how to test it.