liveBook · Manning

Instruction

As explained in Prompt Engineering in Practice

An instruction is a directive within a prompt that specifies the task the model should perform.

An instruction is the part of a prompt that tells a model what task to perform. It may name a single action or give ordered directions for a multistep task. Clear instructions reduce output variability; keeping them separate from supporting information makes a prompt easier to test and revise. section 2.2

Write an instruction as a task directive, then give other concerns their own place:

  • Use a clear action, such as “Write,” “Analyze,” or “Produce.” Give each instruction one primary action; order directives when the task has multiple steps. section 2.2
  • Name the audience or technical setting when it changes the expected depth or terminology. State the task boundary: what to cover or focus on. section 2.2
  • Put testable limits under constraints, background under context, changing values in input parameters, and response structure under output format. Delimit embedded content so it is not mistaken for instructions. section 2.0 section 2.3

Deployment decision brief

A release prompt can instruct: “Produce a GO or NO-GO recommendation using only the provided deployment signals and runbook excerpt.” The signals and runbook are delimited input data. Separate constraints require concrete evidence and a rollback command for a NO-GO decision; an output-format section names the four sections of the brief. The instruction establishes the decision task without carrying every rule or data value inside it. section 2.8.2

For repeated use, keep stable instructions in a system prompt and supply changing data through a user prompt. This avoids repeating task logic and letting copies drift. A simple one-off task can use a combined prompt. In either case, pair instructions with an output format; add other elements when the task needs them. section 6.4.5 section 6.5 section 2.8

How Prompt Engineering in Practice covers it

How deep it goes
Defines instructions and gives writing rules for actions, audience, scope, and sequence, without descending into model internals.
Examples
Uses secure logging guidelines, an incident status update, and a deployment GO/NO-GO brief as structured prompt examples.
What it assumes
Starts with single-block prompts and explains structural elements through software-engineering tasks rather than assuming model-internals knowledge.
What you can do after
Build it from scratch by drafting a clear task directive, separating other prompt elements, and placing stable instructions for repeated use.
How it connects
Distinguishes instructions from constraints, context, input parameters, output format, and delimiters; places stable directives alongside system prompts.

Also explained in

Compare how 5 books explain instruction →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Prompt Engineering in Practice. The section links point to the parts of the book it draws on.