liveBook · Manning

Prompt pattern

A prompt pattern is a reusable structure or strategy for formulating model inputs to address recurring needs, including relevant constraints or trade-offs.

How 2 Manning books explain it

Claude at Work

A prompt pattern is a reusable structure for specifying a desired outcome, its purpose, and applicable constraints.

How it is used
Structures requests to Claude around a desired outcome, intent, and usable constraints.
How deep it goes
Defines a three-part structure and allows follow-up clarification without prescribing a fixed template.
Examples
Uses pasted system logs followed by “what’s up?” as an example of supplying raw data.
What you can do after
Apply it via Claude by stating what you want, why you want it, and any constraints.

Read how Claude at Work explains prompt pattern →

Prompt Engineering in Practice

A reusable prompt structure for addressing a recurring prompting problem and its trade-offs.

How it is used
Frames reusable interaction strategies for recurring language-model problems, shaping how a model approaches tasks rather than merely formatting prompts.
How deep it goes
Defines eight patterns across three categories and links them to templates, while leaving individual pattern procedures largely unspecified.
Examples
Uses a feature-planning prompt with a senior-engineer role, variable request inputs, constraints, and a specified output format.
What you can do after
Apply reusable strategies across domains to make language-model interactions more consistent and address recurring task problems.

Read how Prompt Engineering in Practice explains prompt pattern →

Related concepts

Questions about prompt pattern

What is prompt pattern?

A prompt pattern is a reusable structure or strategy for formulating model inputs to address recurring needs, including relevant constraints or trade-offs.

Which Manning books explain prompt pattern?

Claude at Work and Prompt Engineering in Practice.

What kinds of prompt pattern are there?

Kinds of prompt pattern include delimiter pattern, contextual pattern, prompt template, role assignment, structural pattern and transformational pattern.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.