What makes a good AI prompt
The six parts most prompts need (role, context, task, format, constraints and examples), with a complete example and how to test and improve a prompt.
A good prompt tells the model what a good answer looks like before it starts. Most weak prompts are not wrong, just underspecified: they leave the model to guess who the answer is for, how long it should be, and what shape it should take. The model then fills the gaps with something generic.
The six parts most prompts need
- Role: who the model should be, or who it writes for. "You are a patient tutor" or "Write for busy managers".
- Context: the material and background it cannot know: your notes, your product, your audience.
- Task: one clear instruction with a verb. Summarize, rewrite, compare, draft, list.
- Format: the shape of the answer. Headings, a table, bullets, JSON with given keys.
- Constraints: length, tone, what to avoid, and what to do when information is missing.
- Examples: one short sample of the output you want. It often does more than another paragraph of instructions.
A quick question does not need all six. A prompt you reuse every week usually does.
A complete example
Here five of the six parts are separate sections (this one needs no example), and the notes that change each week are a variable:
<ROLE>
You are an editor for a busy product team.
</ROLE>
<CONTEXT>
The notes below are from our weekly planning call:
{{notes}}
</CONTEXT>
<TASK>
Summarize the decisions and the open questions.
</TASK>
<FORMAT>
Two headings, Decisions and Open questions, with at most five bullets each.
</FORMAT>
<CONSTRAINTS>
Use only what the notes say. If something is unclear, list it under Open questions.
</CONSTRAINTS>Compare it with "Summarize these notes": the reader, the length, the structure and the rule for unclear points are now stated rather than guessed.
Make it reusable
Put the parts that change in {{double_braces}} and keep the rest fixed. Read how to use variables in AI prompt templates, or try the template filler to fill one in.
Test it, then change one thing at a time
- Run it on two or three real inputs, including an awkward one: empty notes, a very long document, a mixed language.
- When an answer misses, change one instruction and run the same inputs again.
- Keep the earlier version so you can compare. The prompt diff shows exactly what changed.
Paste your own prompt into the prompt checker to see whether it states a role or audience, a format, a length and an example, or let the prompt refiner suggest a clearer version.
Templates to start from
- Meeting summary with action items
Decisions, open questions and owned action items from a transcript or notes.
- Reply to a tricky email
A warm but firm reply that addresses the point and proposes a next step.
- Explain a topic like a patient tutor
A step-by-step explanation at the right level, with an example and a check question.
Put it to use
Sign in to keep your own library. Writing, saving, filling in and copying prompts need no AI provider. Paste a prompt, Refine, and Try once are optional actions that use the provider you connect.
Open the appKeep learning
- How to create reusable AI prompts
Turn a prompt you keep retyping into named sections, save it in your library, and keep improving it without losing earlier versions.
- How to use variables in AI prompt templates
Build a weekly update template with {{variables}}, add hints and example inputs, and copy a filled prompt into your preferred AI assistant.
- How to organize and reuse your ChatGPT prompts
Keep useful ChatGPT prompts in a personal library with clear names, folders, favourites, search and version history.
- How to write prompts for coding agents
Brief Claude Code, Codex or Cursor like a work ticket: the goal, where to look, constraints, a checkable definition of done and what to report.
- How to write image generation prompts
Describe subject, setting, composition, style, lighting and format so ChatGPT (GPT Image), Midjourney, Stable Diffusion or Gemini produce the picture you have in mind.
- Prompts for research and writing
Get summaries and drafts that stay close to your sources: citations, audience, tone, structure and what the model should do when information is missing.