Skip to content

Anatomy of an Effective Prompt

The parts of a prompt that reliably produce good results, with a template you can adapt for almost any task.

Editorial team 1 min read

Most effective prompts share the same building blocks. Missing one is the usual cause of disappointing output.

The Building Blocks

  1. Role and context: who the model is helping and why.
  2. Task: the specific output wanted.
  3. Inputs: the material to work on, clearly delimited.
  4. Constraints: length, tone, scope, what to avoid.
  5. Output format: structure, headings, JSON, a template.
  6. Quality bar: what a great answer looks like, or examples.
  7. Uncertainty handling: what to do when information is missing.

A Reusable Template

Context: I'm <role> working on <situation>. The output is for <audience>.
Task: <exactly what to produce>.
Material:
<document>
...
</document>
Constraints: <length, tone, must-include, must-avoid>.
Format: <structure>.
If something is unclear or missing, <what to do>.

Specific Beats General

"Write a 150-word summary for customers who aren't technical, highlighting what changes for them" beats "summarise this".

Explain Why

Reasons behind constraints help the model make good choices in cases your rules don't cover.

Iterate

Treat prompts as drafts. Look at outputs, identify what's wrong, and adjust the specific building block responsible.

More in Prompting

All Prompting guides →
Prompting Guide · 2 min

Giving Models Context

Why most weak outputs come from missing context, and what background information to include in a prompt.

Prompting 2 min read 31 Oct 2025

Prompting Guide · 1 min

Role Prompting: When It Helps and When It Doesn't

Telling a model to act as an expert or a persona can shape tone and focus — but it isn't a substitute for clear instructions.

Prompting 1 min read 30 Oct 2025

Prompting Guide · 1 min

Using Delimiters and Tags in Prompts

How clearly marking documents, examples and instructions with tags or headings improves accuracy and safety.

Prompting 1 min read 28 Oct 2025