Kavvo Prompts

Prompt Patterns That Work

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

What is a prompt pattern?

A prompt pattern is a reusable way of asking that works well across many different jobs. You do not need to learn dozens of them. Four patterns cover most everyday uses: giving the model a role, showing it examples, asking it to think step by step, and setting clear constraints. This guide explains each one, when to use it, and what it looks like in practice.

1. Role prompting

Role prompting means starting your prompt by giving the model a job: “Act as a travel guide”, “Act as a careful editor”, “Act as a maths tutor”. The role sets the tone, the vocabulary, and the standard the model should aim for. It works because it narrows the model’s choices: a copywriter writes differently from a lawyer, and the role tells the model which one to be. Use a role whenever tone or expertise matters — writing, teaching, reviewing, or advising. Keep the role to one sentence and make it specific.

2. Few-shot examples

Few-shot prompting means showing the model a few examples of what you want before you ask it to do the job. Anthropic’s guidance calls examples one of the most reliable ways to steer output format, tone, and structure, and it recommends making them relevant, diverse, and clearly separated from the instructions. For example, if you want product descriptions in a particular style, paste two descriptions you like and say “write the next one in this style”. The model will copy the pattern — the length, the structure, the tone — far more reliably than it would from a written description of the style.

3. Chain-of-thought

Chain-of-thought means asking the model to work through a problem step by step before it gives its final answer. The classic instruction is simple: “Think step by step.” It works best for problems with several stages — maths, planning, comparing options, or working out what went wrong. Instead of jumping to an answer, the model shows its working, which makes mistakes easier to spot and the reasoning easier to check. Use it when the answer depends on reasoning rather than recall: “Work out which plan is cheaper over a year, showing each step” is a chain-of-thought job; “What is the capital of France?” is not. You can make it stronger by asking the model to show its working in a numbered list, and to check its own answer at the end.

4. Constraints

Constraints are the limits you set: the length, the format, the audience, the words to use, and the facts to stick to. They sound restrictive, but they make the model’s job easier, because they remove choices that do not matter and leave room for the choices that do. “Write 150 words, in plain English, for a busy parent, using only the facts I gave you” is a prompt with good constraints. Without them, the model has to guess the length, the reader, and the facts — and it will often guess wrong. The most useful constraints are: a word count, a reader, a structure (a numbered list of sections), and a rule about facts (“use only the facts I gave you; do not invent numbers”).

How the patterns fit together

The four patterns work best in combination. A strong prompt usually has a role, a clear task, two or three constraints, and — when the format matters — an example. It uses chain-of-thought only when the job involves reasoning. Here is a short prompt that combines three patterns at once:

Act as a careful editor. Rewrite this email in under 150 words for a client I have worked with for a year. Keep my meaning and all my facts exactly as they are. Structure: subject line, one-sentence opening, main point, clear ask, polite closing. Here is the email: [paste your draft]. That prompt has a role (editor), constraints (150 words, keep the facts, fixed structure), and the context the model needs (the draft itself). It does not need examples or chain-of-thought, because the job is rewriting, not reasoning.