Prompt Patterns|

A Pattern Language for Knowledge Engineering with Large Language Models

Prompt Patterns book cover

Prompt Patterns

Get the book on Leanpub

Meta Prompting

Uses one prompt to generate or refine another prompt, using the LLM to craft how to interact with it.

Meta Prompting pattern diagram

Problem

Prompt quality is a bottleneck; writing effective prompts directly is difficult and sensitive to wording details.

Solution

Use one prompt to generate, refine, select, or template another prompt. Separating intent specification from wording implementation makes prompt design faster, more consistent, and iteratively improvable.