The anatomy of a great prompt
The five components that reliably produce great output.
Great prompts share a structure. You don't need every part every time, but knowing the five components lets you build a strong prompt for anything. The major AI labs (Anthropic, OpenAI, Google) all converge on roughly this skeleton:
1. Task — what you want, stated directly. Lead with a clear action verb: "Write," "Summarize," "Analyze," "Compare," "Rewrite." Skip the throat-clearing ("I was wondering if you could maybe...") and state the job. This is the one component you always need.
**2. Context — the why and the who.** Why are you asking, who's it for, how will it be used? "This is a follow-up email to a client who missed a deadline — I want to be firm but preserve the relationship." Context is often the biggest quality lever, because it lets the AI make good choices about tone, detail, and emphasis that you didn't have to spell out.
3. Constraints — the boundaries. Length, tone, what to include, what to avoid, scope. "Under 150 words." "Professional but warm." "Don't mention pricing." Constraints keep the output on-target.
4. Output format — the shape of the result. A table? Bullet points? An email? Three options? "Give me a table with columns for Option, Pros, Cons." Specifying the format saves you enormous reshaping time and gets you something usable immediately.
5. Role (optional) — a perspective. "Act as an experienced editor." Useful mainly for setting a consistent tone or perspective. Note for 2026: modern models often don't need an elaborate role — being clear about the perspective you want ("focus on the financial risks") usually beats "You are a world-renowned expert with 30 years of experience." Don't over-engineer this.
Putting it together — a weak prompt vs. a strong one:
- Weak: "Write about our new feature."
- Strong: "Write a short announcement (Task) of our new analytics dashboard for existing customers who are busy operations managers (Context). Keep it under 120 words, focused on time saved, friendly but professional (Constraints). Format as a subject line plus 3 short paragraphs (Format)."
The second gives the AI everything it needs to nail it on the first try.
A simple mental checklist for any prompt: Did I say clearly what I want (task)? Did I give the why and who (context)? Did I set the boundaries (constraints)? Did I say what shape I want it in (format)? Run that check and your prompts jump in quality immediately. You won't always need all four — a quick question doesn't — but for anything that matters, this anatomy is your reliable recipe. Everything else in this course refines and extends it.
Build one prompt using all five components for a real task. Run it, and notice how much closer the first result is compared to a bare one-line request.
Enjoying the free lessons? Get an email when we publish new courses and updates — no spam, unsubscribe anytime.
Discussion (0)
Ask a question or share what worked for you. Comments are reviewed before they appear.
No comments yet. Be the first to start the discussion!