Module 02 · Writing good prompts

The 5-ingredient prompt formula

Why a clear prompt gets you a much better answer, and a simple recipe you can use for any task.

Lesson8 minLesson 8 of 47 Free

A prompt is the message or instruction you type to Claude. Claude can’t read your mind; it only knows what you write. Imagine giving a task to a new employee who is smart but doesn’t know your office yet: the more complete your directions, the better the result fits.

Avoid· Bare-bones prompt

Write an Instagram caption for my product.

Claude has to guess the product, the buyers, and the style. The result is generic and doesn’t quite fit.

Better· 5-ingredient prompt

You are a social media copywriter for small food businesses. Write 3 Instagram captions for "Krispi Mama" spicy banana chips (Rp15,000 per pack). Target buyers: university students and young workers in Bandung who love spicy snacks. Format: at most 3 sentences per caption, 1 emoji, a call to order via WhatsApp, and 3 hashtags. An example of the style I like: "Midnight munchies? Krispi Mama’s got your all-nighter covered 🍌🔥"

Claude knows its role, the product, the buyers, the shape of the result, and the style you want. The result is ready to use straight away.

The five prompt ingredients

IngredientThe question it answersExamples
1. RoleWho is Claude acting as?"You are an experienced HR manager", "You are a middle school math teacher"
2. TaskWhat exactly needs to be done?"Write 3 captions", "Sum it up in 5 points", "Check this formula for mistakes"
3. ContextWho is it for, what is it for, what’s the situation?Target readers, goal, supporting data, limits
4. FormatWhat should the result look like?Length, tone, table or bullet points, language
5. ExampleDo you have an example of a result you like?Paste 1-2 sample pieces of writing or patterns

Not every ingredient is required. For a quick question, task and context are enough. For important work, use all five.

A template you just fill in

5-ingredient prompt template Try in Claude

You are [role]. Your task: [what needs to be done]. Context: [who it’s for, what the goal is, important info to know]. Output format: [length, tone, form: bullet points/table/paragraphs]. An example I like: [optional, paste an example].

Save this template in your phone’s notes. Whenever you need help, just fill in the highlighted parts.

ClaudeResult of the 5-ingredient prompt
You:

You are a social media copywriter for small food businesses. Write 3 Instagram captions for "Krispi Mama" spicy banana chips (Rp15,000)... [full prompt as in the example above]

Claude:
  1. Assignments piling up, eyes barely open? Krispi Mama’s kick will wake you right up 🔥 Only Rp15,000, order on WhatsApp now!

#SpicyChips #BandungSnacks #StudentSnacks

  1. The crunch is addictive, the heat makes you lose track of time. Krispi Mama, your loyal late-night work buddy 🍌 Order on WhatsApp!

#KrispiMama #SpicySnacks #SnackingInBandung

  1. Payday still a long way off? Relax, happiness only costs Rp15,000. Krispi Mama, Bandung’s favorite spicy banana chips 😋 Message us on WhatsApp to order!

#BananaChips #BudgetSnacks #Bandung

Example result (illustration). All three captions follow every format rule because the rules were written clearly.