How to Write a Good Prompt: A Simple 5-Part Formula
Role, task, context, format and check. A five-part formula that turns vague AI requests into useful answers, with a worked example.
Published 16 November 2026
Most weak answers from an AI tool come from weak questions. A good prompt takes thirty seconds longer to write and saves ten minutes of fixing.
The five parts
1. Role
Tell the tool who to be. You are a shop assistant who writes short, friendly messages.
2. Task
Say exactly what you want. Write a WhatsApp reply to a customer asking if we deliver.
3. Context
Give the facts it cannot know. We deliver in Lahore within two days. Delivery is Rs 250. Orders over Rs 5,000 are delivered at no charge.
4. Format
Describe the shape of the answer. Under 50 words. Simple English. One emoji at most.
5. Check
Ask it to verify its own work. Before you answer, make sure the delivery charge and the two-day time are both mentioned.
A weak prompt and a strong one
Weak: Write a reply about delivery.
Strong: You are a shop assistant who writes short, friendly messages. Write a WhatsApp reply to a customer asking if we deliver. We deliver in Lahore within two days for Rs 250, and orders over Rs 5,000 are delivered at no charge. Keep it under 50 words in simple English. Make sure the charge and the delivery time are both mentioned.
The second prompt gives the tool everything it needs, so the first answer is usually usable.
Three habits that help
- Give an example. Paste a message you like and ask for the same style.
- Ask for options. Three versions let you choose instead of rewriting.
- Correct it. Say what was wrong and ask again. The second answer is nearly always better.
What not to share
Never paste passwords, bank details or private customer information into a public AI tool.
Try it now
Take any prompt from our list of 25 prompts for business owners and add the five parts. Then read where AI tools help a small business.