New

Admissions Open for ADCA & MDCAA 2026 Batch!

Apply Now
{}[]<>()/;=

How to Write ChatGPT Prompts

Article · 6 min read Free Preview
A good ChatGPT prompt tells the AI who to be, what to do, the background, and the format you want. The simple formula is: Role + Task + Context + Format. For example, "You are a teacher. Explain GST to a beginner in 5 short points." This lesson gives you a repeatable way to write prompts that work.

A good ChatGPT prompt spells out four things: who the AI should act as, what you want done, the context it needs, and the format of the answer. The simple formula is Role + Task + Context + Format. A weak prompt like "write about GST" gets a vague reply. A strong one like "You are an accounting teacher. Explain GST to a beginner in 5 short bullet points" gets exactly what you need. Prompt writing is just being clear.

Why the prompt matters

ChatGPT gives you back the quality you put in. It can't read your mind, so if you're vague, it guesses, and usually gives a generic, textbook answer. Add detail and the reply gets sharp. The good news: you don't need special words, just clear instructions.

The prompt formula

PartWhat it meansExample
RoleWho ChatGPT should act as"You are a hiring manager."
TaskThe exact thing to do"Write 5 interview questions."
ContextBackground it needs"For a fresher data-entry job."
FormatHow the answer should look"As a numbered list."

Put together: "You are a hiring manager. Write 5 interview questions for a fresher data-entry job, as a numbered list."

Weak vs strong prompts

WeakStrong
"Write an email.""Write a polite email to my manager asking for two days' leave next week for a family function. Keep it under 80 words."
"Explain Excel.""Explain what VLOOKUP does in Excel to a beginner, with one simple example."
"Give resume tips.""Give 5 resume tips for a fresher applying for an accountant job in India."

The strong versions all add role, detail, and a format.

Step by step: build a prompt

  1. Decide the role ("You are a…").
  2. State the task clearly (one main thing).
  3. Add context (who it's for, any details, the situation).
  4. Say the format (bullets, a table, word count, tone).
  5. Send it, then refine: "make it shorter", "add an example", "more formal".

Worked example

Weak: "make notes on computer basics" Strong: "You are a computer teacher. Make short revision notes on computer basics for a beginner student, covering input devices, output devices and storage. Use simple language and bullet points."

The strong prompt gives organised, beginner-friendly notes you can use straight away.

Handy add-ons

  • Set the tone: "friendly", "formal", "simple English".
  • Set the length: "in 100 words", "in 5 bullets".
  • Give an example: "here's my style: [paste]. Match it."
  • Ask for options: "give me 3 versions to choose from."

Pro tips

  • One clear task per prompt beats cramming five requests into one.
  • If the answer misses, tell ChatGPT what was wrong instead of starting again.
  • Save prompts that work well; you'll reuse them often.

Common mistakes

  • Being too vague. "Write something about jobs" gives you nothing useful.
  • No format. Without "as a list" or "in 100 words", you get a wall of text.
  • Not refining. The first answer is a draft. Push it to improve.

Key takeaways

  • Use Role + Task + Context + Format.
  • Be specific about who it's for and how the answer should look.
  • One main task per prompt.
  • Refine the reply instead of restarting.

Practice task

Take the vague prompt "write a cover letter" and rewrite it using the formula: add a role, the job you're applying for, your background, and the length. Send both versions to ChatGPT and compare the results.

Learn to use AI for real office tasks in the ADCA (AI Integrated) program at HCI.

Frequently Asked Questions

How do I write a good ChatGPT prompt?

Use the formula Role + Task + Context + Format: tell ChatGPT who to act as, what to do, the background, and how the answer should look.

Why does ChatGPT give me generic answers?

Usually because the prompt is too vague. Add detail: who it's for, the situation, the tone and the format you want.

What is prompt engineering?

Prompt engineering is the skill of writing clear instructions so an AI gives useful, accurate answers. For most tasks, being specific is enough.

Can I ask ChatGPT to rewrite its answer?

Yes. Tell it what to change, like "make it shorter", "more formal", or "add an example", and it will revise the reply.

Should I put everything in one prompt?

Keep one main task per prompt for the clearest result. You can ask follow-up prompts to build on the answer.

Need help? Chat with us!