How to Write Better AI Prompts (With Before-and-After Examples)
- Why vague prompts get generic answers
- The core elements of a strong prompt
- 1. A specific task and goal
- 2. Context the model wouldn't otherwise know
- 3. A defined format and length
- 4. A role or audience, where it matters
- A before-and-after example
- Be explicit about constraints
- Treat the first response as a draft
- Frequently asked questions
- Do longer prompts always give better results?
- Does telling the AI to "act as an expert" actually help?
- What should I do if the output keeps missing the point?
On this page
- Why vague prompts get generic answers
- The core elements of a strong prompt
- 1. A specific task and goal
- 2. Context the model wouldn't otherwise know
- 3. A defined format and length
- 4. A role or audience, where it matters
- A before-and-after example
- Be explicit about constraints
- Treat the first response as a draft
- Frequently asked questions
- Do longer prompts always give better results?
- Does telling the AI to "act as an expert" actually help?
- What should I do if the output keeps missing the point?
Most disappointing AI output comes from a disappointing prompt. Ask an AI assistant to "write a blog post about productivity" and you'll get something readable, tidy and forgettable: a generic introduction, five familiar tips, a conclusion that restates them. The model hasn't failed. It has done exactly what a request that open allows.
Better prompts don't need special tricks or secret phrases. They need the same thing a good brief for a human colleague needs: a clear task, the context the other person doesn't have, and a description of what finished looks like. This guide covers why vague prompts produce bland results, the elements of a strong prompt, a before-and-after example, and how to refine output over several turns.
Why vague prompts get generic answers
A language model generates a response by predicting what text is most likely to follow your request, based on patterns learned from huge amounts of writing. Whatever your prompt leaves unspecified, such as who the audience is, how long it should be, what angle to take or what to leave out, the model fills in with its most likely guess. The most likely guess is, almost by definition, the average one.
That's why unspecific prompts produce text that sounds like everything else on the topic. It isn't that the model can't do better. It's that nothing in the request told it what "better" meant for you. Every detail you add narrows the range of plausible responses toward the one you actually want.
Note
The model only knows what's in the conversation. It doesn't know your company, your audience, your earlier drafts or why you're asking, unless you tell it. Anything you assume it knows, it will replace with a generic guess.
The core elements of a strong prompt
A strong prompt doesn't have to be long, but it usually covers four things. Not every prompt needs all four, and a quick factual question needs almost none, but for any piece of writing or analysis, checking each one is the fastest way to improve the result.
1. A specific task and goal
Say exactly what you want produced and what it's for. "Write about our product launch" is a topic. "Write a 150-word email announcing our product launch to existing customers, aimed at getting them to book a demo" is a task with a goal. The goal matters because it tells the model what to prioritise when it has to choose between options.
2. Context the model wouldn't otherwise know
Include the facts only you have: what the product does, who the customers are, what's already been tried, what the reader already knows. This is the element people most often leave out, and it makes the biggest difference, because it's the only way the output can be specific to your situation rather than a plausible average.
3. A defined format and length
Describe the shape of the output: a bulleted list, a table, three short paragraphs, a numbered set of steps, a single subject line. Give a length target in words, sentences or items. Without one, the model picks a default length that is often longer than you need.
4. A role or audience, where it matters
Telling the model who the output is for changes vocabulary, depth and assumptions. "Explain how compound interest works to a teenager opening their first savings account" and "explain compound interest for a finance professional reviewing a model" should produce very different answers, and they will. Framing a role ("act as an experienced editor reviewing this draft") can help too, mostly because it signals the standard and perspective you want.
A before-and-after example
Here's the same request written two ways.
- Before: "Write a LinkedIn post about remote work."
- Likely result: a generic 250-word post about flexibility and work-life balance, three or four hashtags, an upbeat closing question. It could have been posted by anyone.
- After: "Write a LinkedIn post of about 120 words from the perspective of an engineering manager whose team of eight moved to fully remote last year. The main point: our deploy frequency went up but junior developers struggled without informal mentoring, so we started twice-weekly pairing sessions. Audience: other engineering managers. Tone: candid and practical, not promotional. No hashtags, no emojis, and don't open with a question."
- Likely result: a short, specific post that makes one concrete point, uses your actual experience, speaks to peers, and avoids the stock phrasing you ruled out.
The improved prompt isn't clever. It simply answers the questions the model would otherwise have guessed at: who is speaking, what happened, what the point is, who's reading, how long, what tone, and what to avoid.
Be explicit about constraints
Models follow explicit constraints much more reliably than implied ones. If you want under 100 words, say "under 100 words", not "keep it short". If you don't want jargon, say so. If a particular claim must not be made, such as a specific price or a promise about delivery dates, state it directly.
- Length: an actual number of words, sentences, bullet points or paragraphs.
- Tone: named precisely, such as "plain and direct", "warm but professional" or "neutral, no marketing language".
- Things to avoid: clichés, particular phrases, exclamation marks, specific topics, unverified statistics.
- Things to include: a call to action, a particular term, a reference to a specific detail you supplied.
- Reading level or audience knowledge: "assume no technical background" or "assume they know SQL".
Tip
If there's a specific phrase or pattern you keep seeing and dislike, name it in the prompt: "don't start with 'In today's fast-paced world'" works far better than hoping the model avoids it on its own. Explicit exclusions are one of the most dependable ways to lift output quality.
Treat the first response as a draft
Even a well-written prompt rarely gets a perfect result on the first try, and that's fine. The fastest route to good output is usually two or three short rounds of refinement rather than one enormous prompt. Read the first response, work out exactly what's wrong with it, and say so in a follow-up: "cut the second paragraph", "make the opening more direct", "replace the generic example with one about a small retail business", "this is too formal, loosen it up".
Specific feedback works the same way specific prompts do. "Make it better" gives the model nothing to act on; "the tone is right but the third point repeats the first, so replace it with something about cost" gives it an exact change. And check any factual claims in the final version yourself, since fluent writing is not the same as accurate writing.
Frequently asked questions
Do longer prompts always give better results?
No. Specific beats long. A 40-word prompt that states the task, audience, format and one key constraint will usually outperform a 300-word prompt that rambles. Add detail that changes the output; leave out detail that doesn't.
Does telling the AI to "act as an expert" actually help?
It can nudge the vocabulary and depth, but on its own it's a weak instruction. Describing the audience, the goal and the standard you expect does more than a role label. Use a role as one part of a prompt, not a replacement for context.
What should I do if the output keeps missing the point?
Usually the prompt is missing context. Explain why you're asking and what the output will be used for, give a short example of what good looks like, and state the most important requirement first. If a long conversation has drifted, starting a fresh one with a single consolidated prompt often works better than more corrections.
The core habit is simple: before you send a prompt, ask what a capable colleague would need to know to do this well, and include it. A clear task, real context, a defined format and explicit constraints, followed by a round or two of specific feedback, will get you useful output far more often than any clever phrasing.
Ready to put this into practice?
Generate a Better Prompt Free