The 6-Part Prompt Formula (With Copy-Paste Examples)

By Sanket Mahind · 19 Nov 2026 · 2 min read prompt engineering course template

6 part prompt formula role context task example format limits

In lesson 1 we said: brief the AI like a new intern. This lesson gives you a checklist so you don't have to think about it every time.

You don't need all six parts in every prompt. A quick question needs one or two. Anything important — a resume, a business post, a photo you'll actually upload — use all six.

1. Role — who should answer?

"You are an experienced HR manager" or "You are a patient Class 8 science teacher". The role changes vocabulary, tone and what the AI pays attention to.

2. Context — what's the situation?

Who you are, who it's for, what's already done. Two or three lines is plenty. "I'm a final-year B.Com student in Jaipur applying for my first accounts job. No experience except a 2-month internship."

3. Task — what exactly do you want?

One clear verb. Write, rewrite, compare, summarise, list, plan, edit. If you have three tasks, consider three messages.

4. Example — show, don't describe

Paste one sample of what "good" looks like for you: an old caption you liked, a paragraph in your style, a format you've seen. This is the most underused part — and often the most powerful.

5. Format — what shape should the answer be?

Table, 5 bullets, 3 options, under 80 words, in Hinglish, as a WhatsApp message, with headings. Think about what you'll do with the answer and ask for that shape.

6. Limits — what to avoid?

"No emojis." "Don't invent numbers." "Don't change my face." "Avoid words like leverage and synergy." Saying what you don't want saves a lot of back-and-forth.

Full example: a resume summary

📋 Prompt

You are an HR manager who hires freshers for accounts roles.
Context: I'm a final-year B.Com student from Jaipur. I did a 2-month internship at a CA firm doing GST filing and Tally entries. I'm good with Excel.
Task: Write the summary section for my resume.
Example of the tone I like: "Detail-focused commerce graduate who enjoys making numbers add up."
Format: 3 options, each 2 lines max.
Limits: No fake achievements, no buzzwords, simple English.

Full example: a photo edit

The same formula, translated for images:

  • Role → style ("professional wedding photographer")
  • Context → the photo you upload, and what to keep
  • Task → the change
  • Example → a reference photo, if you have one
  • Format → aspect ratio (9:16 for reels, 4:5 for posts)
  • Limits → "keep my face exactly the same, no extra people"

📋 Prompt

Style: professional wedding photographer, warm and natural.
Using my uploaded photo, keep my face, expression and hairstyle exactly the same.
Change my outfit to a deep maroon Banarasi saree with gold border and add a softly lit haveli courtyard background with marigold garlands.
Golden-hour light, shallow depth of field, 85mm portrait look.
Vertical 4:5. No extra people, no text, no change to face shape or skin tone.

Try it yourself

Use the prompt builder on our course page — fill the six boxes and it assembles the prompt for you.

Next: the 10 tricks that work in every AI tool.