Unit 2 ·

Anatomy of a good prompt

Read this first. Every question after it comes from these cards.

Learn · 1/4

The four parts of a good prompt

Most weak answers come from prompts missing one of four parts.

A strong prompt has a role and goal, context, the concrete task, and the expected format with constraints, usually in that order.

Politeness doesn't hurt, but it doesn't replace any of these.

Parts

Role: You are an experienced HR manager Context: The client is 2 weeks late paying Task: Write a 5-sentence email Format: Bullets, max 80 words

The whole lesson as text

Cards and key takeaways

Role, task, context, format.

Key takeaways

  • Role, context, task, format: in that order.
  • Spell out the details, especially the format.
  • A role sets tone and perspective: helpful, not magic.

The four parts of a good prompt

Most weak answers come from prompts missing one of four parts.

A strong prompt has a role and goal, context, the concrete task, and the expected format with constraints, usually in that order.

Politeness doesn't hurt, but it doesn't replace any of these.

Parts

Role: You are an experienced HR manager Context: The client is 2 weeks late paying Task: Write a 5-sentence email Format: Bullets, max 80 words

Remember: Role, context, task, format: in that order.

Be specific

The model can't read your mind, only your prompt.

The model can only deliver what it gets. Length, recipient, situation, tone and how to close all make the answer better.

If you want a table, a list or JSON, say the format: it's the cheapest big improvement.

Vague → specific

'Write an email to the client.' → 'Write a 5-sentence email to a client who paid late. Friendly but firm. Close with a payment deadline.'

Remember: Spell out the details, especially the format.

Roles give a frame

One sentence at the start changes how everything after it sounds.

A role like 'You are an experienced HR manager' steers tone, focus and perspective.

It isn't magic, but it helps.

Remember: A role sets tone and perspective: helpful, not magic.

Anatomy of a good prompt

Four parts, in order. Watch a vague request turn into a strong prompt.

  1. A strong prompt has four parts. Let's build one, piece by piece.
  2. The model can only deliver what it gets. A vague request gets a vague answer.
  3. Role and goal first, then context, then the concrete task, then the format with constraints.
  4. Length, recipient, situation, tone and how to close all make the answer better.
  5. Want a table, a list or JSON? Say the format. It's the cheapest big improvement.

Try it now

Paste this into any AI assistant (ChatGPT, Claude, Gemini, Copilot). Fill in the parts in square brackets.

You are an experienced office manager. Write a short message to my team saying the office is closed on Friday for maintenance. Audience: 12 colleagues, informal tone. Questions go to Anna. Format: under 80 words, no subject line.

What to check in the answer: Run it again without the role, audience and format lines. Compare: the full prompt's answer should need fewer edits.

Want to go deeper?

This unit continues in a full course: AI Basics & Practical Use (ChatGPT, Claude, Gemini). One of its lessons is free to try: “Anatomy of a good prompt”.