Practical guide

How to write a good prompt: a simple method with examples

A prompt is the instruction you give an AI assistant. The clearer it is, the more useful the answer. Here is a simple structure drawn from the official guides of OpenAI, Anthropic and Google, with before-and-after examples for everyday office tasks and templates you can copy.

Updated · 8 min read · NotHuman

Key points

  • A prompt is the instruction and information you give an AI assistant; vague prompts produce vague answers.
  • A good prompt usually covers six things: role and context, task, input, output format, constraints and, if useful, an example.
  • OpenAI, Anthropic and Google all give the same core advice: be specific, give context, show the format you want and say what to do rather than only what to avoid.
  • Prompting is iterative: read the first answer, say what is wrong and ask again, instead of starting from scratch.
  • Always check facts, figures and names in the output, and never paste personal or client data into a consumer AI tool.

Two people ask the same AI assistant to “write a reply to this client”. One gets a stiff, generic paragraph. The other gets a short, friendly email in the right tone, with the right facts, ready to check and send. The difference is rarely the tool. It is the prompt.

This guide explains what a prompt is, gives a simple structure you can use with any assistant, shows before-and-after examples for typical office tasks, and ends with templates to copy. The advice is based on the official prompting guides published by OpenAI, Anthropic and Google.

What is a prompt?

A prompt is what you give an AI assistant such as ChatGPT, Claude or Gemini to get an answer: your instruction, the background it needs, the text it should work on and how you want the result presented.

The assistant does not know your company, your clients or what you have in mind. It only knows what is in the prompt (and, in some tools, in the files or memory you have given it). Anthropic’s guide puts it well: think of the assistant as a brilliant new employee who has no context on your norms and ways of working. The more precisely you explain, the better the result.

A useful test, also from Anthropic: show your prompt to a colleague who knows nothing about the task. If they would be confused, the AI will be too.

A simple structure: six building blocks

You do not need all six every time. For anything beyond a quick question, running through this list takes a minute and saves several rounds of corrections.

  1. Role and context. Who is speaking, for whom, and why. “I run a joinery firm with 12 employees in the canton of Vaud. Our clients are private homeowners.”
  2. Task. What you want, with an action verb. “Draft a reply”, “summarise”, “list”, “check”.
  3. Input. The text or data to work on, clearly separated from your instructions. OpenAI suggests putting instructions first and marking the input with separators such as ### or triple quotes.
  4. Output format. Length, structure and tone. “Five bullet points”, “an email of at most 120 words”, “a table with three columns”. OpenAI and Google both advise replacing vague words like “short” with something measurable.
  5. Constraints. What to include, what to avoid, what to do if information is missing. OpenAI recommends saying what to do rather than only what not to do: “if the delivery date is not in the text, write [date to confirm]” works better than “don’t invent dates”.
  6. Examples. If you have a model answer or a previous text in the right style, include it. Google recommends examples for showing the pattern you want, and Anthropic notes that examples are one of the most reliable ways to steer format and tone.

Giving the reason behind an instruction also helps. Anthropic’s guide notes that explaining why something matters (“the reader is a homeowner, not a professional, so avoid trade jargon”) gives better results than a bare rule.

Before and after: four everyday tasks

The examples below use a fictional company, Menuiserie Boisvif SA, a joinery firm. The names and situations are invented.

1. Replying to a client email

Before:

Reply to this email.

After:

You are the office manager at Menuiserie Boisvif SA, a joinery firm. A client has written to complain that the fitting of their kitchen cupboards is two weeks late. Draft a reply that apologises without blaming the supplier, explains that the cupboards will be fitted in week 48, and offers a call with the site manager. Tone: polite, direct, not over-apologetic. Length: at most 120 words. Use [Client name] instead of the name.

Client email: “”” [paste the email here, with names and contact details removed] “””

The second version tells the assistant who is writing, what happened, what to promise, what tone to use and how long to make it. It also keeps the client’s identity out of the tool.

2. Summarising a document

Before:

Summarise this.

After:

Summarise the supplier terms below for the managing director, who has five minutes to read them. Give: (1) a three-sentence summary; (2) a list of payment terms, delivery deadlines and penalties, with the clause number for each; (3) anything unusual compared with standard terms. If a point is not in the text, write “not stated”. Do not add information that is not in the document.

“”” [paste the terms here] “””

Asking for clause numbers makes the summary easier to check against the original.

3. Writing a job advertisement

Before:

Write a job ad for a carpenter.

After:

Write a job advertisement for Menuiserie Boisvif SA. Position: qualified joiner (CFC/EFZ), 100%, workshop and site work. What we offer: modern workshop, varied projects for private clients, company van. Requirements: CFC as a joiner, driving licence B, French spoken; German is a plus. Tone: friendly and concrete, no clichés like “dynamic team”. Structure: a two-sentence introduction, then “Your tasks”, “Your profile” and “What we offer” as bullet lists, then how to apply. Length: 200 to 250 words. Use gender-neutral wording.

Everything the assistant needs is in the prompt, so it does not have to guess or invent benefits you do not offer.

4. Checking a translation

Before:

Is this translation OK?

After:

Below is a French text from our website and its German translation. Check the German for errors in meaning, missing information and wording that sounds unnatural to a Swiss German reader. Use Swiss spelling (“ss”, never the German sharp s). Present your findings as a table: original sentence, problem, suggested correction. If the translation is correct, say so; do not rewrite sentences that are already fine.

French: “”“[text]”“”

German: “”“[text]”“”

