Guide

How to Write a Good AI Prompt

A simple five-part framework for writing prompts that get clear, useful answers from any AI assistant, with before-and-after examples.

Updated November 19, 2026In AI Prompt Templates

AI assistants such as ChatGPT, Claude, Microsoft Copilot and Google Gemini can draft emails, summarize documents, brainstorm ideas and much more. The quality of what you get back depends largely on what you ask. A good prompt gives the AI the same information you would give a capable new colleague.

The five-part prompt framework

Use Role, Context, Task, Format and Constraints as a checklist:

Part What to include Example
Role Who the AI should act as “You are an experienced small business accountant.”
Context Background the AI needs “I run a two-person landscaping business in Ohio. Clients often pay late.”
Task Exactly what you want “Write a polite but firm email reminding a client their invoice is 14 days overdue.”
Format How the answer should look “Under 120 words, with a clear subject line.”
Constraints Tone, length, things to avoid “Friendly tone; don’t threaten legal action; US English.”

You don’t need all five every time, but the more important the task, the more of them you should include.

Before and after

Weak prompt:

Write a blog post about budgeting.

Strong prompt:

You are a personal finance writer for a US audience. Write a 700-word blog post for young adults living on their own for the first time, explaining how to make their first monthly budget. Use a friendly, encouraging tone and short paragraphs. Include a simple example with a $3,200 monthly take-home pay, and end with three quick tips. Avoid recommending specific financial products.

The second prompt tells the AI who the reader is, how long the post should be, what to include, the tone and what to avoid.

Six techniques that improve results

  1. Give examples. Paste a sample of the style or format you want: “Write it in the same style as this example: …”
  2. Ask for options. “Give me five subject line options” beats asking for one.
  3. Break big tasks into steps. Ask for an outline first, review it, then ask for the full draft.
  4. Ask it to ask you questions. “Before you start, ask me any questions you need answered to do this well.”
  5. Iterate. Treat the first answer as a draft: “Make it shorter,” “More formal,” “Add a call to action.”
  6. Specify the format. Tables, bullet points, a numbered list, a word count or a reading level.

Common mistakes

  • Being too vague. “Make it better” gives the AI nothing to work with. Say how: shorter, warmer, more persuasive.
  • Leaving out context. The AI doesn’t know your business, audience or goal unless you tell it.
  • Trusting it blindly. Always check facts, numbers, names, quotes and anything legal, medical or financial.
  • Sharing sensitive information. Keep confidential data out of prompts unless your organization has approved the tool.
  • Publishing without editing. Readers notice generic AI writing. Add your own voice, examples and expertise.

Reusable prompt templates

Fill-in-the-blank prompts save time and give consistent results. Browse our collections:

Keep your best prompts organized with our personal prompt library template.

Frequently asked questions

Do these prompts work with ChatGPT, Claude, Copilot and Gemini?

Yes. The principles of good prompting, which are clear context, a specific task, examples and a defined format, work with all major AI assistants. Results vary slightly between tools, so experiment.

How long should a prompt be?

As long as it needs to be. A short question is fine for simple tasks. For anything important, a few sentences of context, a clear task and format instructions usually produce much better results than a one-liner.

Is it safe to put personal or business information into AI tools?

Be careful. Avoid entering sensitive information such as passwords, financial account numbers, health details, confidential client data or anything your employer prohibits. Check your tool's privacy settings and your company's AI policy.

Can I trust AI answers?

Treat AI output as a first draft. AI assistants can make mistakes or state things that are not true. Verify facts, figures, legal and medical information, and anything you will publish or rely on.

Related templates and guides