---
title: "How to write prompts that work: a guide for people who work with nerds"
description: "No magic words, no secret templates. A practical guide to briefing an AI like a brilliant new colleague: context, task, constraints, format and examples, with before-and-after prompts from everyday work."
date: "2026-12-03T00:00:00.000Z"
last_reviewed: "2026-12-04"
author: "Tim Benniks"
url: "https://noddingalong.tech/guides/prompt-engineering-guide"
markdown_url: "https://noddingalong.tech/guides/prompt-engineering-guide.md"
reading_time: "9 min read"
---

# How to write prompts that work: a guide for people who work with nerds

No magic words, no secret templates. A practical guide to briefing an AI like a brilliant new colleague: context, task, constraints, format and examples, with before-and-after prompts from everyday work.

## In short

- A prompt is a briefing. Write it for a brilliant new colleague who knows nothing about your work.
- Say who it's for, what it's for, the format you want and what to leave out.
- One or two examples of what good looks like beat a paragraph of adjectives.
- Iterate by editing the prompt, not by arguing for twenty messages.
- No prompt can add facts the AI doesn't have. Give it the documents, then check the answer.

Someone at work says "we need better prompt engineering" and everyone nods. It sounds like a job title. It sounds like there's a secret list of magic phrases that the engineers are keeping to themselves.

There isn't. [Prompt engineering](https://noddingalong.tech/glossary#prompt-engineering) is a grand name for something you already know how to do: giving a clear brief. The "engineering" part is mostly writing that brief deliberately, checking what comes back, and adjusting. This guide walks through how to do that for the everyday work most of us actually use AI for: emails, summaries, briefs and first drafts.

If you'd rather watch first, the two-minute version is [What is prompt engineering?](https://noddingalong.tech/videos/what-is-prompt-engineering).

## Why "summarise this meeting" gives you something useless

