Lesson 8 10 min

Build a prompt with three parts

Revise a request by naming a goal, giving context, and asking for a format.

Learning goal

I can revise a prompt using a goal, context, and format.

How it works

The goal says what you want. Context gives background the helper can use, such as who will read the answer. Format says how the answer is organised. A useful revision adds the parts that were missing.

Think of it like this

Think of ordering a team name sign. You might say what the sign is for, who must read it, and how big it is. A person could ask you to clear up a confusing detail. An AI tool might guess instead, so review the answer before using it.

Worked example

At Moss Library, “Make signs” gets a pretend reply about opening hours. The club needs labels for returned books. It adds the bin names Ready and Needs Repair, then asks for one short line per bin. Those three pieces make a response easier to test. A label like “Ready — books in good shape” tells the user what to put there.

What to remember

Give a goal, helpful context, and a format. Read the result and revise if it misses something.

  1. GoalWrite labels so people can return books.
  2. ContextMoss Library has Ready and Needs Repair bins.
  3. FormatTwo short lines, one for each bin.
Each part answers a different question about what the helper should make.

Key words

Prompt
The words or other information you give an AI system to tell it what you want it to do.
Constraint
A limit a response or action must follow, such as using three lines or keeping a file private.
Personal information
Details that identify you or tell others about your life, such as your address, school, location, private messages, or photos. Keep passwords private too.
More Prompt Engineering lessons

Activity

Make the bin labels

Watch a prompt get clearer

This activity uses prepared sample replies. A real language model may respond differently.

Read the steps
  1. Set the goal. Ask for labels so readers know where to put returned books.
  2. Add context. New club members need to find two bins, “Ready” and “Needs Repair”.
  3. Name a format. Ask for two short lines, one per bin, so the labels fit.

Try it on paper

Materials Two small pieces of paper or a partner reading both prompt versions.

  1. Write “Make labels.” Ask a partner what they would need to know. Add the goal of sorting returned books and the two bin names, Ready and Needs Repair.
  2. Add a format: two short lines, one per bin. Read this sample reply: “Ready — books in good shape. Needs Repair — books with damage.”
  3. Write one label per paper. Check if someone could use them. Replace a word if it confuses the reader.

Talk it through Use made-up places and names when testing your prompt. The library task needs bin names, not a real student’s school or address.

Quick check

1. Which is useful context?
Answer and explanation

The two bins are Ready and Needs Repair. The bin names explain the setting. Two lines is the requested format.

2. The reply gives only one line. What can you do?
Answer and explanation

Ask again for one line for each of the two bins and check the new reply. The revision repeats the missing requirement clearly. You can compare the new reply to it.