How to write a good prompt

Tell the assistant its role, the context, the task, the format and the limits. Start with a rough request and add the details a colleague would need to write the answer.

Start with a request you can judge yourself

You run a small catering business. An office manager wants lunch for a training session and needs something to forward to a colleague. Your kitchen can offer a pasta box or a rice bowl. The manager hasn't given you the delivery address yet.

You could type “write a good offer” and see what comes back. But what would make the result good? The manager needs to see the choices and reply with a preference. You need the address before you can promise delivery.

Write down the reply you hope to receive. In this case it might be “we'll take the rice bowls; here's our address.” That gives you a way to judge the draft. If the message sounds warm but never asks for either detail, it needs work.

Build the prompt a step at a time

  1. Name the person writing the message.
  2. Supply the facts from the conversation.
  3. Say exactly what you want the assistant to produce.
  4. Choose a layout the reader can use.
  5. Set a limit on what the draft may promise.

Follow the same lunch request through the examples below. Each revision fixes a particular gap. You can keep all the ingredients in plain sentences, without typing their labels into the finished prompt.

Role tells the assistant who is speaking

A role is a point of view. In this case, the writer takes catering orders and the reader is arranging a staff lunch. The office manager wants to know what the guests can choose. A note for the cooks would answer a different question.

Before

Write a good offer.

After

Write on behalf of our catering business. Draft an email to the office manager choosing lunch for a training session.

Suppose the draft opens with details about how the kitchen prepares each batch. Adding “act as an expert” won't tell the writer what's wrong. Naming the office manager will help. So will saying which decision the manager needs to make.

Context gives the writer something to work with

Context means the facts that matter for this job. Here, the useful facts are the menu choices, the reason for the lunch and the missing address. A complete company history would give the writer more to read without helping the manager choose.

Before

Write on behalf of our catering business to the office manager arranging lunch.

After

Write to the office manager from our catering business. The training lunch choices are [Pasta option] and [Rice option]. We do not have the delivery address yet.

Use the actual menu when you fill those fields for a customer. A dish name that worked at the last event can easily slip into a new offer. Check that both names still match what your kitchen can provide.

Give the reader a way to act

Task names the job

“Help with lunch” could mean choosing recipes, placing an order or answering an inquiry. You want an email the office manager can reply to. Say what the manager should tell you after reading it. That makes the next step clear to the writer.

Before

The office wants lunch. We have [Pasta option] and [Rice option]. Help with this.

After

Draft an email from our catering business. Give the office manager the two lunch choices: [Pasta option] and [Rice option]. Ask which one to reserve and where the event will take place.

Read the closing line on its own. “Let us know if you need anything” sounds pleasant but doesn't ask for the information you need. “Which lunch should we put on the order? Please include the event address in your reply” does.

Format describes the finished result

Format means the shape you want the reader to see. For the lunch offer, a subject line and a short list will do. The manager can scan the choices on a phone and forward the same message. There is no need for a wide table.

Before

Write about the lunch options and ask for the choice and address.

After

Start the catering email with a subject line. List [Pasta option] and [Rice option] on separate lines. End with a question asking the office manager for the choice and event address.

If the layout still comes back wrong, show a sample line. “Dish name — description from our menu” is enough. The example sets the pattern.

The actual food details come from your menu. The official prompting guide also discusses using examples and separating instructions from supporting information. [1]

Make missing information visible

Limits say what the draft may promise

A limit belongs in the prompt when it protects an actual decision. You haven't checked the address, so delivery is still open. You don't have the ingredients list, so leave dietary claims out. Say what the assistant should ask when a needed fact is missing.

Before

Write a friendly training lunch offer with both options. Mention delivery.

After

Write a catering email for the office manager. Include a subject and a line for each choice: [Pasta option] and [Rice option]. Ask for the choice and address. Leave delivery unconfirmed.

Look at the difference between “we'll deliver to the training room” and “where should we check delivery availability?” Both sound helpful. Only the question fits what you currently know. A good limit helps you make that distinction before a draft reaches a customer.

Your prompt cheat sheet

Write as [Role] for [Reader]. Here is what we know: [Context]. Your job is [Task]. Return the result in [Format]. Follow these limits: [Limits]. Ask for the missing detail before making a commitment.

Fill this in the next time a customer asks for a lunch offer.

Suppose the manager later supplies the street address but leaves out the building entrance. Update the context with the street address. Keep the limit in place until the person handling deliveries has checked it. A new piece of information doesn't automatically settle every open question.

Why it works

Each part gives you a different place to look when the draft misses. If it reads like a kitchen note, check the writer and reader. If it adds a dish, compare the answer with the context. If the email ends without a question, check the task.

Try changing one menu item without rewriting the prompt. Remove the pasta box and use a wrap instead. Read the opening and the subject line. If either one still mentions pasta, move that dish name into the field where it belongs.

Now make a change for the reader. Imagine the manager will paste the email into a short internal message for approval. You can keep the menu and the delivery question exactly as they are. Change the layout so the request remains clear after copying.

Try it now in five minutes

  1. Choose one customer question you already know how to answer.
  2. Swap any real customer details for made-up ones.
  3. Fill in the cheat sheet using your own words.
  4. Read the resulting draft as the office manager.
  5. Revise the first line that leaves you unsure what to do next.

Keep the original request beside the revision. Ask a colleague to point to the words that changed the answer. If the useful change was “ask for the address,” keep that instruction. A longer introduction about the business won't make up for a missing question.

Common mistakes and quick answers

One common error is keeping a paragraph because it sounds impressive. Cover the paragraph and reread the email. If the office manager can still choose lunch and supply an address, leave it out. Use that space for a detail the customer actually needs.

Do I need to label all five parts every time?

No. Write normal sentences if the task is clear. Use the five names as a checklist when a draft doesn't come out the way you expected.

What if the customer hasn't decided on a lunch yet?

Ask which choice they prefer. If they need another piece of information to decide, request that detail from the kitchen before writing a stronger sales pitch.

Do I need to show an example?

Show an example when describing the layout takes more effort than showing it. For a simple menu list, asking for one dish per line may be enough.

Related guides

Sources

  1. OpenAI · Prompt engineering · 2026-11-28

Keep the template for next time

Create your account in the Android app. Then sign in with the same account in the Chrome extension and in your browser on any computer.

Get Prompt Secure on Google PlayAdd Prompt Secure to Chrome from the Chrome Web StoreChrome Web StoreOPEN INyour browser
Try the demo →
Esc
↑↓ choose · Enter open · Esc close

Open Google Play on your phone

Open Google Play on your phone