Kavvo Prompts

How to Write a Good Prompt

November 29, 2026 · 3 min read · By the Kavvo Prompts team

Why most prompts fail

Most bad prompts fail for the same reason: they ask the model to guess. “Write about marketing” leaves the model to guess the audience, the length, the tone, and the point. A good prompt removes the guessing. It tells the model who it is writing for, what to do, what facts to use, and what the result should look like. You do not need special skill to do this. You need to be specific about five things: role, task, context, format, and examples. That is the whole method, and this guide walks through each part with a real example. The pattern comes from two public sources worth reading.

1. Give the model a role

Start with one sentence that says what job the model is doing. “Act as an experienced blog writer” is better than no role at all, because it sets the tone, the vocabulary, and the standard the model should aim for. Keep the role specific: “act as a friendly maths tutor for a 14-year-old” is far more useful than “act as a teacher”.

2. State the task in one sentence

After the role, say exactly what you want, in one sentence. “Write a blog post on how to save money on groceries” is a task. “Write something about money” is not. If you cannot state the task in one sentence, narrow it before you write the prompt.

3. Add the context the model needs

Context is the information only you have: who the reader is, what has already happened, what facts to use, and what to avoid. Anthropic’s guidance puts this plainly: think of the model as a brilliant new employee who lacks context on your norms and workflows. The more precisely you explain what you want, the better the result.

4. Say what the result should look like

Tell the model the format, the length, and the structure. “Write 800 words with a headline, three headed sections, and a closing step” gives the model a shape to fill. “Write a blog post” does not. Format instructions work best as a short numbered list: first this, then this, then this. Also say what to do instead of what not to do.

5. Give an example when it matters

Examples are one of the most reliable ways to steer a model’s output. Anthropic’s guidance calls this few-shot prompting: a few well-chosen examples improve accuracy and consistency, especially for format and tone. You do not need many — one or two good examples are usually enough. Show the model what a good answer looks like, and it will copy the pattern.

Putting it together

Here is the whole method in one short prompt:

Act as an experienced blog writer. Write a blog post on how to start a vegetable garden in a small yard, for busy parents in the UK. Main point: you can grow food in a few pots on a balcony. Cover three points: choosing pots, choosing plants, and watering. Tone: friendly and practical. Length: 800 words. Structure: headline, short opening, one section per point with a concrete example, and a closing step. Use only the facts I gave you.

What to do when the result is wrong

Do not rewrite the whole prompt. Change one thing and try again. If the draft is too generic, add a real example of your own. If it is too long, set a word count. If the tone is wrong, name the tone you want in plain words.