How to Design a System Prompt
Guide · about 7 min · refs checked 2026-11-03 (reference links and dates only)
A system prompt is the invisible spec of your product's behavior. What to put in it, what to leave out, and how to test whether it actually holds.
Example and interpretation
A teaching scenario, not a measured or executed site test.
A lasting rule can require source-grounded answers with unknowns for missing facts; the user message supplies this event's material. An instruction embedded in quoted material is not a new rule. Validate output beyond the system prompt.
How to check your practice
Explain the example in your own words, inspect input constraints, then verify against the source. Revisit concepts if you cannot explain why; supply missing dates, fields or permissions; withdraw unsupported conclusions.
For this topic, start with missing input · See all six scenarios and their reasoning