Be Clear and Specific
How to replace vague words in a prompt with instructions you can check, and why giving the reason for a rule covers cases you did not list.
On this page
Being specific means writing a prompt so that only one kind of reply satisfies it. Words such as "short", "simple", "professional" and "improve" feel clear to the person who writes them, but each one leaves a decision open, and the model fills it with the most common guess. A specific prompt reduces the number of attempts you need before the reply is usable.
If you ask a colleague to make a slide deck "a bit shorter", they might cut 30 slides to 26 when you wanted 10. A model does the same thing, because the number you had in mind was never written down.
Replacing vague words with checkable ones
"Keep it short" means you decided how short, but the model does not know your decision and has no access to your reasons. The fix is to replace each vague word with something you could check against the reply. If you cannot tell whether a reply followed the instruction, the model could not tell either.
| Vague | Specific |
|---|---|
| Keep it short | Use fewer than 80 words |
| Make it simple | Write it so a 12-year-old could follow it, and explain any technical word in brackets |
| Sound professional | Use a formal tone, with no jokes and no exclamation marks |
| Give me some ideas | Give 5 ideas, one line each |
| Improve this paragraph | Fix grammar and spelling only, and keep my wording and length |
"Improve" could mean fixing typos, restructuring the paragraph, cutting it in half or making it sound fancier. "Fix grammar and spelling only" allows exactly one of those.
How each detail narrows the reply
The example below asks for a subject line telling staff that the office closes early on Friday. The grid lists six replies that all fit the vague prompt, and each detail you add rules some of them out.
- possible replies
reply day time reason Office Closing Early Important Update Early Closure Friday Friday: we close at 2pm Closing 2pm Fri: power work Heads up: early finish - replies that fit
- 6
1The prompt is "Write a subject line about the office closing early." All six replies fit it, and which one you get is partly chance because of sampling.
- possible replies
reply day time reason Office Closing Early no Important Update no Early Closure Friday yes Friday: we close at 2pm yes Closing 2pm Fri: power work yes Heads up: early finish no - replies that fit
- 3
2You add "Say which day." Three of the replies never mention Friday, so they no longer fit.
- possible replies
reply day time reason Office Closing Early no Important Update no Early Closure Friday yes no Friday: we close at 2pm yes yes Closing 2pm Fri: power work yes yes Heads up: early finish no - replies that fit
- 2
3You add "Include the closing time, 2pm." Only two of the remaining replies give the time.
- possible replies
reply day time reason Office Closing Early no Important Update no Early Closure Friday yes no Friday: we close at 2pm yes yes no Closing 2pm Fri: power work yes yes yes Heads up: early finish no - replies that fit
- 1
4You add "Mention the electrical work, so people do not think it is a holiday." Only one reply mentions the reason.
- possible replies
reply day time reason Office Closing Early no Important Update no Early Closure Friday yes no Friday: we close at 2pm yes yes no Closing 2pm Fri: power work yes yes yes Heads up: early finish no - details added
- 3
- replies that fit
- 1
5Three short additions reduced six acceptable replies to one. The model is no more capable than before, but it no longer has to guess what you wanted.
Real prompts have thousands of possible replies, not six, but each checkable detail still shrinks the set in the same way.
Techniques for making a prompt specific
Say why, not only what
You can never list every case, so each rule should come with its reason. The model can then apply the reason to cases you did not think of. In the first prompt below, the rule is followed but the model has no way of knowing whether a return is allowed.
In the second prompt the rule has a reason and the prompt says what the model is allowed to offer instead.
Because the model knew the goal, it gave a helpful answer and handled the refund request honestly, which the bare rule never covered. Use this whenever a rule starts with "never" or "always": add one clause that says why.
Name the reader
A phrase such as "for a new hire in their first week" sets the vocabulary, the depth and the tone in one step. Without it, the model writes for an average reader who does not exist. Name the reader whenever the reply is meant for someone other than you, and add what they already know.
Give numbers
Word counts, item counts and reading levels are the easiest instructions for a model to follow and for you to check. Use a number for length and quantity. Use a range, such as "50 to 70 words", when an exact count is not needed. Models follow length targets only approximately, so if a limit is strict, check the length of the reply yourself instead of trusting it.
Describe what done looks like
Say what the finished reply must contain, for example "it should end with one action the reader can take today". This is also how you handle format: if you want a table, bullet points or JSON, say so. For output that a program will read, see Structured Output.
Say what to do when the answer is missing
Suppose the instruction is "Extract the invoice date" and one invoice has no date. The model will often write a plausible date anyway, because the prompt implies that one exists. Add "If the date is not in the text, write unknown and do not guess." This is one of the main ways to prevent made-up details.
Pitfalls with emphasis, conflicting rules and long prompts
When more detail does not help
Specific does not mean long. Extra detail helps only when it removes a decision that would otherwise be left to the model. A rule that restates what the model would do anyway, such as "write in correct English", adds length without changing the reply, and a prompt with many rules makes it more likely that two of them conflict.
Be careful about constraints the model cannot follow reliably. Exact word counts and strict character limits are checked poorly by a model, so verify them in code if the limit matters. It is also usually better to describe the result you want than to prescribe every step, unless the steps themselves are the requirement.
Checking a prompt before you send it
Read the prompt as if you were a capable colleague who is new to the project, and put the answer to every question that person would ask into the prompt. If a prompt that works on one example fails on others, run it on a few different inputs and look for the vague word that each failing reply interpreted differently. Debugging Prompts covers how to find it.
This prompt produces a generic, gushing paragraph. Rewrite it so that every vague word is checkable, the reader is named, and at least one rule has a reason.
Show a sample answer
One stronger version:
This version works for four reasons. "Good" and "catchy" became a named reader and an ordering rule, which is to put the most useful fact first. "Not too long" became 50 to 70 words plus 3 bullets. The facts are supplied, so the model does not invent features. The ban on hype words comes with a reason, so the model also avoids hype words that you did not list.
Which instruction is the most specific?
Why does giving the reason behind a rule help?
Your prompt says "Extract the invoice date." Some invoices have no date. What should you add?
What to practise next
Some things, such as a tone of voice or an unusual format, are hard to describe in words. For those, Show Examples explains how to put examples in the prompt instead.