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.
Welcome back!
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:
- Task: what you want done, stated as an action.
- Context: background the model needs: who, why, what you already know.
- Format: the shape of the output.
- Constraints: rules and limits.
- Examples: samples of what good looks like.
Step 2 of 12Tap to reveal
The five ingredients up close
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.
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.
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.
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.
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).
- "Draft a reply to the customer email below"
- "She is a long-time client upset about a late delivery"
- "Under 120 words, with a one-line subject"
- "Don't promise a refund; we can offer free express shipping"
- "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
| Aspect | Level 1 | Level 2 | Level 3 |
|---|---|---|---|
| What is announced | "our new app" | A budgeting app | A budgeting app, with its key facts |
| Audience | Missing | Freelancers | Freelancers, plus what they struggle with |
| Purpose and tone | Missing | Missing | Stated |
| What the model must guess | Almost everything | Tone, facts, angle | Very 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.
- State the task: summarize the report for the sales team
- Give context: they need to know what changes for their customers
- Restate the output: five bullet points, plain language, under 100 words
- 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?
Lesson complete!