Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Stepwise Decomposition

Explicitly requires the model to solve a task by producing ordered intermediate steps, preventing premature answers and making the reasoning process visible.

Solution

Techniques

Explicit Step Instruction

Demonstrated Stepwise Examples

Dynamic Stepwise Decomposition

Contrastive Stepwise Demonstrations

Related Patterns