Write clearer AI prompts

Beginner · 5 min read

A useful prompt is a small specification, not a magic phrase. It tells the assistant what to produce, who will use it and how you will judge the result. Start with a real task, such as preparing a customer email or explaining a software feature. The goal is to reduce avoidable guessing while leaving room for useful suggestions.

1. Define the deliverable

Instead of asking for ideas about a topic, name the artifact you need. A checklist, comparison table, email draft and tutorial are different deliverables. Specify the audience and where the result will appear. For example, a help-center article for new customers should use different vocabulary from an internal engineering note. Set a reasonable length range only when it helps the reader. If you need a decision, ask for criteria and tradeoffs rather than a confident recommendation without evidence.

2. Supply relevant context

Include the facts the assistant must use, such as product features, intended readers and existing constraints. Separate source material from instructions with clear labels. Do not paste private customer records, passwords or confidential documents into a service without authorization. If a fact is missing, explicitly allow the assistant to ask a question or mark the gap. A short, accurate context block is usually more useful than several pages of unrelated background.

3. Specify format and constraints

Describe the structure you want: a title, three steps, a worked example and a closing checklist. State what to avoid, such as invented statistics or unsupported promises. For a structured data task, provide a sample object and explain which fields are required. Ask for plain text if the output will be pasted into a form. Avoid conflicting instructions such as demanding both a complete technical explanation and a single sentence. Rank the requirements when tradeoffs are likely.

4. Use examples carefully

A small example can communicate tone or formatting more precisely than adjectives such as professional. Show one acceptable response and explain what makes it acceptable. If the example includes fictional values, label them as examples rather than facts. When testing a classification prompt, include an ambiguous case as well as an easy case. Examples should demonstrate the pattern, not encourage the assistant to repeat irrelevant details from the sample.

5. Iterate with a rubric

Save the initial prompt and result, then identify one concrete weakness. If a draft lacks actionable steps, add a requirement for numbered actions rather than changing every instruction. Compare both outputs against the same rubric: accuracy, completeness, clarity and fit for audience. Try a second input to see whether the revised prompt generalizes. A prompt that succeeds on one carefully selected example may still fail on ordinary requests.

6. Handle uncertainty explicitly

Ask the assistant to distinguish supplied facts from assumptions and to identify information that needs confirmation. For research tasks, request source links only when the system can actually retrieve them; otherwise ask for a verification plan. Do not treat a plausible citation as proof. If the output will affect finances, health or legal decisions, seek appropriate qualified review. The prompt can improve transparency, but it cannot guarantee correctness.

Bad prompt vs. good prompt

Weak prompt

Write about coffee.

Improved prompt

Draft a 300-word French press guide for first-time users. Include equipment, steps, common mistakes and a short checklist. Use plain English. Flag any brewing advice that depends on equipment. Do not invent sources.

Try it yourself

Use the improved example with your own task. Replace the sample details with real inputs, compare the answer against the stated requirements and record what needs revision. Repeat with a second example before adopting the template for regular work.

Open related prompt builder →

Frequently asked questions

Can I use the same prompt in different AI assistants?

Yes, but compare outputs because capabilities and instruction handling differ.

Do longer prompts always work better?

No. Relevant context and clear requirements matter more than length.

What if the answer is too generic?

Add a concrete audience, scenario and acceptance criteria, then test again.

Related guides

Debug code with AI →

Verify AI-generated output →