The last instruction matters: without it, assistants tend to “improve” text that did not need changing.

Iterate instead of starting over

The first answer is a draft. Google’s guide states plainly that prompt design is iterative, and Anthropic describes prompting as something you test and refine.

In practice:

  • Say what is wrong, precisely. “Too formal; write as you would to a neighbour” or “Point 3 is wrong: the deadline is 30 days, not 60.”
  • Ask for variants. “Give me three different openings.”
  • Break big tasks into steps. Google recommends splitting complex tasks: first extract the key facts, then draft the letter from those facts.
  • Ask the assistant to ask you. “Before you write, ask me up to three questions about anything that is unclear.”
  • Save what works. When a prompt gives a good result, keep it as a template.

Check the output

A well-written prompt reduces errors; it does not remove them. Language models can produce confident, fluent text that is wrong, a problem known as hallucination (see our guide to AI hallucinations).

Before using an answer:

  • Check every fact, figure, date and name against your source.
  • Check legal or technical statements with a reliable reference or an expert. An assistant may cite an article of law that does not say what it claims, or does not exist.
  • Read it as the recipient would. Is the tone right? Does it promise something you cannot deliver?
  • Keep a person responsible. The assistant drafts; someone in your team approves and sends.

Asking the assistant to quote the passage it relied on, or to say “I don’t know” when the information is missing, makes checking easier.

What never to paste into a prompt

What you type may be stored by the provider and, with some consumer plans and settings, used to improve its models. The Swiss Federal Data Protection and Information Commissioner (FDPIC) has confirmed that the Federal Act on Data Protection applies directly to AI-based data processing.

In a free or personal AI tool, do not paste:

  • names, addresses, phone numbers or other personal data about clients, employees or applicants;
  • health data, or anything covered by professional secrecy;
  • passwords, access codes, bank details;
  • contracts, offers or internal documents under confidentiality.

Instead, replace names with placeholders (“[Client]”, “[Company X]”), remove details the task does not need, or use a business plan with a data processing agreement. Our guide to ChatGPT at work and data protection explains the options, and an AI usage policy helps your team apply the same rules.

Prompt templates to copy

Replace the parts in square brackets. Remove the lines you do not need.

General template

Context: I work at [type of company] in [region]. The reader is [who].
Task: [action verb + what you want].
Input:
"""
[text or data, anonymised]
"""
Format: [length, structure, tone, language].
Constraints: [what to include or avoid; what to do if information is missing].
Example of the style I want: [optional example].

Email reply

You are [role] at [fictional or anonymised company].
Draft a reply to the email below. Key message: [what to say or promise].
Tone: [polite / direct / warm]. Length: at most [number] words.
Language: [language]. Use [Client name] instead of the real name.
If something needed for the reply is missing, mark it as [to confirm].
Email:
"""
[email, with personal details removed]
"""

Document summary

Summarise the document below for [reader], who has [time] to read it.
Give: (1) a [number]-sentence summary; (2) a list of [deadlines / amounts / obligations], with the section number for each; (3) points that need a decision.
Use only the document. If something is not stated, write "not stated".
"""
[document]
"""

Proofreading or translation check

Check the [language] text below for errors in grammar, meaning and tone for [describe the reader, e.g. Swiss clients].
Return a table: original, problem, suggested correction.
Do not change sentences that are already correct.
"""
[text]
"""

In short

Good prompts are not a secret technique. They are the same clear briefing you would give a capable new colleague: who it is for, what you need, what to work from, what the result should look like and what to avoid. To understand what happens behind the screen, read our guides to ChatGPT and large language models.

Frequently asked questions

What is a prompt?

A prompt is everything you type into an AI assistant such as ChatGPT, Claude or Gemini to get an answer: the instruction, the background, any text you want it to work on and how you want the result presented.

Do I need to write long prompts?

No. A prompt should be as long as it needs to be, and no longer. A simple question can be one line. A task with a specific audience, tone and format needs a few more sentences. Precise beats long.

Is it useful to tell the AI to act as an expert?

Giving a role helps set the tone and level of detail, and Anthropic’s guide recommends it. But a role alone is not enough: the context, the task and the format you want matter more than the title you give the assistant.

Should I write prompts in English to get better results?

Not necessarily. The main assistants work well in French, German and Italian. Write in the language you want the answer in, and say so explicitly if the input is in another language.

Can I reuse a good prompt?

Yes, and you should. Keep the prompts that work in a shared document with blanks to fill in, as in the templates in this guide. Some tools also let you save instructions that apply to every conversation.

What should I never paste into a prompt?

In a consumer AI tool, never paste personal data about clients or employees, health data, passwords, contracts under confidentiality or anything covered by professional secrecy. Anonymise the text first, or use a business plan with a data processing agreement.

Sources

  1. Best practices for prompt engineering with the OpenAI API , OpenAI Help Center
  2. Prompting best practices , Anthropic (Claude Platform Docs)
  3. Prompt design strategies , Google AI for Developers
  4. Update - Current data protection legislation is directly applicable to AI , Federal Data Protection and Information Commissioner (FDPIC) (2025-05-08)

This guide gives general information and is not legal advice. Check providers’ current terms and, if in doubt, ask a specialist.

NotHuman

Need help putting this into practice?

In a free 30-minute audit, we look at your situation and suggest concrete next steps.

Contact

A question? A project?

A real person reads every message. No commitment.

We only use this information to reply to you. See our privacy policy.

A personal reply, usually within 2 working days.