Find a course

Module 2: Anatomy of a Strong PromptLesson 3 of 1211 min

The Core Ingredients of a Prompt

Meet the five building blocks of a strong prompt (task, context, format, constraints and examples) and learn which ones each kind of request needs.

Step 1 of 12Learn

The briefing test

Imagine handing your prompt to a smart freelancer who has never met you. Could they do excellent work from it without asking a single question? If the answer is no, the model will struggle too, and unlike the freelancer, it usually won't ask. It will guess.

Most weak prompts fail the briefing test in predictable ways. They name a topic but not a task ("marketing ideas"). They skip who the output is for. They say nothing about length or shape, so the answer comes back as five paragraphs when you wanted three bullet points. They forget the one constraint that matters ("we can't offer discounts").

Strong prompts are built from a small set of ingredients. Not every prompt needs all of them; a quick factual question might need only a task. But when results disappoint, the fix is almost always to add the missing ingredient rather than to hunt for clever wording.

The five ingredients you'll use throughout this course are:

  1. Task: what you want done, stated as an action.
  2. Context: background the model needs: who, why, what you already know.
  3. Format: the shape of the output.
  4. Constraints: rules and limits.
  5. Examples: samples of what good looks like.

Step 2 of 12Tap to reveal

The five ingredients up close

  1. Task

    Start with a clear verb: summarize, rewrite, compare, list, draft, classify, explain, critique. "Customer churn" is a topic; "List five likely reasons customers cancel in their first month, based on the survey comments below" is a task. One prompt should have one main task, or clearly numbered steps.

  2. Context

    Who is the audience? What is the purpose? What has already been tried? What source material should be used? Context is the ingredient people skip most, because it lives in their heads and feels obvious. To the model, it is invisible unless written down.

  3. Format

    Bullets or paragraphs? A table with named columns? An email with a subject line? JSON with specific fields? About 150 words or about 600? Stating the format saves a round of "make it shorter" and makes outputs easy to reuse.

  4. Constraints

    Rules the answer must respect: reading level, words or claims to avoid, required terms, legal limits, "use only the information provided," "if unsure, say so." Constraints prevent the most expensive mistakes.

  5. Examples

    One to five short samples of the input and the output you want. Examples communicate style and structure faster than any description. You'll study them in depth in the techniques module.

Step 3 of 12Practice · Match the pairs

Match each part of this prompt to the ingredient it provides.

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

  1. "Draft a reply to the customer email below"
  2. "She is a long-time client upset about a late delivery"
  3. "Under 120 words, with a one-line subject"
  4. "Don't promise a refund; we can offer free express shipping"
  5. "Here is a reply we sent last month that worked well: ..."

Step 4 of 12Learn

Context is where quality comes from

Here is the same request at three levels of context.

Level 1: "Write a LinkedIn post about our new app."

Level 2: "Write a LinkedIn post announcing our new budgeting app for freelancers."

Level 3: "Write a LinkedIn post announcing BudgetBee, a budgeting app for freelancers with irregular income. Key feature: it averages your last six months of income to set a safe monthly spending limit. Audience: freelance designers and writers aged 25–40. Our brand voice is practical and a little dry; we avoid hype words like 'revolutionary.' Goal: get people to join the free beta at the link."

Level 1 produces a post that could be about any app. Level 2 is better but still generic. Level 3 gives the model the one feature that makes the product interesting, the audience, the voice and the goal, so it can write something specific.

Notice what level 3 doesn't contain: no "act as a world-class copywriter," no "make it amazing." It just contains facts the model couldn't know. When you're tempted to add adjectives, add information instead.

A quick context checklist: audience, purpose, key facts, what to avoid, and what has been tried before.

Step 5 of 12Compare

Three levels of context, side by side

AspectLevel 1Level 2Level 3
What is announced"our new app"A budgeting appA budgeting app, with its key facts
AudienceMissingFreelancersFreelancers, plus what they struggle with
Purpose and toneMissingMissingStated
What the model must guessAlmost everythingTone, facts, angleVery little

Step 6 of 12Practice · Choose one

Which addition would most improve the prompt "Write a product description for our water bottle"?

Step 7 of 12Note

Step 8 of 12Flashcards

Each ingredient answers one question

Tap a card to flip it.

Step 9 of 12Learn

Order and emphasis

Does the order of ingredients matter? Somewhat. Models handle most orders well, but a few patterns are reliably helpful.

Lead with the task for short prompts, so everything after it is read in light of the goal. "Summarize this article for a busy executive" followed by the article works better than an article followed by a lonely "summarize."

For long material, restate the task at the end. If you paste a 20-page report, end with a short reminder: "Using the report above, list the three biggest risks in a table." Instructions placed right before the model starts writing tend to be followed closely.

Keep instructions separate from material. Put the text to be processed inside clear markers such as triple quotes or tags like <report> and </report>. This prevents the model from confusing a sentence in the document ("Write a summary for the board") with your own instruction.

Emphasize sparingly. Writing everything in capitals, or marking every rule IMPORTANT, dilutes the signal. If one constraint truly matters most, say so once and explain why: "Do not include customer names, because this summary will be shared outside the company." Models follow rules better when they understand the reason behind them.

Step 10 of 12Practice · True or false

Adding "You are an expert" to a prompt is usually a bigger improvement than adding the specific facts and audience the task requires.

Step 11 of 12Practice · Put in order

Put this prompt for summarizing a long report into the most effective order.

Drag the items, or use the arrow buttons, to put them in order.

  1. State the task: summarize the report for the sales team
  2. Give context: they need to know what changes for their customers
  3. Restate the output: five bullet points, plain language, under 100 words
  4. Paste the report inside <report> tags

Step 12 of 12Practice · Choose one

A prompt says: "Explain the attached contract changes. IMPORTANT!!! BE CLEAR!!! DO NOT BE VAGUE!!!" What is the most effective improvement?