by Samy (Kondasamy Jayaraman)

Module 47 · Writing a prompt

Beginner

A prompt is a spec

Say the task, show an example, fix the format, then test it like code. Here you clip cards onto a work docket, watch a real model’s recorded replies change, and score each prompt on real tickets.

Read as
OK

The whole idea in one example

One ticket, two asks

“Reply to this customer.”

vague

157 words

and none of them the key fact. It made up a hotline instead.

The clear task

key fact in

Contact the on-call engineer by paging them through the Duty Desk line at extension 4410, as per the policy for Portal outages outside business hours. The engineer acknowledges a page within 15 minutes.

Replies recorded from nvidia/nemotron-3-ultra-550b-a55b, 29 October 2026, with randomness turned off (temperature 0); chapter 5’s are simulated, and say so. Made-up web addresses in replies are changed to .example.

How it works

Four ideas carry the module

  1. ???

    1 It only continues

    A plain model writes what comes next; it never learned to follow

  2. OK

    2 Say what you want

    A clear task, with the facts, gets the key fact in

    Anthropic’s prompting guide (checked 2026-10-30) says to treat the model as a brilliant but new employee who lacks your context: the more precisely you explain what you want, the better the result.

    Source, checked 30 October 2026

  3. ???

    3 Show, don’t tell

    Examples set the style, quirks and all

    Zhao et al. (2021) found that the examples in a prompt, and their order, can swing a model’s accuracy from near chance to near the best results, because it leans towards answers it saw near the end or saw often.

    Source, checked 29 October 2026

  4. ???

    4 Test it like code

    Score every change on a set of tickets, on each model you ship

    OpenAI’s prompt engineering guide (checked 2026-10-30) advises marking a prompt’s sections with Markdown or XML tags, giving examples of inputs with the outputs you want, pinning live apps to one fixed model version, and building tests that measure how a prompt behaves.

    Source, checked 30 October 2026

The story

Larkspur writes its reply drafter’s prompt

Larkspur Supply Co.’s support team writes the prompt for its reply drafter, card by card, and tests it on real tickets before it ships. You’re on the support team, writing it with Rosa.

6
hand-written tickets, each with a reference answer from Larkspur’s policy
3 → 6
tickets passed of 6, vague task then clear
4 of 6
the same prompt on a smaller model
165
replies recorded from two models, 29 October 2026

Your path

The chapters

  1. Chapter 1

    It only continues text

    What does a model do with an instruction it was never trained to follow?

  2. Chapter 2

    Say what you want

    Does a vague ask get the answer Larkspur’s policy gives?

  3. Chapter 3

    Show, don’t tell

    What does a model take from examples in a prompt?

  4. Chapter 4

    Put it in a shape

    How do you get a reply a program can read?

  5. Chapter 5

    Order and emphasis

    Does where a rule sits change whether it is kept?

  6. Chapter 6

    Test it like code

    How do you know a prompt change helped?

  7. Chapter 7

    Workbench: the prompt that ships

    Which cards pass every ticket with the fewest tokens?

Who it’s for

  • Product managers
  • Engineers
  • Analysts
  • No code needed

Anyone who writes prompts for a product, a team or themselves, and wants to know which words earn their place and how to tell a better prompt from a lucky one.