7 Parts of a Good Prompt (With a Checklist)
What makes a good prompt? Most weak prompts are not missing cleverness — they are missing parts. A prompt with no role, no format and no limits leaves the AI guessing, and its guesses are often not yours. This post walks through the seven parts every good prompt has, with an example of each — and if you want to check your own prompt against them, the ChatGPT Prompt Optimizer scores it against this same checklist, free.
1. Role — tell the AI who to be
Start with who the AI should act as: “Act as an experienced email marketer” or “You are a career coach”. A role tells the AI what expertise to draw on, and it changes the vocabulary, the priorities and the level of detail in the answer. Without one, the AI answers as a generalist — which is fine for a general question, and the wrong voice for most real work.
2. Task — one clear verb and deliverable
Say exactly what to do, with one clear verb and one deliverable: “Write a launch email for our new budgeting app” is a task. “Tell me about marketing” is not — it has no deliverable, so the AI has to choose one for you. One task per prompt works best; three tasks in one prompt usually get three shallow answers instead of one good one.
3. Context — the background it cannot guess
Context is the background the AI cannot guess: who the answer is for, what the product is, the facts that matter. “Aimed at busy small-business owners who struggle to track expenses” changes the email completely — the audience, the problem and the tone all follow from it. Give the prompt enough detail to work with; a short prompt with no background is the most common reason an answer feels generic.
4. Format — say how the answer should look
Say how the answer should look: bullets, a table, steps, short paragraphs, or a length. “In short paragraphs with bullet points, under 200 words” is a format. Without one, the AI picks a shape at random — sometimes a wall of text when you wanted a list, sometimes a list when you wanted prose. Format is also the cheapest way to make an answer usable as it is, with no reformatting on your side.
5. Constraints — set the limits
Constraints are the limits: a word count, a tone, things to avoid. “Must not use jargon” and “keep it under 300 words” are constraints, and so is “friendly and practical” as a tone. Limits stop the AI from rambling and keep the answer inside the shape you actually need. A prompt with no constraints gets the AI’s default — which is usually longer and blander than you wanted.
6. Example — show it what you want
An example shows the AI what you want better than a description does. “For example, start with a subject line like ‘Your budget, finally under control'” gives the AI a style to match — the length, the tone, the shape of the thing. One short example is usually enough. Without one, the AI invents its own idea of what the output should look like, and that idea is often not yours.
7. Success criteria — say what “good” looks like
Finish by saying what “good” looks like: what the answer must include or achieve. “A good answer is one the reader can skim in 30 seconds and that makes them click the download button” tells the AI what to aim at. Without it, the AI does not know whether you want a thorough answer, a persuasive one, or a quick one — so it gives you something in between.
The 7 Parts of a Good Prompt — Worked Example
The seven parts are easier to use than to memorise, so here is one prompt that uses all of them — written for a guide to smart plugs for renters, and checked against the ChatGPT Prompt Optimizer on 4 December 2026, which scored it 100 out of 100 (“Strong”), with all seven parts covered:
“Act as an experienced SEO content writer. Write the opening paragraph of a guide to smart plugs for renters. The readers are renters in small flats who cannot drill holes or change the wiring, and who have never owned a smart home device. Write it in three short paragraphs, under 150 words. Use plain English, no jargon, and do not mention any prices. For example, open with a line like: ‘The best first smart device for a renter is a plug.’ A good answer is one a reader can skim in 30 seconds and come away knowing whether a smart plug fits their flat and what to do first.”
The parts, labelled so you can see where each one sits: Role — “Act as an experienced SEO content writer.” Task — “Write the opening paragraph of a guide to smart plugs for renters.” Context — “The readers are renters in small flats who cannot drill holes or change the wiring, and who have never owned a smart home device.” Format — “Write it in three short paragraphs, under 150 words.” Constraints — “Use plain English, no jargon, and do not mention any prices.” Example — “For example, open with a line like: ‘The best first smart device for a renter is a plug.'” Success criteria — “A good answer is one a reader can skim in 30 seconds and come away knowing whether a smart plug fits their flat and what to do first.”
Two honest notes. First, the 100 out of 100 is the Optimizer’s rule-based checklist score — it means the prompt covers all seven parts, not that the answer it produces will be good. Second, no model answer is shown here, because the point of this example is the prompt itself: copy the shape, swap in your own role, task and context, and keep all seven parts in. Miss one and the AI fills the gap itself; miss several and the answer is a guess. Run your own prompt through the ChatGPT Prompt Optimizer and it checks all seven parts, gives you a score out of 100, and shows exactly what is missing.
Score your own prompt
Run your prompt through the ChatGPT Prompt Optimizer and it checks all seven parts, gives you a score out of 100, and shows exactly what is missing — then rebuilds your prompt with your own words in the order above, marking the missing parts as placeholders for you to fill in. The score is a rule-based checklist, not an AI judgement: 80–100 is strong, 50–79 is usable with gaps to fix, and 0–49 needs work. If you want to build a prompt from scratch instead, the AI Prompt Generator fills in the same seven parts with a form — and count the tokens before you send a long prompt, so you know what it costs. OpenAI’s prompt engineering guide covers the same ideas in more depth. For pictures instead of words, the midjourney prompt generator builds the prompt from a subject, a style and the Midjourney flags.
Conclusion
A good prompt has seven parts: a role, a clear task, context, a format, constraints, an example, and success criteria. Miss one and the AI fills the gap itself; miss several and the answer is a guess. Check your next prompt against the seven — or paste it into the ChatGPT Prompt Optimizer and let the checklist do it for you. Which part does your usual prompt skip?