«Never mention competitor prices» sits in your system prompt, and it keeps being violated.
- ARepeat the rule three times and put it in capitals
- BMove the rule into the user message, which the model attends to more
- CSay what to DO instead («if asked about a competitor’s price, point to /pricing») and enforce the ban outside the prompt where it matters
- DKeep the ban but move it to the very first line of the system prompt in capitals, with three examples of forbidden replies so the model knows exactly what to avoid saying
Answer: C
Say what to DO instead («if asked about a competitor’s price, point to /pricing») and enforce the ban outside the prompt where it matters
Why
A prohibition leaves the model with no route: it still has to answer, so it improvises. Naming the replacement behaviour gives it one. And a rule that must never break does not belong in a prompt at all - a prompt is guidance, not a guarantee.
- PromptingYour prompt is just “write code.” What improves it the most?
- PromptingA downstream pipeline needs strict, repeatable JSON from the model.
- PromptingYou need output in a very specific, unusual format.
- PromptingYour app puts stable rules (persona, safety limits, output format) into the same user message as each request’s data.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path