Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 1 min read

A simple 5-part formula for better AI prompts

AI tools cannot read your mind. If you ask for "write about healthy eating", the tool has to guess the audience, the length, the tone and the purpose, so you get something generic. The more gaps you close yourself, the l

AI tools cannot read your mind. If you ask for "write about healthy eating", the tool has to guess the audience, the length, the tone and the purpose, so you get something generic. The more gaps you close yourself, the less editing you do later.

The 5-part prompt formula

You do not need every part every time. Use the ones that matter for the task.

  1. Role: who should the AI act as? ("You are an experienced careers coach.")
  2. Task: what exactly should it do? ("Rewrite my CV summary.")
  3. Context: who is it for and why? ("I am applying for a marketing job.")
  4. Format: how should the answer look? ("Three bullet points.")
  5. Limits: length, tone, things to avoid. ("Under 60 words, no buzzwords.")

Weak vs. better

Weak: "Write about healthy eating."

Better: "Write a 150-word Instagram caption for busy office workers about preparing healthy lunches on Sunday. Use a friendly tone, include one practical tip, and end with a question."

The second prompt says who the reader is, where the text will appear, how long it should be and how it should end.

Quick tips

  • Paste a short sample of your writing and say "match this tone".
  • Ask for one thing at a time. Break big jobs into steps and review each one.
  • Say what to avoid, such as jargon or filler phrases.

I wrote a longer version with more examples on my beginner-focused AI blog: How to Write Better AI Prompts.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.