Guide
How to Write Better AI Prompts: A Simple 5-Part Formula
Write better AI prompts with a simple 5-part formula: role, task, details, format and tone. Clear examples you can copy into ChatGPT, Claude or Gemini.
By Benjamin Ndungu, Founder of ChoosePrompt
Updated 3 min read
Quick answer
A good AI prompt tells the tool five things: who it should act as, the task, the important details, the format you want back and the tone. Put them in one clear request, add an example if you can, then improve the answer with short follow-up messages.
The 5-part prompt formula
Most weak prompts are missing information the AI cannot guess. This formula makes sure nothing important is left out.
- Role: who the AI should act as. For example: a graphic designer, a teacher or a sales copywriter.
- Task: what you want made, in one clear sentence.
- Details: the facts only you know, such as your business name, audience, prices or key points.
- Format: what the answer should look like, such as a table, 5 bullet points, a 7-slide carousel or under 120 words.
- Tone: how it should sound, such as warm, formal, funny or simple enough for a 12-year-old.
A before and after example
Write a flyer for my coffee shop.
Act as a professional graphic designer. Create a one-page flyer for a cozy coffee shop called [shop name], targeting [target audience]. Use a warm, friendly tone. Include a headline, three menu highlights with one-line descriptions, opening hours ([opening hours]) and a [offer] for first-time visitors. Format it with clear sections and short, punchy text that fits on one A4 page.
The strong prompt gives the AI a role, a clear task, the details it needs, an exact format and a tone. The answer is usually ready to use, instead of needing five more messages.
Tips that make any prompt better
- Use numbers. "Under 120 words", "3 versions" and "7 slides" are clearer than "short" or "a few".
- Say who it is for. Students, busy parents and small business owners need very different answers.
- Show an example. Paste a sample of the style you like and ask the AI to match it.
- Ask for options. "Give me 3 versions" lets you pick the best one instead of starting again.
- Mark the parts you will change with [square brackets] so you can reuse the prompt later.
- Split big jobs into steps. Ask for an outline first, then each section.
Improve the answer instead of starting over
The first answer is a draft. Short follow-up messages are usually faster than rewriting the whole prompt:
- "Make it shorter and simpler."
- "Turn this into a table with three columns."
- "Give me two more versions with a funnier tone."
- "Keep the structure but write it for [new audience]."
Prompts for images, video and music
The same idea works for pictures, videos and songs, but the details change. Describe the subject, the style, the light or mood, the composition and the format, such as the shape of the image or the length of the clip. For music, describe the length, mood, instruments and voice.
Flat lay photo of [product] on a pale wooden table, soft natural light, small green leaves around it, warm and calm mood, top-down view, plenty of empty space for text, square format.
See real examples in the image prompts and music prompts categories.
Always check the result
AI tools can sound confident and still be wrong. Check facts, numbers, prices, names and code before you publish or send anything. If something must be exact, give the real facts in your prompt and ask the AI to use only those.
Try it with a real prompt
Every prompt in the library is shown next to the result it made, with the parts to change highlighted.
Browse promptsFrequently asked questions
How long should an AI prompt be?
Long enough to include the role, task, details, format and tone, which is usually two to six sentences. Longer prompts are fine when the task needs more details, as long as every sentence is useful.
Do I need different prompts for ChatGPT, Claude and Gemini?
Usually not. A clear prompt works in all of them. Image, video and music tools sometimes accept extra settings, and each ChoosePrompt page mentions them when they matter.
What is the most common prompting mistake?
Being too vague. A prompt like "write a post about shoes" leaves the AI guessing. Say who it is for, what to include, how long it should be and how it should sound.