AI Literacy · Pillar article
How to write effective prompts: a complete guide
Published 1 December 2026
In this guide
- 1. Begin with the outcome, not the technology
- 2. Provide enough context, but only what is necessary
- 3. Use a structure containing six components
- 4. Define the format to make the answer usable
- 5. Use examples and counterexamples
- 6. Divide complex tasks into verifiable stages
- 7. Refine the prompt using observed mistakes
- 8. Five templates for everyday tasks
- 9. Verify the response and retain responsibility
- Practice exercise: compare two requests
A prompt is an instruction, question or collection of information that you give an artificial intelligence system to obtain a result. Writing effective prompts does not involve memorising secret formulas or using expressions intended to force a model to be correct. It involves defining the task, presenting necessary context, establishing boundaries and making the result verifiable. The same instruction may produce different answers in different systems or at different times. The process therefore includes experimentation and revision. This guide presents a structure for developing writing, learning, organisation, research and analysis requests, with examples that require no programming knowledge.
1. Begin with the outcome, not the technology
An instruction should make the intended work explicit. Compare “Tell me about productivity” with “Organise the tasks below by priority and propose a sequence that respects the specified deadlines.” In the first case, the assistant must choose the scope of the topic, type of response and level of detail. In the second, there is an action and a criterion for evaluating the result. The more concrete prompt is not necessarily the longer one. It is the one that resolves ambiguities relevant to the task.
Before writing, mentally complete the sentence “The response will be useful if it enables me to...” If you intend to send an email, the outcome might be a draft ready for review. If you need to learn a concept, it might be an explanation followed by a question testing understanding. If comparing products, you might need a table of verifiable characteristics. Avoid requesting incompatible objectives simultaneously, such as a comprehensive analysis limited to fifty words. Where multiple outcomes are required, order them by priority. An assistant should be able to distinguish essential conditions from flexible preferences.
2. Provide enough context, but only what is necessary
Context describes circumstances affecting the work. It may include the intended audience, existing knowledge, conditions of use, available materials and facts you already know. An explanation of interest intended for someone learning percentages requires different vocabulary from an analysis written for someone with financial experience. Supplying this information reduces the need for the assistant to assume the reader's level of knowledge.
Do not confuse context with data volume. If you want to revise a message's structure, you do not need to supply the entire history of a professional relationship. If comparing commercial offers, provide necessary specifications and prices without irrelevant identifying details. Organise information under headings such as “Context”, “Supplied data” and “Information requiring confirmation”. Separate reference material from instructions. If the text being analysed contains sentences that resemble instructions to the assistant, specify that they must be treated as document content rather than new commands. This precaution is particularly important when using material obtained from third-party websites or messages.
3. Use a structure containing six components
A reusable structure can include purpose, context, data, format, boundaries and acceptance criteria. Purpose identifies what you want to obtain. Context explains for whom and in what circumstances. Data contains the available information. Format establishes the organisation of the response. Boundaries specify what the system must not invent, modify or execute. Acceptance criteria allow you to determine whether the outcome is complete. Not every request needs all six components, but this structure is useful for tasks with several requirements.
For example: “Purpose: prepare a meeting summary. Context: the team needs to confirm actions for next week. Data: [notes]. Format: table containing action, owner, deadline and evidence. Boundaries: do not transform suggestions into decisions or invent names or dates. Criteria: every agreed action must be represented, with unknown fields marked as pending.” Compare the response with the original notes. OpenAI's prompt engineering guidance also emphasises clarity, specificity and context. The template above is a practical organisational proposal, not mandatory syntax or a guarantee of accuracy.
4. Define the format to make the answer usable
The form of the response should correspond to what you will do next. A short list is suitable for a sequence of actions; a table helps compare alternatives; a narrative document may be more useful when explaining an argument. If you intend to copy information into an application, specify the fields and their order. Avoid elaborate formats when a simple answer can fulfil the task with less review.
Imagine requesting a comparison of three quotations. Define the columns: supplier, base price, tax, delivery, confirmed total and missing information. Specify that totals should not be calculated where necessary data are absent. If you intend to transfer information to a spreadsheet, check that units and number separators are consistent. For a written response, identify the tone, approximate length and structure. If length matters, verify it after generation: a model may not follow an exact word limit. Format makes review easier, but does not demonstrate that the content is true.
5. Use examples and counterexamples
An example can clarify what you consider a good outcome. If you want to classify messages, provide two or three representative cases and explain the correct category. Include borderline cases where the response should indicate uncertainty. An overly specific example may encourage the system to repeat characteristics that are not essential. Explicitly identify which elements you want preserved and which are merely illustrative.
Consider categorising a message as an information request, complaint or pending matter. “I would like to know when delivery will take place” is an information request. “Delivery did not take place on the agreed date and I want a solution” is a complaint. “I need help with my order” provides insufficient information to choose between categories. Ask the assistant to mark the latter as pending rather than classifying it arbitrarily. This small collection of examples helps clarify the distinction you want applied. Test with different messages, because reproducing supplied examples does not demonstrate that classification works for new cases.
6. Divide complex tasks into verifiable stages
When a request involves several decisions, it can be useful to ask for a plan before requesting the final version. To write an article, begin with an outline and identification of missing information. To study a subject, start with an assessment of existing knowledge. To organise a week, start with fixed commitments and constraints. After confirming the first outcome, move to the next stage. You do not need to request a model's internal reasoning: ask for a verifiable explanation of criteria used, data considered and relevant assumptions.
Imagine preparing an expenditure report. First ask for the table to be inspected for empty fields, duplicates and inconsistent units. Confirm corrections before requesting calculations. Compare totals using a spreadsheet. Only then request interpretation. If cleaning, calculation and interpretation are requested simultaneously, an error in the first stage may be concealed by a convincing narrative. Separating stages allows you to locate problems and retain valid work even when another stage requires revision. This is particularly useful when the work has professional or financial consequences.
7. Refine the prompt using observed mistakes
An initial response is often a starting point. Rather than simply writing “make it better”, identify the precise problem: the answer ignored the structure, omitted a condition, introduced external facts or used an unsuitable tone. Request a targeted revision and explain which elements must remain unchanged. Save the previous version so you can compare changes. A complete rewrite may solve one problem and introduce another.
For example, if the assistant wrote an email converting an estimated delivery into a commitment, specify: “Keep the subject, recipient and structure. Change only the sentence about delivery to explain that it depends on the supplier's confirmation.” Then check that no other elements were modified. If the same error occurs repeatedly, incorporate the rule into your reusable template. If an instruction produces inconsistent answers for no obvious reason, test several cases and reduce ambiguity. Do not evaluate a prompt solely by its best result; evaluate consistency and the work required to correct outputs.
8. Five templates for everyday tasks
For writing: “Draft a message using these notes. Identify the required action, preserve dates and figures, use British English and do not introduce commitments not stated in the notes.” For learning: “Explain this concept using my existing knowledge. Include an example, ask an application question and wait for my attempt before revealing the solution.” For organisation: “Distribute these tasks across the coming days, respecting fixed commitments. Flag conflicts and suggest alternatives without modifying the actual calendar.”
For research: “Identify the primary sources needed to confirm these assertions. Where you can consult information, identify its date and origin. Where you cannot, state the limitation and do not invent references.” For analysis: “Use only the supplied data. Present reproducible calculations, identify missing values and distinguish facts from interpretations. Do not present a final decision without making relevant conditions explicit.” Adapt the five templates to your tasks rather than copying them mechanically. The value of a prompt library lies in reusing instructions that have been tested, not accumulating hundreds of similar requests.
9. Verify the response and retain responsibility
A prompt is not a guarantee mechanism. An instruction not to invent information may reduce ambiguity, but does not eliminate errors. Verify important claims using independent sources, redo calculations and review commitments before sending a message. Avoid including credentials or confidential information in reusable templates. When using features capable of external actions, define what the assistant may do and which stages require authorisation. A well-written instruction does not grant permissions or establish that an action took place.
To assess your method, choose three real tasks and prepare both a simple and a structured version of the prompt. Use equivalent data, record total time and compare accuracy, completeness and review effort. Adjust only the components that demonstrated usefulness. For simple tasks, a short version may be enough; for complex tasks, acceptance criteria may prevent costly corrections. Effective prompting is a communication and work management skill: you define the desired outcome, provide appropriate information, assess the response and retain the ability to decide when the result is not yet ready.
Practice exercise: compare two requests
Use the same fictional notes for two drafting tasks: an appointment is expected next Tuesday but not confirmed, three documents must be prepared and one document is still missing. First ask for an email without additional constraints. Then request a message that distinguishes confirmed information from estimates, identifies the missing document and avoids making a commitment about the appointment. Compare the outputs against the original notes. If both are accurate, evaluate which required less time to review. If either introduces an error, record exactly which requirement was violated. This small exercise demonstrates how you can evaluate a prompt on observable evidence instead of assuming that a longer instruction is always better.
Reference source
OpenAI — Prompt engineering best practices for ChatGPT.