How to Write Better AI Prompts: A Practical Framework With Examples

Updated 2026-11-27

Try it now: Test your current prompting level.

Take the Prompting Skill Level Test

Most disappointing AI answers come from underspecified requests. If you type “write a blog post about productivity,” the tool must guess your audience, length, angle and tone, and it guesses in the safest, most generic direction. Better prompts remove the guessing. They don’t require secret phrases or clever tricks. They require the same clarity you’d give a smart new colleague who doesn’t know your situation.

To see your starting level, take the Prompting Skill Level Test. The framework below applies to most tools, though behavior varies between them.

The framework: six parts

1. Context

Say who you are, who the output is for and what situation it’s used in. “I run a small online shop selling handmade candles, and this is for the product page” gives the tool far more to work with than a bare request.

2. Task

State exactly what you want done. Use specific verbs: summarize, rewrite, compare, list, draft, critique. “Draft three subject lines” is clearer than “help with email.”

3. Constraints

Set limits: length, tone, words to avoid, facts that must be included and things that must not be said. Constraints prevent filler and keep the output on brand.

4. Format

Say how you want the answer structured: a table, bullet points, numbered steps, a short paragraph or a specific template. Format requests save editing time.

5. Examples

Show what good looks like. Paste a sample of your own writing or a previous output you liked, and say “match this style.” Examples are among the strongest ways to guide a tool. Include a bad example when helpful: “avoid something like this.”

6. Success criteria

Explain how you’ll judge the result: “it should be understandable to a first-time buyer and mention the burn time.” This helps the tool aim at the right target.

A weak prompt and a strong one

Weak: “Write a description for my candle.”

Stronger: “I sell hand-poured soy candles in a small online shop. Write a product description for our lavender candle (8 oz, about 40 hours of burn time, cotton wick). The buyers are mostly women gifting to friends. Use a warm, plain tone, no exaggerated claims, 90 to 110 words. Start with the scent and end with a line about burn time. Here is a description from another product so you can match the style: [paste].”

The second takes a minute longer to write and saves several rounds of revision.

Iterate instead of starting over

Treat the first answer as a draft. Ask for specific changes: “shorter,” “less formal,” “add a concrete example,” “remove the third point.” You can also ask the tool to critique its own answer against your criteria, then revise. Short, targeted follow-ups usually beat rewriting the whole prompt.

Break big tasks into steps

For complex work, split it. Ask for an outline first, approve it, then request one section at a time. This keeps quality higher and gives you control over direction. For research tasks, ask for a list of questions to investigate before asking for conclusions.

Check the facts

AI tools can produce confident errors, invented sources and outdated information. Verify names, numbers, quotes and claims that matter, especially for health, money, legal and safety topics. Never paste in confidential information without understanding how the tool handles data. See the AI Client Data Risk Quiz and our guide on editing AI-generated content.

Build a personal prompt library

When a prompt works, save it with a note about what it’s for. Over time, you’ll have reusable templates for your regular tasks: product descriptions, meeting summaries, customer replies. Replace the specifics each time. This turns prompting from improvisation into a small system, and it makes your results more consistent.

Quick checklist

For common errors to avoid, read ten prompting mistakes that give you bad AI answers.

Try it now: Test your current prompting level.

Take the Prompting Skill Level Test

Frequently asked questions

What makes a good AI prompt?

Context, a specific task, constraints, a requested format, an example and clear success criteria, followed by refinement.

Do longer prompts work better?

Not always. Relevant detail helps, but length for its own sake doesn’t. Include what the tool needs to know and nothing more.

Related reading

Related quizzes