How to write a good AI prompt: the 5-part formula

A good AI prompt has five parts: a role, a goal, the context, the format you want back and the limits. Give the AI all five and you get specific, usable answers instead of generic ones. You do not need all five every time, but missing parts are the usual reason an answer disappoints.

By the Nuvero AI team. Updated 2 December 2026.

The five parts

  1. Role. Who should the AI act as? A study coach, an editor, a hiring manager.
  2. Goal. What exactly do you want done? One clear task.
  3. Context. What does it need to know about you, the audience or the situation?
  4. Format. How should the answer look? A table, five bullets, a 120-word email.
  5. Limits. What should it avoid or keep within? Length, tone, things not to include.

A weak prompt versus a strong one

Weak:

Make me a study plan.

Strong:

Act as a study coach. Build a 4-week plan to prepare for [exam]. I work 9 to 6 and can study 45 minutes on weekdays; I am weakest at [topic]. Give it as a week-by-week table with daily tasks. Keep each task under 45 minutes and do not add weekend sessions.

The strong version names all five parts. The AI no longer has to guess your schedule, your weak spot or what the answer should look like.

Three habits that make any prompt better

  • Let it ask you first. Add: "Ask me up to five questions before you answer." The AI then fills the gaps instead of guessing.
  • One task per prompt. If you need three things, ask for them in three steps.
  • Reply, do not restart. Say what to change: "shorter", "less formal", "add an example".

Common mistakes

  • Being vague ("make it better") instead of saying how.
  • Leaving out the audience.
  • Not asking for a format, so you get a wall of text.
  • Trusting facts without checking them.
  • Pasting private or confidential data.

Want ready-made examples? Try 12 prompts you can copy, or learn techniques like few-shot prompting and step-by-step prompting.

Frequently asked questions

Do I need all five parts every time?

No. Short tasks need only a goal and a format. Use all five when the answer matters or the first try was generic.

Is prompt engineering a real skill?

Yes. Asking clearly, giving context and iterating are learnable habits that noticeably improve results with any AI tool.

Does the same prompt work in every AI tool?

Mostly. The five-part structure works across ChatGPT, Claude, Gemini and others, though each tool may respond a little differently.

Keep learning