How to Write Better Prompts for ChatGPT and Other AI Assistants
Practical techniques for better answers from ChatGPT and other AI assistants: give context, specify the output, use examples, split tasks and verify results.
- Published
- Updated
- 4 min read

Key takeaways
- Give the context the assistant can't guess and say exactly what output you want.
- Examples, step-by-step tasks and supplied source material improve results the most.
- Treat answers as drafts: iterate, and verify facts, figures and sources before relying on them.
On this page
- 1. Give the context the assistant cannot guess
- 2. Be specific about the output you want
- 3. Show an example
- 4. Break complex tasks into steps
- 5. Provide the source material
- 6. Ask it to think through the problem
- 7. Iterate instead of starting over
- 8. Verify, especially facts and figures
- A reusable prompt template
- Conclusion
AI assistants such as ChatGPT can draft emails, explain concepts, write code and summarise documents, but the quality of what you get depends heavily on what you ask. The good news is that "prompting" is not a secret art. Most improvements come from a few habits that also make you a better communicator with people.
Here are eight practical techniques, with before-and-after examples.
1. Give the context the assistant cannot guess
The assistant knows nothing about your situation unless you say so. Include who you are, who the output is for and why you need it.
Weak: "Write an email about the delay."
Better: "I manage a small web design agency. Write a short email to a client explaining that their website launch will move from Friday to next Wednesday because we are waiting on final product photos from them. Keep it friendly and professional, and suggest a quick call if they have questions."
2. Be specific about the output you want
Say what format, length, tone and level of detail you expect.
- "Answer in three bullet points."
- "Write it for a non-technical reader."
- "Give me a table with columns for option, cost and main drawback."
- "Keep it under 150 words."
Clear constraints remove guesswork and usually produce a usable result on the first try.
3. Show an example
If you have a specific style or structure in mind, an example communicates it faster than a description.
Write product descriptions for the items below in the same style as this example: "Trail Bottle 750 ml – Keeps drinks cold for 24 hours. Leak-proof lid, fits standard cup holders."
This technique, called few-shot prompting, is one of the most reliable ways to control format and tone.
4. Break complex tasks into steps
Large, vague requests produce generic results. Split the work:
- "Here are my notes from three customer interviews. List the recurring problems customers mention."
- "Group those problems into themes and rank them by how often they appear."
- "Draft a one-page summary for my team based on the top three themes."
Each step lets you check and correct the direction before moving on.
5. Provide the source material
If the answer depends on a specific document, paste the relevant text or upload the file and tell the assistant to use it: "Using only the policy text below, answer: can employees carry over unused leave?" Grounding answers in supplied material greatly reduces made-up details. The same principle powers retrieval-augmented generation (RAG) in business AI systems.
6. Ask it to think through the problem
For reasoning-heavy tasks such as planning, comparing options or debugging, ask the assistant to work through the problem, list its assumptions or consider alternatives before giving a recommendation. Many current models already reason internally, but explicitly asking for assumptions and trade-offs makes the answer easier for you to check.
7. Iterate instead of starting over
Treat the first response as a draft. Follow up with targeted feedback:
- "Make the second paragraph more concise."
- "That is too formal. Write it the way you would speak to a colleague."
- "You missed the budget constraint. Revise the plan to stay under $500."
The conversation history means the assistant can refine its work without you repeating everything.
8. Verify, especially facts and figures
Language models generate plausible text, and plausible is not the same as correct. They can misstate numbers, invent quotations or cite sources that do not exist. For anything that matters:
- Ask for sources, then open and check them.
- Cross-check key facts with an authoritative website.
- Test generated code before using it, and review it for security issues.
- Do not paste passwords, personal data or confidential business information unless your organisation has approved the tool for that use.
A reusable prompt template
When you are unsure where to start, fill in this structure:
Role/context: I am a [who you are] working on [situation].
Task: Please [what you want done].
Input: [paste text, data or details].
Requirements: [format, length, tone, audience, constraints].
Example (optional): [a sample of the desired output].
Conclusion
Better prompts are mostly clearer requests: give context, define the output, show an example, break big jobs into steps, supply source material, and review the result critically. These habits work across ChatGPT and other AI assistants, and they turn a novelty into a dependable everyday tool.
Frequently asked questions
Do I need special prompt templates or magic phrases?
No. Modern assistants respond best to clear, complete instructions written in plain language. Context, a specific goal and a defined output format matter much more than particular phrases.
Do these tips work for assistants other than ChatGPT?
Yes. The techniques in this guide, such as giving context, specifying format, providing examples and breaking up tasks, apply to most large language model assistants, including Claude, Gemini and Copilot.
Should I trust facts and figures from an AI assistant?
Verify anything important. AI assistants can produce plausible but incorrect statements, including wrong numbers and non-existent sources. Ask for sources and check them, especially for health, legal, financial or technical decisions.
Sources and further reading
Related articles

ChatGPT Wallet Explained: How OpenAI's Agents Pay for You, Who Can Use It and Is It Coming to Europe?
ChatGPT Wallet lets OpenAI's dots agents pay with a card token after a Face ID or fingerprint check. How it works, who can use it and what it means for Europe.

ChatGPT Images 2.6: Animated GIFs, Reusable Reference Images and What's New
ChatGPT Images 2.6 makes animated GIFs, reuses saved reference images and is 50% faster. What's new, who gets it, the new API models and the privacy angle.

What Are AI Agents? How Agentic AI Works, With Examples and Risks
AI agents use language models to plan and act with tools until a goal is done. How they work, how they differ from chatbots, real examples and the risks.