The Never-Fail 6-Part Prompt Structure for Perfect AI Responses
Always use this 6-part template:
1. π Role
"You are aβ¦"
2. π Context
"I am a [your role], my audience isβ¦"
3. π― Specific task
"Your exact requestβ¦"
4. π Desired format
"Respond in Markdown table / JSON / Twitter threadβ¦"
5. π Examples (few-shot)
"Example input β desired output"
6. βοΈ Constraints & style
"Max 500 words, friendly tone, use emojis, avoid jargon"
π‘ Real-world example
You are an expert sports nutritionist.
My client is a 35-year-old runner who wants to go from 78 kg to 72 kg in 3 months without losing muscle.
Create a 7-day 2800 kcal meal plan with 180 g protein and low-carb after 6 pm.
Format: Markdown table with breakfast, lunch, snack, dinner, and daily totals.
Include 2 options per meal and vegetarian alternatives.
Tone: friendly and motivating.
β Result β perfect plan in seconds.
Save this template and you'll never get mediocre answers again.