Find a course

Module 2: Prompting That WorksLesson 4 of 1212 min

The Anatomy of a Good Prompt

Build prompts from five parts, role, context, task, constraints and format, and see how each one turns generic output into something you can use.

Step 1 of 12Learn

Same tool, very different results

Two managers ask the same AI assistant for help with a job posting.

Alex types: "Write a job ad for a marketing coordinator." He gets 300 words of generic text: "dynamic team", "fast-growing company", "excellent communication skills". It could describe any marketing job anywhere. He spends 25 minutes rewriting it.

Bea types: "You're helping a small nonprofit hire its first marketing coordinator. We run food banks in two cities, have a team of 12 and a tight budget. The role is 60% social media and newsletters, 40% event promotion. Must-haves: writing samples, basic design tools. Nice to have: Spanish. Salary range $48,000–$54,000, hybrid, three days in office. Write a job ad under 250 words in a warm, plain tone. Avoid buzzwords like 'rockstar' or 'fast-paced'. End with how to apply."

Bea's draft needs two small edits.

The difference isn't magic wording. Bea gave the model what any human writer would need: who it's for, the facts, what to produce, the limits and the format. The model can't read your mind or your files. Everything it doesn't know, it fills in with the most average guess. A good prompt replaces those guesses with your specifics.

Step 2 of 12Learn

Five building blocks

Most strong prompts contain some mix of five parts. You won't need all five every time, but checking for them is the fastest way to improve weak output.

  1. Role or perspective. "Act as an experienced HR advisor" or "Review this as a skeptical CFO would." A role nudges vocabulary, depth and what the model pays attention to. It's helpful but the least important of the five.
  2. Context. Who you are, who the audience is, what the situation is, what has happened so far. This is usually the biggest missing piece.
  3. Task. The specific action, starting with a clear verb: draft, summarize, compare, rewrite, list, critique, extract. One main task per prompt works best.
  4. Constraints. Length, tone, reading level, what to include or avoid, which sources to use, deadlines, budget.
  5. Format. How the answer should look: a table with named columns, three bullet points, an email with subject line, a numbered checklist, plain text with no headings.

A quick template: "[Role]. [Context]. Please [task]. [Constraints]. Format: [format]." For example: "You're an operations analyst. Our warehouse missed 12% of same-day shipments last month, mostly on Mondays. Please list likely causes to investigate. Focus on causes we can check with our own order data. Format: a table with columns Cause, Data to check, Quick test."

Step 3 of 12Practice · Diagram

The five building blocks of a prompt

Which block is most often missing when output feels generic?

Tap the shape that answers the question, then press Check.

The five building blocks of a promptParts diagram: A strong prompt, Role, Context, Task, Constraints, Format.A strongpromptRoleContextTaskConstraintsFormat
A strong prompt
Role

A perspective such as "a skeptical CFO". Helpful, least important.

Context

Who, for whom, what situation. Usually the biggest missing piece.

Task

One clear verb: draft, summarize, compare, critique.

Constraints

Length, tone, sources, what to include or avoid.

Format

Table, bullets, email with subject line, checklist.

Step 4 of 12Practice · Match the pairs

Match each prompt fragment to the building block it provides.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. "Review this as a cautious legal team would"
  2. "Our audience is new customers who have never used the app"
  3. "Rewrite the onboarding email"
  4. "Keep it under 120 words and avoid jargon"
  5. "Give me a subject line plus the body as plain text"

Step 5 of 12Learn

Context: the part everyone skips

When output feels generic, the cause is nearly always missing context. People skip it because the context is obvious to them. They know the client is nervous, the deadline moved, the reader is a finance director and the last proposal was rejected for being too long. The model knows none of it.

Useful context often includes:

  • Audience: who will read or use the result and what they already know.
  • Goal: what success looks like. "Get a yes to a 20-minute call" is clearer than "write a sales email."
  • Background: the situation, history and any facts that must be included.
  • Source material: the actual document, data, notes or previous email, pasted or attached, rather than your summary of it.
  • Examples of good work: a past email you liked, a report section in the house style.

A practical trick: before writing a prompt, imagine handing the same request to a smart freelancer who has never met you. What would they ask before starting? Answer those questions in the prompt.

You can also ask the model to do this for you. End a prompt with "Before you start, ask me up to five questions about anything you need to know to do this well." It often surfaces gaps you didn't notice.

Step 6 of 12Compare

Generic prompt vs prompt with context

AspectGenericWith context
Prompt"List causes of late shipments.""Our warehouse missed 12% of same-day shipments last month, mostly on Mondays. List likely causes we can check in our order data."
What the model knowsNothing about youSize of the problem, pattern, what data you have
Typical resultTextbook list: weather, staffing, carriersMonday-specific causes: weekend backlog, staffing rota, cutoff times
Editing neededHeavy rewriteLight edits

Step 7 of 12Practice · Spot the mistake

This prompt is meant to produce a useful customer email. Tap the three parts that make it weaker.

Step 8 of 12Note

Step 9 of 12Learn

Format and length: get the shape you need

Asking for a specific format saves editing time and makes output easier to check. Compare "tell me about our options" with "give me a table with columns Option, Cost, Time to set up, Main risk, and one row per option." The second answer is shorter, comparable at a glance and easy to paste into a slide.

Useful format requests include:

  • Tables for comparisons, with named columns.
  • Numbered steps for processes and instructions.
  • A fixed number of bullets ("exactly three") to force prioritization.
  • Headings that match a template your team already uses.
  • Plain text when the output goes into a system that doesn't render formatting.
  • Structured data such as comma-separated values when you'll paste into a spreadsheet.

Length is part of format. Models tend to be wordy unless told otherwise. Give a target in words, sentences or bullets, and name the reader's time budget: "something a busy director can read in one minute" is a constraint the model can act on.

Finally, if you'll reuse the output somewhere specific, say so: "This will be read aloud on a call," "This goes into a text message," "This becomes slide notes." Each implies different sentence length, structure and tone.

Step 10 of 12Tap to reveal

Format requests that save editing time

  1. A table with named columns

    For comparisons and options: "columns Option, Cost, Risk, Recommendation." Easy to scan and check row by row.

  2. A set number of bullets

    "Three bullets, each under 20 words" stops rambling and forces priorities.

  3. A ready-to-send shape

    "An email with a subject line and a clear request in the first two sentences."

  4. A checklist

    Numbered steps for procedures you will actually follow or hand to someone.

  5. A word limit

    State a number, like "under 150 words"; "short" means different things to different readers.

Step 11 of 12Practice · Fill in the blanks

Fill in the blanks

A strong prompt usually supplies the the model can't know, names one clear with a verb such as "summarize" or "draft", and asks for a specific such as a table or three bullets.

Step 12 of 12Practice · Choose one

Which prompt is most likely to produce a usable first draft with minimal editing?