AI tools · 3 min read

How to Write Good AI Prompts: A Simple Formula for Beginners

Most bad AI answers come from vague prompts. A four-part formula (context, task, example, format) fixes most of them. Here it is with before-and-after examples for emails, social posts and summaries, and the follow-up questions that improve any answer.

A good AI prompt has four parts: context, task, example and format. Tell the AI who it's for and why, what you want it to do, what a good result looks like, and how the answer should be laid out. This simple formula fixes most of the generic, robotic answers people get from ChatGPT, Claude and Gemini.

Why vague prompts give vague answers

AI doesn't know your business, your customer or your tone. If you type "write a post about our sale", it fills every gap with the most average guess. The result sounds like everyone else's.

The fix isn't clever tricks. It's giving the same information you'd give a new team member.

The four-part formula

1. Context. Who you are, who the reader is, and why this matters. "I run a small bakery in Kozhikode. My customers are families and office workers."

2. Task. Exactly what you want. "Write an Instagram caption announcing our new millet cookies."

3. Example. A sample of the style you like, or a past piece that worked. "Here's a caption our customers liked last month: ..."

4. Format. Length, structure, tone, language. "Under 60 words, friendly, one emoji at most, end with a question."

Before and after

A customer email

Before: Write a reply to a customer who is angry.

After: I manage a furniture store. A customer's sofa arrived 5 days late and they're upset. Write a short, calm reply that apologises once, explains we've added a free cushion set, and gives my direct number. No excuses, no long paragraphs. Under 100 words.

A summary

Before: Summarise this.

After: Summarise this supplier contract for a busy owner. Give me: the 5 most important points, any dates or penalties I must remember, and anything that looks unusual. Use short bullet points.

A social post

Before: Write a post about AI.

After: I train small business teams to use AI. Write a LinkedIn post for owners who think AI is only for big companies. Share one simple example: using AI to reply to customer reviews. Plain words, no buzzwords, under 150 words.

Follow-ups that fix weak answers

The first answer is a draft. These follow-ups improve it fast:

  • "Make it shorter and simpler."
  • "Sound more like a person talking, less like an advert."
  • "Give me 5 different versions."
  • "What's missing from this?"
  • "Ask me any questions you need before you rewrite it."

The last one is the most useful. Letting the AI ask questions often gets a better result than trying to write the perfect prompt.

Save your best prompts

When a prompt works well, save it. A shared document of team prompts for replies, quotes, posts and summaries saves more time than any single tool. Replace the specific details with brackets, like [customer name] and [problem], so anyone can reuse them.

Three mistakes to avoid

Pasting private data. Remove names, phone numbers and anything confidential first. Your team should follow a simple AI policy.

Trusting facts blindly. AI can sound sure and still be wrong. Read how to check AI answers before you send anything important.

Giving up after one try. Ask for changes. It's a conversation, not a search box.

Learn it hands-on

Prompting clicks fastest when you practise on your own work. In corporate AI training, each person builds prompts for their real daily tasks and leaves with a set they keep using. If you're in Kerala, see AI training in Kerala.

Questions people ask

What is a good AI prompt?

A good prompt tells the AI who it is for, what you want, what good looks like and how the answer should be laid out. Context, task, example and format cover most of it.

Do prompts need to be long?

No. They need to be specific. Two or three clear sentences with context and a format usually beat a long paragraph of vague instructions.

Does the same prompt work in ChatGPT, Claude and Gemini?

Yes. The formula works in all of them. The answers will differ a little, so test your most-used prompts in the tool your team uses.

What should I do if the answer is wrong?

Don't start over. Tell it exactly what to change, for example shorter, friendlier, or remove the second paragraph. Check any facts yourself before using them.