Worked lessons · 19 November 2026
Lesson 03 / 12 · approximately 8–12 minutes
Turn a prompt into a testable contract
Give the model a task, evidence boundary and observable output.
The idea
A useful prompt states the job, audience, permitted evidence, constraints and output format. Examples help demonstrate distinctions that words alone leave ambiguous. Delimiters help organize text, but do not turn a quoted document into trusted instructions. Role descriptions can set tone; they cannot add expertise, credentials or permissions. Structured JSON helps a parser, while schema validation and authorization still belong in application code. Ask for concise justification and citations that can be checked, not hidden internal reasoning.
Worked example
For a fictional workflow audit, the prompt supplies three facts: intake takes eight minutes, approval is manual and error frequency is unknown. The requested result separates observed delays, hypotheses and one next measurement. A bad reply invents a 40% saving. A better draft says savings cannot yet be estimated and proposes measuring twenty intake cases. That is a concrete answer even though it contains uncertainty.
Use it in a workflow
- State the requested decision and evidence allowed.
- Add one positive and one boundary-case example.
- Define required fields and forbidden unsupported claims.
- Validate output structure and claim support separately.
Try it without a model
Write a five-field JSON-shaped audit response for the fictional facts: observation, evidence, hypothesis, missing_measurement and next_step. Do not add numerical savings.
Compare with the answer criteria
A valid response cites the eight-minute intake and manual approval, labels automation as a hypothesis, marks errors unknown and requests a bounded sample. Parsing success alone is not enough; each claim must match supplied evidence.