How to Write Better AI Prompts: A Practical Guide with Examples

Chat bubbles illustrating how to write better prompts for AI assistants

Two people can ask the same AI tool for help and get completely different results. The difference is rarely the tool. It's the prompt. Whether you use ChatGPT, Google Gemini, Microsoft Copilot or Claude, the same handful of habits will get you clearer, more accurate and more useful answers.

This guide explains those habits with before-and-after examples you can copy and adapt for work, study and everyday tasks.

Why prompts matter

An AI assistant only knows what you tell it in the conversation (plus its general training). If you type "write an email to my boss," it has to guess the topic, tone, length and outcome you want. Every guess is a chance to miss. A good prompt removes the guessing.

The 5-part prompt formula

You don't need fancy tricks. Most strong prompts cover these five things:

  1. Goal: what you want to achieve.
  2. Context: the background the AI needs (who, what, why).
  3. Audience: who will read or use the result.
  4. Format: length, structure, tone (bullets, table, email, 150 words…).
  5. Constraints: anything to include, avoid, or check.

Example: an email

Weak prompt:

Write an email asking for leave.

Strong prompt:

Write a short, polite email to my manager, Priya, asking for leave from 12 to 14 November for a family wedding. My project report is due on the 15th; mention that I'll finish it by the 11th and that Rahul can cover urgent issues. Keep it under 120 words, professional but warm.

The second version gives the AI everything it needs, so the first draft is usually ready to send with only small edits.

Technique 1: Give the AI a role

Starting with a role sets the expertise level and vocabulary.

You are an experienced IT support technician. Explain to a non-technical office user why their laptop is asking for a BitLocker recovery key and what they should do, in simple steps.

A role isn't magic, but it reliably nudges the tone and depth in the right direction.

Technique 2: Show an example of what you want

If you have a style in mind, paste a short sample. AI tools are very good at matching examples.

Write three more product descriptions in the same style as this one: "Lightweight, splash-proof and built for long commutes, this backpack keeps your laptop safe and your shoulders happy." Products: a power bank, a USB-C hub, a laptop stand.

Technique 3: Ask for a specific structure

Telling the AI how to lay out the answer makes it far easier to use.

Compare Google Drive, OneDrive and Dropbox for a small business. Give me a table with columns: free storage, paid plan starting point, best for, main limitation. Then a 3-sentence recommendation.

Note: for prices and plan details, always double-check the provider's official site. AI answers can be out of date.

Technique 4: Break big tasks into steps

Instead of asking for a finished 2,000-word report in one go, work in stages:

  1. "Suggest an outline for a report on…"
  2. "Expand section 2 using these notes: …"
  3. "Now make the whole thing 20% shorter and more direct."

You stay in control, and errors are easier to catch early.

Technique 5: Ask it to ask you questions

When you're not sure what details matter, let the AI interview you first:

I want to create a weekly study plan for my BCA exams. Before you make the plan, ask me up to 5 questions about my schedule, subjects and weak areas.

Technique 6: Iterate instead of starting over

The first answer is a draft. Follow up with specific feedback:

  • "Make it more formal."
  • "Remove the jargon. My readers are beginners."
  • "The second point is wrong; our office uses Microsoft 365, not Google Workspace. Rewrite it."

Prompts you can use today

  • Summarize: "Summarize this article in 5 bullet points for a busy manager, then list any numbers or dates it mentions." (paste text)
  • Learn: "Explain subnetting like I'm a first-year networking student, with one worked example."
  • Troubleshoot: "My Windows 11 update fails with error 0x80070002. List likely causes from most to least common, and the safest fix for each."
  • Excel: "Write an Excel formula that looks up an employee ID in column A of Sheet2 and returns the department from column C. Explain how it works."
  • Plan: "Create a 4-week plan to learn basic Python for 30 minutes a day, with one small project per week."

Know the limits: use AI safely

  • Verify facts. AI tools can state wrong information confidently, especially about prices, laws, recent events and statistics. Check important facts against official sources.
  • Protect private data. Don't paste passwords, bank details, Aadhaar or Social Security numbers, or confidential company documents into public AI tools. Follow your company's AI policy for work data.
  • Review before you send. You are responsible for anything you publish or submit, including AI-assisted work.

Using AI at work for IT tasks? Our guide to tools every IT engineer needs for daily tasks pairs well with these prompts. If Windows Update is giving you trouble, try our step-by-step fixes for stuck Windows updates.

FAQ

Do these tips work with all AI chatbots?

Yes. Clear goals, context, format and constraints help every major assistant, including ChatGPT, Gemini, Copilot and Claude. Specific features differ, but good prompting habits carry over.

Should I write prompts in English or my own language?

Most major assistants understand Hindi and many other languages well. Use whatever language lets you explain your request most clearly, and ask for the answer in the language you need.

Post a Comment

1 Comments