Sub topic 9
Improving a Prompt One Change at a Time
This chapter assumes you can write a prompt with role, context, audience, and format, and that you have used constraints and a style example. Here you learn how to refine a prompt after the first draft misses.
Why change one thing at a time
A first draft rarely lands. The usual reaction is to rewrite the whole prompt. That makes it hard to tell which edit helped and which one broke something.
Edit one part, run the prompt again, and compare. If the output improves, keep the change. If it gets worse, undo it. This is the same logic as testing a headline: change one variable and the result tells you something.
Keep each version of the prompt in a note, numbered v1, v2, v3. Write one line about what you changed and what happened.
Diagnose before you edit
Read the output and name the specific problem. Then map the problem to the part of the prompt that controls it.
| What you see in the output | Likely cause | Part to change |
|---|---|---|
| Generic claims, "revolutionize your workflow" | The model lacks specifics | Context |
| Wrong vocabulary or level of detail | The reader is not defined | Audience |
| Too long, or missing a subject line | The shape is not stated | Format |
| Hype, exclamation marks, invented numbers | No limits were given | Constraints |
| Sounds like no one in particular | The voice is unspecified | Role or style example |
If you cannot name the problem, you are not ready to edit. Read the output again and compare it with what you wanted.
The loop
Worked example
Start with the TaskLane prompt from earlier chapters. Suppose the v1 output has these problems: the body is vague, it claims "teams save hours every week," and the email runs to 170 words.
Pass 1: fix the invented claim
The problem is an unsupported number. The cause is missing limits, so change the constraints only. Add this line:
Constraints:
- Do not make claims about performance numbers, awards, or customer counts.
- If you need a fact that is not in the context above, write [NEEDS INPUT] instead of guessing.Run it. The "save hours" claim is gone, and a placeholder appears where the model wanted a number. That is the intended behavior. Keep the change.
Pass 2: fix the vague body
The body still says "streamline your projects." The cause is thin context. Add one concrete fact and nothing else:
Context: ... The launch feature is shared timelines, which let everyone see task dates in one view, so status updates do not need a meeting.Run it. The body now describes what shared timelines do. Keep the change.
Pass 3: fix the length
The email is still 170 words. The format already says "120 words or fewer," so the model ignored it. Make the limit harder to miss:
Format: ... Body: two paragraphs, at most 60 words each. Count the words before you answer.Run it. The body is now 112 words. Keep the change.
Three passes fixed three separate problems, and you know which edit fixed each one.
Common mistakes
- Changing several parts at once. If the output improves, you do not know why. If it worsens, you do not know what to undo.
- Adding more words instead of better words. A longer prompt is not a better one. Replace vague lines with specific ones.
- Stating the fix as a negative only. "Don't be generic" gives the model nothing to aim at. Say what you want: "Name the feature and what it does."
- Judging from one run. AI output varies. Run a change two or three times before you decide.
- Fixing in the chat instead of in the prompt. Follow-up messages like "make it shorter" work once. They do not improve the saved prompt, so the next run starts from the same weak draft. Put the lasting fix into the prompt itself.
Know when to stop
Stop when the output meets your requirements with few edits, not when it is perfect. Some problems, such as checking facts, belong to human review, not to more prompt edits. The next chapters cover that.
Exercise
A prompt for a product email returns copy that uses "cutting-edge" and "game-changing" and an exclamation mark in every paragraph. Which part of the prompt do you change first, what do you add, and what do you do after running it?
Show answer
Change the constraints first, because the problem is tone and word choice. Add specific rules, such as "Friendly, direct tone. No exclamation marks. Avoid hype words such as cutting-edge and game-changing." Change nothing else. Run it two or three times, compare with the previous version, and keep the change if the hype is gone. Undo it if it made something else worse.
Exercise
You change the audience, the format, and the role in one pass, and the email improves. Why is this a problem for future prompts?
Show answer
You cannot tell which of the three edits caused the improvement, or whether one of them made things worse while another helped more. You cannot reuse the lesson. Change one part per pass and record the result.