Domain
Prompt engineering
Designing, structuring, versioning and testing the instructions an application sends to a model.
0 of 10 articles published. Topics are listed in reading order: each comes after the topics it builds on.
Prompt foundations
How to write instructions a model follows consistently.
- Anatomy of a production promptComing soon
The parts of a prompt that ships: role, task, constraints, context, examples and output format.
Fundamentals · Beginner
- Separating instructions from dataComing soon
Marking untrusted text as data so the model is less likely to follow instructions hidden inside it.
Fundamentals · Intermediate
- Few-shot examplesComing soon
Choosing, ordering and maintaining examples, and how they can bias output.
Fundamentals · Intermediate
- Specifying the output formatComing soon
Asking for output your code can parse, and validating it instead of trusting it.
Implementation · Intermediate
- Prompting for step-by-step reasoningComing soon
When asking a model to reason first improves answers, what it costs in tokens, and how reasoning models change this.
Fundamentals · Advanced
Prompt management
Treating prompts as versioned, reviewed, deployable artefacts.
- Prompt templates and variablesComing soon
Building prompts from templates safely, including escaping and length limits for inserted values.
Implementation · Intermediate
- Versioning prompts like codeComing soon
Storing prompts with the code or in a registry, tying each response to the prompt version that produced it.
Operations · Advanced
- Rolling out prompt changes safelyComing soon
Shadow runs, staged rollout and rollback for prompt changes that can alter behaviour in production.
Operations · Production
Prompt testing
Knowing whether a prompt change made things better or worse.
- Regression testing promptsComing soon
Fixed test sets, graders and thresholds that catch a prompt change breaking existing behaviour.
Implementation · Advanced
- Porting prompts between modelsComing soon
Why a prompt tuned for one model can behave differently on another, and how to migrate with evidence.
Fundamentals · Advanced