How to Write AI Prompts That Work the First Time

TL;DR

  • A good prompt has four parts: a role, the context, what you want, and the format you want it in.
  • Showing one example of what good looks like beats three paragraphs describing it.
  • Vague in, vague out. Most bad output traces back to a prompt that could have applied to anyone.
  • Refining is part of the process, not a sign you did it wrong.

There is a whole industry selling prompt tricks. Almost none of it is necessary. One structure handles the overwhelming majority of what you will ask an AI to do, and once you have it you stop thinking about prompting at all.

Here it is, and then how to use it.

The four parts

Every prompt that works has some version of these:

  • Role. Who should it be while answering? “You are an experienced bookkeeper.” This narrows the vocabulary and assumptions it pulls from.
  • Context. Your situation, in specifics. Industry, size, constraint, audience, what you already tried.
  • Task. One clear ask. Not four asks bundled together.
  • Format. How you want it back. Five bullets. A 200 word email. A table with three columns.

Miss the role and you get a generic voice. Miss the context and you get generic content. Miss the format and you get four paragraphs when you wanted a list.

A before and after

Before: “Write a job description for a receptionist.”

After: “You are a hiring manager at a six person dental practice in a small Florida city. Write a job posting for a front desk receptionist. Pay is hourly, we care more about warmth with nervous patients than about dental experience, and we want people who will stay for years. Around 250 words, friendly, no corporate buzzwords. End with how to apply.”

The second one takes thirty extra seconds to type and saves you twenty minutes of editing. That trade is the entire skill.

Show, do not just describe

When you want a specific style, paste an example instead of describing it. “Write it like this” plus a sample of your own past writing gets closer than any adjective you could pick.

This works for structure too. Paste a report you liked and say “same shape, different subject.”

Refine on purpose

Treat the first answer as a draft you are editing, not a verdict on your prompt. The fastest corrections are specific:

  • “Too long. Half that.”
  • “You lost the friendly tone in paragraph three.”
  • “Rewrite it for someone who has never heard of this.”
  • “Give me three more options, more different from each other than those were.”

When it still will not cooperate

If three rounds have not gotten you there, the problem is usually that you are asking for too much at once. Split it. Get the outline first, approve it, then ask for the draft. Get the draft, then ask for the edit.

One clear ask at a time beats one big ask every single time.

One prompt you can steal today

If you want a single reusable template, this one covers a lot of ground:

“You are [role]. Here is my situation: [two or three sentences of real specifics]. I need [one clear task]. Give it to me as [format]. Before you write it, ask me any question you need answered to do this well.”

That last sentence is the part people leave off, and it is the part that does the most work. Letting it ask first turns a one-shot request into a short conversation, and the answer at the end of that conversation is almost always better than anything a single prompt produces.

Want the full framework and the templates?

Prompting Like a Pro is one of the four foundation books in the Core Four bundle. It covers the anatomy of a prompt in depth, giving it a role and real context, showing rather than telling, refining properly, and a set of reusable templates you can fill in.

Or browse all 33 guides and bundles.