What a good prompt includes
- Role and goal: what the model is doing and for whom.
- Context: the facts it needs, such as business details, the customer record or the source document.
- Instructions and limits: what to do, what never to do, when to hand off.
- Format: length, structure and tone of the output.
- Examples: one or two samples of a good result.
Prompts in production systems
For a chatbot or agent, the prompt is effectively its job description. It should be tested against real scenarios, including edge cases and adversarial ones, kept under version control, and changed deliberately, since a small wording change can shift behavior across thousands of conversations.
Prompts aren't everything
Most reliability problems are solved by giving the model the right information (RAG), the right tools and narrower tasks, not by ever-longer prompts.
In practice
A prompt for a lead-reply assistant might begin: "You are the scheduling assistant for Peak Plumbing in Ogden, UT. Reply in under 60 words, friendly and plain. Only quote prices from the price list below. If the customer mentions flooding or gas, tell them to call [number] now." Each line prevents a specific failure.

