AI Glossary / Prompting and human-AI interaction / Beginner

Prompt pattern

Prompt Pattern (Prompting and human-AI interaction)

Definition

A prompt pattern is a reusable way of structuring a prompt so a language model reliably produces a certain kind of result. It names a recurring problem, such as getting a consistent format or a second opinion, and gives a template that solves it. It is not a single magic phrase, and the names used for patterns vary between authors and tools.

What it means

Most people write prompts from scratch each time and get uneven results. A prompt pattern is the opposite habit. You notice that a certain structure works for a certain job, give it a name, and reuse it. Think of it as a template with blanks, plus a note on when to use it.

Patterns matter because they make AI work repeatable. A team that shares a few tested patterns gets more consistent output than a team where each person improvises. They also make training easier, because a new colleague can learn five patterns instead of guessing at wording.

How it works

A pattern usually has a few parts: the situation it fits, the fixed wording or structure, and the blanks you fill in each time. For example, a persona pattern fixes a line such as "Act as a [role] reviewing this for [purpose]" and leaves the role and purpose open. A format pattern fixes the output shape, such as a table with named columns. A critique pattern asks the model to answer, then review its own answer against stated criteria.

The model does not know it is following a named pattern. It simply reads the text and predicts a response that fits. The pattern works because clear structure narrows what a good reply looks like. Giving context, a task, constraints and an output format all reduce guesswork.

Patterns can be combined. A common stack is a role, a task, a few examples, and a required format. You test the combined prompt on a handful of real inputs, adjust the wording, and save the version that works. Results still vary from run to run, so a pattern improves odds rather than guaranteeing an outcome.

Three practical examples

  • Finance team: A team uses a format pattern for month-end variance notes. The prompt gives the account, budget and actual figures, then requires three bullets: what changed, likely cause, and a question for the budget owner. Every analyst's note now looks the same, which speeds up review.
  • Retailer: A marketing manager uses a few-shot pattern for product descriptions. The prompt includes three approved descriptions as examples, then asks for a new one in the same tone and length. The shop's voice stays consistent across hundreds of items.
  • Support desk: A support lead uses a critique pattern for customer replies. The model drafts a reply, then checks it against a short list: polite, accurate to the policy text supplied, and no promises about refunds. The agent reads the checked draft before sending.

Think of it this way

A prompt pattern is like a recipe card or an email template: the structure is proven, and you only change the ingredients or the names. The analogy stops working because a recipe gives the same dish each time, while a model can give a different answer to the same filled-in template.

Worked example

A claims team spends time rewriting inconsistent AI summaries. They adopt one pattern: role, task, constraints, format. Writing a summary by hand takes 12 minutes. With a loose prompt, the AI draft needs 6 minutes of editing on average. After adopting the pattern, editing drops to 3 minutes. The team handles 40 summaries a week. Before the pattern, editing took 40 x 6 = 240 minutes, or 4 hours. After, it takes 40 x 3 = 120 minutes, or 2 hours. The pattern saves 2 hours a week, which is 2 x 52 = 104 hours a year. That figure ignores the one-time cost of building and testing the pattern, say 3 hours, so the net first-year saving is 104 - 3 = 101 hours. The numbers are invented, but the method is the point: measure edit time before and after.

Illustrative case study

Fictional case: Harbor Lane Insurance, a small made-up insurer, let each adjuster write their own prompts for summarizing claim files. Summaries varied wildly in length and sometimes dropped the claim amount. A team lead collected the five best prompts, found they shared a structure, and wrote one pattern: a role line, the task, a rule to quote amounts exactly as written, and a fixed three-part output. Quality improved, but a new problem appeared. Adjusters pasted the pattern into long files and the model sometimes ignored the format. The lead added a short check step asking the model to confirm each required part was present, and told staff to split very long files into sections. The team stored the pattern in a shared document with an owner, a version number and two sample inputs, and reviewed it each quarter.

Common misconceptions and mistakes

A prompt pattern is a secret phrase that forces the right answer. In practice it is just clear structure, and the model can still make mistakes, so output needs review.

One good pattern works for every task. Patterns fit specific problems, and a format pattern that suits reports may be wrong for brainstorming.

Once written, a pattern never needs changing. Models, policies and data change, so patterns should be retested and versioned like any other working document.

Patterns replace judgment about what to ask. They help with how to ask, but a poorly chosen task or missing context still produces weak results.

Business use

Start small. Pick two or three repeated tasks, such as summaries, customer replies or report drafts. Collect the prompts that already work, find the shared structure, and write each as a template with labeled blanks. Test each on ten real examples, fix the wording, and save it in a shared place with an owner and a version number. Include one good and one poor sample output so colleagues know what to expect.

Measure editing time, error rate found in review, and consistency across users. The costs are mainly staff time to build and maintain the library. The risks are staff trusting output too much, pasting sensitive data into tools that are not approved, and patterns going stale. Keep a human check on anything customer-facing or financial, and follow your organization's data rules.

People also ask

Is a prompt pattern the same as a prompt template?

They overlap, and the terms are often used loosely. A template is the fill-in-the-blanks text, while a pattern also includes the idea of which problem it solves and when to use it.

Do I need to name my prompt patterns?

Not strictly, but names help teams talk about them and find them again. A short, plain name like "variance note format" is enough.

Do prompt patterns work the same on every AI model?

Not always. A pattern that works well on one model or version may need small changes on another, so test it whenever the tool changes.

Check your understanding

What is the difference between a prompt pattern and a one-off prompt?

Answer: A pattern is a reusable, tested structure for a recurring problem, while a one-off prompt is written fresh for a single task.

In the worked example, how many editing hours per week did the pattern save?

Answer: Editing fell from 40 x 6 = 240 minutes to 40 x 3 = 120 minutes, a saving of 120 minutes, or 2 hours per week.

Why did Harbor Lane add a check step to its pattern?

Answer: On very long files the model sometimes ignored the required format, so a confirmation step and splitting long files helped keep output consistent.

Why should a pattern have an owner and version number?

Answer: Models, policies and data change, so someone must retest and update the pattern, and versions show which wording is current.

Related terms

  • Prompt engineering
  • Few-shot prompting
  • Zero-shot prompting
  • System prompt
  • Chain-of-thought prompting
  • Context window
  • Human-in-the-loop
  • Prompt template

Learn next

Pick one task your team repeats weekly and turn your best prompt for it into a labeled template. Test it on ten real inputs and record how long review takes. Then read about few-shot prompting and system prompts, which are common building blocks inside patterns.

  • Few-shot prompting

More in Prompting and human-AI interaction

  • Prefill
  • Presence penalty - A presence penalty is a text generation setting that lowers the chance of a language model using any token that has already appeared in the output, no...
  • Prompt - A prompt is input supplied to a generative AI model to guide the output it produces.
  • Prompt-based learning - Prompt-based learning uses prompts to guide a pretrained model toward a task or desired behavior.
  • Prompt chaining - Prompt chaining connects multiple model calls so that an earlier call's output becomes part of a later call's input.
  • Prompt framework - A prompt framework is a named structure, often an acronym, that tells a person which parts to include when writing a prompt, such as role, task, context...

Sources

OpenAI, Prompt engineering guide: https://platform.openai.com/docs/guides/prompt-engineering DAIR.AI, Prompt Engineering Guide: https://www.promptingguide.ai/ The sources were consulted for general guidance on structuring prompts and common prompting techniques; the examples, analogy, worked example and case are original educational illustrations. Checked 5 Nov 2026.

Previous: Prompt management Next: Prompt routing

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer