Lesson 2 of 5 · 20 min

Using Examples and Context to Shape AI Output

Showing beats telling: one good example fixes tone and structure.

XDQ Tutor · AI guide

Hello. In this lesson I will take you through 4 ideas, one at a time.

  1. Show an example
  2. Give the facts, not just the topic
  3. Context about the reader
  4. Keep prompts reusable

Why it matters: Showing beats telling: one good example fixes tone and structure. After each idea I will ask you one quick question.

Show an example

The short version: If you want output in a particular style, paste one or two examples of what good looks like.

If you want output in a particular style, paste one or two examples of what good looks like. A past email your client liked, a report section you are proud of, a product description in your brand voice. Say what to copy from the example: tone and structure, not the facts.

Mark examples clearly, for example by putting them between lines that say example start and example end, so the model does not mix them with your instructions.

Quick check

What should you tell the model to copy from an example?

Give the facts, not just the topic

The short version: Models produce confident text even when they lack facts, so give them the facts.

Models produce confident text even when they lack facts, so give them the facts. Paste the order details, the meeting notes, the figures from your report. Then add: use only the facts provided; if something is missing, say what is missing.

This one line removes most invented details from business drafts.

Quick check

Which line reduces invented details most?

Context about the reader

The short version: Tell the model who will read the output and what they care about.

Tell the model who will read the output and what they care about. A finance director wants numbers and risks; a customer wants to know what happens next; a regulator wants exact references. The same facts need different emphasis for each.

Include what the reader already knows, so the draft does not over-explain.

Quick check

Why describe the reader?

Keep prompts reusable

The short version: Write reusable prompts with clear placeholders, such as customer name, issue and next step in square brackets.

Write reusable prompts with clear placeholders, such as customer name, issue and next step in square brackets. Anyone on the team can fill them in without rewriting the instructions.

Keep examples in the template up to date; an old example produces old-style output.

text · illustrative
Role: You write as our customer success lead.
Task: Draft a reply to the customer below.
Facts (use only these): [paste ticket summary]
Reader: [customer role], who wants to know what happens next.
Format: under 120 words, friendly, no jargon.
Rules: do not promise dates; if facts are missing, list them first.
Key takeaways
  • One good example fixes tone and structure
  • Paste the facts and forbid invented details
  • Describe the reader and what they care about
  • Use placeholders for reusable prompts
Try it

Turn your best prompt from lesson one into a reusable template with placeholders, one example and a use-only-these-facts rule. Have a colleague use it on their own task.

That is the lesson.
Mark it complete to track your progress on this device.
← PreviousThe Anatomy of a Good PromptNext lesson →How to Check AI Output Before You Send It