The Five Fundamentals
Almost every prompting failure traces back to one of five missing elements. A prompt that satisfies all five is rarely brilliant, but it is almost never a disaster. Treat this list as a checklist before you ship any prompt to production, including the system prompts behind your PANTA OS assistants.Clarity
The model should know exactly what it is being asked to do, in one reading, without inference.
Context
The model should have the background it needs to perform the task: who the audience is, what came before, what to assume.
Specificity
The output should be defined by attributes, not adjectives. Length, structure, level of detail, voice.
Format
The shape of the response should be specified upfront: prose, JSON, table, bullet list, XML envelope.
Constraints
The boundaries should be explicit: what to include, what to exclude, when to refuse, when to ask.
Examples (optional)
Two or three examples make the contract concrete and resolve most edge cases without further instructions.
Clarity
The single most reliable improvement to any prompt is to read it aloud and ask whether a competent stranger could execute the task from the words alone. If the answer is no, the model will not do better. Clarity has three components: the task is named, the inputs are labeled, and the success criterion is explicit. If a colleague with no context reads the prompt and is confused, the model will be too.Context
Models do not know who is asking, what the broader project is, or what the deliverable will be used for. Anything that affects how the task should be performed has to be in the prompt or in a system message. The relevant categories of context:- Audience. A summary for a board reads differently from a summary for an engineer. Name the reader.
- Purpose. Will the output be published, used in a meeting, fed into another prompt, archived? The destination shapes the voice and length.
- Prior decisions. If you have already decided that the output should be in German, or should avoid a certain term, or should follow a house style guide, say so.
- Domain. If the task is in a specialized domain, say so plainly. “You are reviewing a medical device regulatory filing” is better than letting the model guess from the input.
Specificity
Adjectives are dangerous in prompts. “Make it engaging” and “make it professional” mean different things to different people, and the model will pick the most generic interpretation. Replace adjectives with attributes wherever possible.Format
Telling the model what shape the response should take is one of the cheapest improvements available. It costs almost no tokens and removes a category of post processing failures. The most useful format directives are:- Length. Word count, sentence count, or paragraph count. Models are imprecise at exact counts but reliable at orders of magnitude.
- Structure. Headings, bullet points, numbered lists, or flowing prose. Specify which.
- Output container. Raw text, JSON, XML, Markdown, code in a fenced block. If the output will be parsed, specify the schema.
- What to omit. “Do not include a preamble or explanation, only the JSON object” is a common and effective directive.
Constraints
Constraints are the rules the output must obey beyond the task itself. They are easiest to think about as four buckets:- Inclusion. What must be in the output. “Always include the source URL.” “Always include a confidence score from 1 to 5.”
- Exclusion. What must not be in the output. “Do not invent statistics.” “Do not name specific people.”
- Refusal. When the model should decline. “If the input does not contain a valid invoice number, return an empty object.”
- Escalation. When the model should ask for clarification or hand off. “If the user request is ambiguous, ask one clarifying question before proceeding.”
A Minimal Complete Prompt
Putting the five fundamentals together produces a prompt that looks like this:What Comes Next
The fundamentals get you to a reliable baseline. The next page, Prompting Techniques, introduces the named methods that build on these fundamentals: zero shot, few shot, chain of thought, role prompting, prefilling, and chaining.Iteration is part of the workflow. Write a first draft, test it on five to ten realistic inputs, and refine based on the failures. Most production prompts go through three or four revisions before they are stable, and the same is true for the system prompts that drive PANTA OS assistants.
