Back to Prompting

What Are the Four Parts of a Useful Prompt?

What Are the Four Parts of a Useful Prompt?
AI Tutorials Team 19 January 2026

There is a simple structure underneath almost every prompt that works, and it has four parts. Not a template to copy, but a checklist for working out what is missing when an answer comes back wrong, which is more useful.

What is the task?

The verb. Summarise, draft, compare, extract, explain, rewrite, plan. It sounds trivial and it is the part people most often leave implicit, which produces answers that do something adjacent to what was wanted.

Asking about a document is not the same as asking for a summary of it, and neither is the same as asking which parts of it need attention. Naming the verb removes an entire class of misunderstanding.

What is the context?

Everything the model cannot know. Who the output is for, what they already know, what the situation is, and what has already been decided or rejected.

Context is also where the actual material belongs. A prompt that includes the document is doing something reliable; one that describes it is asking the model to work from your summary of your own problem.

What does format cover?

The shape of what comes back. Prose or bullets, length, whether headings are wanted, whether you need a table, and what the first line should be.

Format is the cheapest part to specify and the one that saves most editing:

Return this as a table with three columns: the issue, why it matters, and what to do about it. One row per issue, maximum six rows, no introduction.

What counts as a constraint?

Anything the answer must respect or avoid. Word limits, things to exclude, a tone to stay within, assumptions not to make, and terminology to use or not use.

Negative constraints are unusually effective because models have strong defaults. Telling it not to hedge, not to summarise at the end and not to explain basic terms removes three habits at once.

Which part is usually missing?

Context, in most disappointing answers. The task was clear, the format was implied and the model had nothing specific to work with, so it produced the average of everything written about the subject.

The diagnostic is quick. Read your prompt back and ask which of the four is absent. Usually one is, and adding it fixes the answer without any change to the others.

Does the order matter?

Somewhat. Models attend most reliably to the beginning and end of a prompt, so putting the task first and the constraints last works well. For long documents, a common and effective pattern is instruction, then the material, then the instruction repeated briefly.

What does all four together look like?

Rewrite the paragraph below so it can be read by a customer with no technical background. It is going into a confirmation email after someone reports a fault, so it needs to be reassuring without promising a timescale. Keep it under eighty words, plain prose, no bullet points, and do not use the word unfortunately.

Task, context, format, constraints, in that order, with the material following. Nothing about it is clever, and it will produce a usable answer first time considerably more often than a page of instructions about tone and persona.

Where do people go wrong with this?

By treating it as a form to fill in. The four parts are a diagnostic, not a template, and mechanically producing a paragraph for each of them on a simple request wastes your time and buries the task under context nobody needed.

The other error is putting the material last, after a long block of instructions. A model reading four sentences of framing before it reaches the document has already begun forming an approach, and the document then has to compete with a direction that was set without it.

Do you need all four every time?

No. For a quick question, the task alone is fine, and adding structure to a simple request wastes your time rather than improving anything. The four parts earn their place on work that matters, on anything you will run more than once, and on the second attempt after a first answer came back wrong, which is where most people discover they needed them.