A [large language model](https://noddingalong.tech/glossary#llm) (the AI behind chatbots like ChatGPT, Claude and Gemini) writes the most likely continuation of whatever you give it. It's a [very expensive autocomplete](https://noddingalong.tech/videos/what-is-an-llm), trained on a mountain of text.

So when you type "summarise this meeting", it writes a summary. Of something. For someone. It has no idea that the summary is for your boss, who missed the meeting, has five minutes, and needs to decide on a budget. That information lives in your head, not in the prompt.

Anthropic's own [prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) has the best analogy I know for this: think of the model as "a brilliant but new employee who lacks context on your norms and workflows. The more precisely you explain what you want, the better the result."

Brilliant, and on their first day. They can write beautifully. They just don't know anything about your company, your audience or what you're trying to achieve. Your prompt is their entire onboarding.

## The five things a good brief contains

OpenAI, Anthropic and Google all publish prompting guides, and they agree on the basics more than you'd expect. Models do best with [explicit instructions](https://developers.openai.com/api/docs/guides/prompt-engineering), [clear and specific instructions, constraints and a specified format](https://ai.google.dev/gemini-api/docs/prompting-strategies), and the context behind the request.

In practice, a good brief answers five questions:

| Part | The question it answers | Example |
| --- | --- | --- |
| Context | What's going on, and who is it for? | "My manager missed the meeting and has to approve the budget tomorrow." |
| Task | What exactly should it do? | "Summarise the decisions and the open questions." |
| Constraints | What are the limits? | "Under 120 words. Don't include the small talk about the office move." |
| Format | What should the result look like? | "Three bullet points, then one line with the decision we need from her." |
| Examples | What does good look like? | "Here's a summary she liked last month: …" |

You don't need all five every time. A quick question needs one line. But when the result disappoints, one of these five is almost always missing.

## Before and after: the meeting summary

Here's the prompt most of us start with:

```
Summarise this meeting.

[transcript]
```

And here's the same request, briefed:

```
My manager, Sam, missed this meeting. Tomorrow she has to approve
or reject the extra budget we discussed. She has five minutes to read this.

Summarise the meeting for her:
- Three bullet points: what we decided, what's still open, and the risks.
- Then one line starting with "Decision needed:" that says exactly
  what she needs to approve.
- Under 120 words. Skip the small talk and the office-move discussion.
- Plain language, no internal project codenames.

[transcript]
```

Same AI, same transcript, very different summary. The second one isn't longer because of magic words. It's longer because it contains the information the AI was missing.

## Show it what good looks like

If there's one technique worth learning, it's this one. Instead of describing the tone you want with adjectives ("professional but warm, concise but friendly"), show it an example.

This works because of how these models learned. In 2020, the paper behind GPT-3 was literally titled ["Language Models are Few-Shot Learners"](https://arxiv.org/abs/2005.14165): a large model could do a new task from a few examples in the prompt, without being retrained. Anthropic calls examples ["one of the most reliable ways to steer Claude's output format, tone, and structure"](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) and suggests three to five for best results. Google [recommends always including them](https://ai.google.dev/gemini-api/docs/prompting-strategies).

Before:

```
Write a LinkedIn post announcing our new feature. Make it engaging
but not cringe.
```

After:

```
Write a LinkedIn post announcing our new export-to-PDF feature.

Here are two posts from our company page that did well. Match their
tone and length: short sentences, one concrete customer problem,
no emoji, no "we're thrilled to announce".

Example 1:
[paste post]

Example 2:
[paste post]

The customer problem this feature solves: account managers were
copying dashboards into slides by hand every Monday.
```

"Not cringe" means something different to everyone. Two real examples mean one thing. The model will tend to follow the pattern you show it, so pick examples you'd genuinely be happy to see copied, including their flaws.

## Say what to do, not only what to avoid

A small one, but it helps. Anthropic's guide suggests telling the model what to do instead of what not to do. "Don't be so formal" leaves it guessing what you want instead. "Write it the way you'd explain it to a colleague over coffee" gives it a target.

Same with giving the reason behind a rule. "Keep it under 100 words" works. "Keep it under 100 words, because it's going in a push notification" works better, because now the model knows what kind of short you mean.

## Let it ask you questions first

For anything bigger than an email, you often don't know everything you should put in the brief. Turn it around:

```
I need to write a one-page brief for a freelance designer who's
redesigning our onboarding emails. Before you write anything,
ask me the questions you'd need answered to write a great brief.
Ask them one group at a time.
```

You'll get a list of questions about audience, goals, brand constraints and deadlines that you'd have forgotten. Answer them, then ask for the brief. It's the brilliant new colleague asking sensible questions on day one, which is exactly what you'd want from a human too.

## For tricky tasks, ask for the steps

When a task has several steps (comparing three vendor quotes, planning a timeline across time zones, checking a calculation), some guides suggest asking the model to work through the problem before giving its answer. Anthropic recommends exactly that when the model isn't already using its built-in "thinking".

Newer [reasoning models](https://noddingalong.tech/glossary#reasoning-model) do this on their own: they write out intermediate steps before answering. For those, a simple "think this through carefully" often works better than writing out the steps yourself. And for simple tasks, you don't need any of it. More on that in [More thinking doesn't make AI smarter at everything](https://noddingalong.tech/articles/more-thinking-isnt-always-smarter).

## Iterate by editing, not by arguing

The first answer is rarely the final one. Google's guide puts it plainly: "Prompt engineering is iterative." OpenAI calls it "a mix of art and science".

But there's a better and a worse way to iterate. The worse way is a long argument in the same chat: "no, shorter", "no, less formal", "no, you forgot the deadline", "no, put the deadline back". Every one of those messages stays in the conversation, and the app [sends the whole conversation again with every message](https://noddingalong.tech/videos/what-happens-when-you-press-send). Long chats get slower, more expensive and more forgetful, because the model's [context window](https://noddingalong.tech/glossary#context-window), its working memory, fills up with your abandoned drafts.

The better way:

1. When an answer misses, ask yourself which of the five parts was missing from your brief.
2. Edit your original prompt to add it, and run it again (most chat apps let you edit a sent message).
3. When a prompt works well, save it somewhere. That's now a template.
4. When a chat has gone on too long, ask for a summary of what you've agreed and start a fresh chat with it. I wrote more about that in [The best AI habit nobody teaches: start a new chat](https://noddingalong.tech/articles/start-a-new-chat).

## There are no magic words

You've probably seen posts promising that the AI writes better if you offer it a tip, threaten it, or say "take a deep breath". I'd ignore them. The official guides from OpenAI, Anthropic and Google linked in this article don't build on tricks like that. They say the same unexciting things: be clear, give context, show examples, iterate.

There's another reason magic phrases don't last. OpenAI notes that ["even different snapshots of models within the same family could produce different results"](https://developers.openai.com/api/docs/guides/prompt-engineering), and that reasoning and non-reasoning models may need to be prompted differently. A phrase that seemed to work last month may do nothing on next month's model. A clear brief keeps working.

Saying please is nice, by the way. It's just not the engineering.

## What a better prompt can't fix

This is the part that matters most at work. No prompt, however good, can add facts the model doesn't have.

If you ask about your company's travel policy, the model has never seen it. Ask anyway and it might say it doesn't know, or it might write something that sounds exactly like a travel policy. That's a [hallucination](https://noddingalong.tech/glossary#hallucination): a confident, fluent answer that's simply made up. [OpenAI's own research](https://openai.com/index/why-language-models-hallucinate/) explains that standard training rewards guessing over admitting uncertainty, like an exam where a blank scores zero and a guess might score.

The consequences are real. In 2023, lawyers in [Mata v. Avianca](https://law.justia.com/cases/federal/district-courts/new-york/nysdce/1:2022cv01461/575368/54) filed a brief with six court cases ChatGPT had invented, and were fined $5,000. In 2024, [Air Canada was held responsible](https://www.americanbar.org/groups/business_law/resources/business-law-today/2024-february/bc-tribunal-confirms-companies-remain-liable-information-provided-ai-chatbot/) after its chatbot told a customer they could claim a bereavement discount after the trip, which the airline's actual policy didn't allow.

So, three rules:

- **Give it the material.** Paste the document, the transcript or the data into the prompt. Then it's working from your facts, not its guesses. If you need this for many documents at once, that's what [RAG](https://noddingalong.tech/videos/what-is-rag) is for.
- **Ask for sources or quotes.** "Quote the sentence from the document that supports each point" makes the answer checkable.
- **Check anything that matters.** Names, numbers, dates, legal and medical claims. The answer will always sound confident. That tells you nothing.

If the AI keeps getting your company's style or format wrong across hundreds of tasks, that's a different problem. [Better prompt, RAG or fine-tuning? How to pick](https://noddingalong.tech/guides/prompt-rag-or-fine-tuning) explains which fix fits which problem.

## A template you can steal

When in doubt, start from this and delete what you don't need:

```
Context: [what's going on, and who this is for]
Task: [exactly what you want it to do]
Constraints: [length, tone, what to leave out, and why]
Format: [bullets, table, email, headings]
Examples: [one to three examples of what good looks like]
Material: [the document, data or transcript to work from]

If anything is unclear, ask me before you start.
```

It won't make you a prompt engineer. It will make the AI a lot more useful, which was the point all along.

## The question to ask

Next time someone in a meeting blames the AI for a bad answer, nod, and then ask:

> Great, what context are we actually giving it?

## Questions people ask

### How do I write a good prompt for ChatGPT?

Brief it like a brilliant new colleague who knows nothing about your work: give the context, the task, the constraints, the format you want and, ideally, an example of what good looks like.

### Are there magic words that make AI give better answers?

No. The official guides from OpenAI, Anthropic and Google don't build on tricks like tips or threats. They recommend being clear, giving context, showing examples and iterating, and phrasing that seems to work can stop working when the model changes.

### Why does AI give me generic answers?

Usually because the prompt leaves out what's in your head: who it's for, what it's for and what good looks like. Adding that information changes the answer far more than adding adjectives.

### Should I keep correcting the AI in the same chat?

It's usually better to edit your original prompt and run it again. Every correction stays in the conversation, and long chats get slower, more expensive and more forgetful.

### Can a better prompt stop AI from making things up?

No prompt can add facts the model doesn't have. Paste in the material it should work from, ask it to quote its sources, and check anything that matters.

## Watch the episodes

- [What is prompt engineering?](https://noddingalong.tech/videos/what-is-prompt-engineering): Prompt engineering is writing clear instructions so an AI gives you what you actually need.
- [What is an LLM?](https://noddingalong.tech/videos/what-is-an-llm): A large language model (LLM) is the AI behind chatbots like ChatGPT and Claude: it predicts the next word, extremely well.
- [What are AI hallucinations?](https://noddingalong.tech/videos/what-are-ai-hallucinations): AI hallucinations are confident, fluent answers that an AI simply made up.
- [What is a context window?](https://noddingalong.tech/videos/what-is-a-context-window): A context window is how much text an AI model can take in at once, including your whole chat and its own reply.

---

Written by Tim Benniks (https://timbenniks.dev) for Nodding Along: AI explained for people who work with nerds but aren't one. https://noddingalong.tech
