Tools
How to write good AI prompts: a simple formula that works
Better AI answers start with better prompts. Use this five-part formula, before-and-after examples and a checklist of common mistakes to get useful results first time.

Writing good AI prompts is the single biggest thing you can do to get better results from an AI chat assistant. A prompt is simply the message you type. The clearer it is about what you want, for whom and in what shape, the less the AI has to guess, and guessing is where vague, generic answers come from.
This guide gives you a simple five-part prompt formula, shows before-and-after examples, explains techniques that reliably help, and lists the most common mistakes. It works for any kind of AI chat assistant.
Why do vague prompts give generic answers?
An AI language model fills in whatever you leave out with the most typical choice. Ask “write a birthday message” and you get the average birthday message: pleasant, bland and suitable for nobody in particular. The model is not being lazy. It simply has no information about who the message is for.
Think of the AI as a capable new colleague who knows a lot in general but nothing about your situation. You would not hand them a one-line task and expect perfection. You would explain the background, the goal and what good looks like. Prompts work the same way.
What is a simple formula for a good prompt?
Most strong prompts contain five ingredients. You do not need all five every time, but checking them before you hit enter fixes most weak results.
A handy way to remember the order: who, what, why, how, and what to avoid. Short prompts are fine for simple questions. The formula matters most for writing, planning and anything you will use.
- Task: what you want done, starting with a clear verb. Draft, summarise, compare, explain, list, rewrite.
- Context: the background the AI cannot know. Who you are, who the audience is, what has happened so far.
- Goal: what the result is for. To persuade, to inform a beginner, to decide between options.
- Format: length, structure and tone. Three bullet points, a 150-word email, a table with two columns, friendly but brief.
- Constraints: anything to include or avoid. Use British spelling, no jargon, mention the deadline, do not invent figures.
Every sentence in a good prompt removes a guess.
What does a good prompt look like in practice?
Here is a weak prompt: “Write an email about the meeting.” The AI has to guess which meeting, who it is for, and what should happen next.
Here is a stronger version: “Write a short email to my team of six designers. Our Thursday review is moving to Friday at the same time because the client is travelling. Tone: friendly and brief. Ask them to send any slides by Thursday afternoon. Under 100 words.” Every sentence removes a guess, and the result usually needs little editing.
The second prompt took perhaps thirty seconds longer to write. It saves several rounds of “no, I meant…”.
Which prompting techniques reliably help?
Give examples. If you want a particular style, paste a short sample and say “match this tone”. Examples communicate style faster and more precisely than adjectives like “professional” or “punchy”.
Ask for steps on hard problems. For maths, logic or planning, adding “work through this step by step” or “explain your reasoning before your answer” often improves accuracy, because the model sets out intermediate steps rather than jumping to a conclusion.
Separate instructions from material. When you paste a document, mark it clearly, for example by putting it under a line saying “Text to summarise:”. Assign a perspective when useful, such as “review this as a sceptical customer would”. And invite questions: “Before you start, ask me anything you need to know.”
What are the most common prompting mistakes?
A few habits cause most disappointing results. Watch for these.
None of these mean you have failed. They mean the next message should add what was missing.
- Too little context: the AI cannot read your mind, your inbox or your company’s history.
- Several unrelated tasks in one message: split them, or number them clearly.
- Asking for facts without sources: request sources or provide your own material, then verify.
- Only saying what not to do: say what you want instead, which models follow more reliably.
- Accepting the first draft: treat it as a starting point and refine.
- Leaking private information: avoid pasting passwords, personal data or confidential material unless your tool and organisation allow it.
How do you improve a prompt that did not work?
Read the answer and ask what the AI must have assumed to produce it. Too formal? It assumed a formal audience. Too long? You did not set a length. Then add the missing detail rather than repeating the same request louder.
Be specific in your feedback. “Make it better” gives the model little to work with. “Cut it to half the length, keep the second paragraph, and make the opening less salesy” gives it a clear target.
If a conversation has gone off track, start fresh with a fuller prompt that includes what you learned. Long chats full of corrections can confuse the model more than they help.
Should you save prompts that work?
Yes. If you repeat a task, such as weekly updates, product descriptions or meal plans, keep your best prompt in a notes file and reuse it with the details changed. A tested template gives more consistent results than writing from scratch each time.
Many AI tools also let you set custom instructions, standing preferences that apply to every chat, like your role or preferred tone. These save you repeating the same context and pair well with saved task prompts.
Frequently asked questions
What is a prompt in AI?
+
A prompt is the instruction or question you give an AI tool. It can be one line or several paragraphs with background, examples and formatting requests. The quality of the prompt strongly shapes the quality of the answer.
How long should an AI prompt be?
+
As long as it needs to be to remove guesswork. A simple question can be one line. A writing or planning task often benefits from a short paragraph with context, goal, format and constraints.
What is prompt engineering?
+
Prompt engineering is the practice of designing prompts to get reliable, high-quality results from AI models. For everyday users it mostly means giving clear context, examples and format instructions.
Do I need special words or tricks for AI prompts?
+
No. Plain, specific language works best. Clear instructions, relevant context and examples matter far more than magic phrases.
Should I tell the AI to act as an expert?
+
Assigning a role can help set the tone and focus, such as “explain this as a patient maths teacher would”. It does not give the AI expertise it lacks, so still check facts.
Why does the AI ignore part of my prompt?
+
Long or cluttered prompts can cause the model to miss instructions, especially ones buried in the middle. Put key requirements near the end, use a short list, and remove anything unnecessary.
Good prompts are not clever, they are clear. Say what you want, give the background, describe the shape of the answer, and refine from the first draft. Those habits work with any AI chat assistant.
How we research: Guides are written from established sources and checked for accuracy. They are general information, not professional advice.
Written by
Cortexpost Editorial Team
Artificial intelligence
Our writers work with AI tools every day and explain them plainly, without hype or doom.


