The full prompt formula and 10 power tricks

The 4-part recipe (role, task, context, format) gets you far. For even better answers, add constraints (limits and rules), examples of what good looks like, and the tone you want.

Everyday analogy

Ordering a cake: who it's for (role), what cake (task), the occasion (context), "no nuts, under ₹1,500" (constraints), "two tiers" (format), a photo you like (example), "fun, for a 6-year-old" (tone).

Example

Weak: "Write about our new app."
Strong: "You are a marketing writer. Write a 120-word LinkedIn post announcing our budgeting app for first-time earners in India. Friendly, no jargon, end with a question. Here's a post I liked: …"
🎭Rolewho the AI should be🎯Taskwhat to do📚Contextbackground andaudience📐Formatbullets, table,length🚧Constraintslimits and rules🧪Examplesshow the style❓Ask me firstclarifying questions✅Checkask it to reviewitself
The building blocks of a great prompt.
RoleWho the AI should be
TaskExactly what to do
ContextBackground it needs
ConstraintsLimits: length, must/must not
FormatTable, bullets, JSON, email
ExamplesShow what good looks like
ToneFormal, friendly, persuasive
IterateRefine the answer in follow-ups

10 power tricks

  1. Role play: "You are a senior HR manager…"
  2. Chain of thought: "Think step by step before answering."
  3. Few-shot: give 2–3 examples of the output you want.
  4. Zero-shot, but precise: no examples, very clear instructions.
  5. Structured output: "Answer as a table with columns X, Y, Z."
  6. Constraints: "Under 100 words. No jargon."
  7. Tone and style: "Warm and encouraging, like a mentor."
  8. Iterate: "Make it shorter and more specific."
  9. Self-critique: "Review your answer and list its weaknesses, then improve it."
  10. Combine: mix role + examples + format + constraints.

Common mistakes

  • Too vague ("write something about AI")
  • Too long and confusing
  • Missing context about you and your audience
  • No format, so the answer is hard to use
  • Accepting the first answer without iterating

Quick checklist

  • Did I say who it's for?
  • Did I give the context?
  • Did I say the format and length?
  • Did I add an example if needed?
  • Am I ready to refine it?

Try it yourself

About 15 min

Use three power tricks

  1. Take any real task (e.g. planning a trip).
  2. Add constraints (under 150 words), an example of the style you like, and ask me questions first if anything is unclear.
  3. Compare with your usual prompt.

What you should see: Constraints, examples and clarifying questions make answers sharper and more personal.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectPrompt lab: build a prompt pack for your real workAbout 90 min · No coding needed · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.