How to Write Better AI Prompts in 5 Steps

This post may contain affiliate links. If you buy through them we may earn a commission at no extra cost to you. Learn more.
In this post

Use this 5-step prompt formula: role + task + context + constraints + output format. It is the simplest way to get clearer AI drafts, fewer rewrites, and more useful results from ChatGPT or any similar tool.

Most bad AI output is not because the model is bad. It is because the prompt leaves out one of those five parts. When you include all five, the tool has enough direction to produce something you can actually use.

What is the 5-step prompt formula?

The formula is Role, Task, Context, Constraints, Format.

You do not need fancy prompt engineering terms. You just need to tell the AI who it is acting as, what you want done, what background matters, what limits it should follow, and how the final answer should look.

Here is the basic template:

Act as [role].
Help me [task].
Context: [background information].
Constraints: [word count, tone, do not include, must include, audience, deadline].
Output format: [bullet list, table, email draft, outline, script, checklist].

AI performs better when the job is defined clearly, not when the prompt sounds clever.

Why do vague prompts fail?

Vague prompts fail because the AI has to fill in missing details on its own. When that happens, it often guesses wrong on tone, length, audience, or purpose.

For example, this weak prompt:

Write an email to my client.

could produce almost anything. A better version is:

Act as a professional account manager.
Write an email to my client explaining that their project will be delayed by 3 days.
Context: The delay is due to a vendor issue, and I want to keep trust high.
Constraints: Keep it under 150 words, sound calm and accountable, do not blame the vendor, and include a revised delivery date.
Output format: Email draft with subject line.

Specific beats long almost every time.

How do you write better AI prompts step by step?

1. Start with the role

Tell the AI what kind of helper you want. This shapes tone and priorities.

Examples:

  • Act as a professional recruiter.
  • Act as a customer support manager.
  • Act as a clear writing coach.
  • Act as a project coordinator.

Do not overthink this. One short role is enough. If you pile on five identities, results often get muddier, not better.

2. State the task clearly

Say exactly what you want done in one sentence. Use a verb.

Examples:

  • Rewrite this email to sound more confident.
  • Summarize these meeting notes into action items.
  • Turn this rough outline into a one-page report.
  • Brainstorm 10 blog topics for busy parents interested in AI side hustles.

This is where many people get weak results. If the task is fuzzy, the answer will be fuzzy.

3. Add the context the AI cannot guess

Context is the missing background. Without it, the tool fills gaps with average assumptions.

Useful context includes:

  • who the reader is
  • what the goal is
  • what happened before
  • what industry this is for
  • the source material to work from

Example:

Context: This is for a small landscaping business. The customer asked why the quote is higher than last year's. I want to explain the price increase without sounding defensive.

That one block of context often improves output more than adding three extra instructions later.

4. Set constraints so the answer is usable

Constraints tell the AI what to avoid and what must stay true. This is the step that cuts rewrites the most.

Good constraints include:

  • word count
  • reading level
  • tone
  • audience
  • items to include
  • items to avoid
  • deadline or time frame

Examples:

Constraints: Use plain English, keep it under 200 words, avoid jargon, and end with one clear next step.
Constraints: Make this friendly but still professional. Do not use exclamation points. Keep the advice realistic for a beginner with a full-time job.

Notice that these are practical, not technical. The best constraints make the output easier to use immediately.

5. Ask for a format you can work with

If you do not specify the format, the AI chooses one. Sometimes that is fine. Often it is not.

Ask for the structure you actually need:

  • bullet list
  • table
  • email draft
  • step-by-step checklist
  • 3 headline options
  • script
  • summary with action items

Example:

Output format: Give me a table with three columns: problem, likely cause, recommended fix.

This is one of the fastest ways to make AI output more useful at work, especially for summaries and planning documents. If you use AI often for repetitive office tasks, you may also like tools for automating repetitive computer work.

What does a good prompt look like in real work?

Here is a simple before-and-after example for a meeting summary.

Weak prompt

Summarize these notes.

Better prompt

Act as a project coordinator.
Summarize these meeting notes.
Context: This was a weekly team check-in for a marketing project. I need a summary I can paste into Slack for busy coworkers who missed the call.
Constraints: Keep it under 150 words, focus only on decisions, deadlines, and owners, and leave out side discussion.
Output format: 3 sections titled Decisions, Action Items, and Risks.

Here is another for job searching.

Act as a recruiter.
Rewrite my resume summary for a customer support role.
Context: I am changing careers from retail to remote support and want to highlight transferable skills.
Constraints: Keep it under 80 words, make it sound credible, avoid buzzwords, and focus on problem-solving, communication, and handling difficult customers.
Output format: Give me 3 versions.

That same approach works well if you are using AI to reposition your experience for a new field. We covered that more broadly in how to use AI for a career change after 30.

What should you do when the first AI answer is still bad?

Do not start over immediately. Fix the missing part of the prompt.

Use this quick checklist:

  • If the tone is wrong, improve the role or constraints.
  • If the answer is too generic, add more context.
  • If it is too long or too messy, tighten the format.
  • If it missed the point, rewrite the task in plainer words.
  • If it sounds impressive but useless, add practical limits like audience, length, and purpose.

A strong follow-up prompt often looks like this:

Make this more concise for a busy manager. Keep only the top 3 recommendations and explain each in one sentence.

Or this:

Try again, but write at an 8th-grade reading level and remove filler phrases.

You do not need a whole new conversation every time. Usually, one targeted correction gets the answer where you need it.

Which prompt mistakes waste the most time?

The most common mistake is asking AI to do too much in one prompt. If you ask for strategy, writing, formatting, fact-checking, and design ideas all at once, quality usually drops.

The better move is to break bigger tasks into smaller passes:

  1. ask for an outline
  2. ask for a draft
  3. ask for edits
  4. ask for formatting

Another mistake is treating AI like a search engine when you really need a work assistant. Search-style prompts can be fine for quick facts. But for useful output, the tool needs a clear assignment.

A third mistake is accepting the first draft as final. AI is best used as a fast first-pass machine, not a mind reader. Review important outputs, especially anything sent to clients, managers, or customers.

What is the best beginner prompt template to save?

Save this and reuse it:

Act as a [role].
Help me [task].
Context: [who this is for, what the goal is, and any relevant background].
Constraints: [tone, length, must include, avoid, deadline, reading level].
Output format: [the structure you want].

If you only save one thing from this post, save that. It is a simple template you can use for email, summaries, planning docs, job search materials, and everyday office tasks. For a broader skill plan, start with the best AI skills to learn for work.