The 5 Pillars of Great Prompts
The 5 Pillars of Great Prompts
After thousands of tests with ChatGPT, Claude, and Gemini, five elements consistently separate great prompts from mediocre ones. Master these five pillars and you will get better results than 95% of AI users.
Pillar 1: Role (The Persona)
The single most impactful change you can make to any prompt is assigning a role to the AI.
Why it works: LLMs are trained on billions of texts from every domain. When you assign a role, you activate a specific cluster of knowledge, tone, and approach. "You are a cardiologist" pulls different patterns than "You are a fitness blogger" — even for the same question about heart health.
Without role: "Explain machine learning"
→ Gets a textbook-style, generic explanation
With role: "You are a senior ML engineer at Google who
explains complex concepts to junior developers using
real-world analogies and practical code examples."
→ Gets an accessible, practical explanation with code
Power roles to try:
- "You are a senior [job title] with [X] years of experience in [domain]"
- "You are a [role] known for [specific quality]"
- "You are a [role] at [company type] working on [problem type]"
Pillar 2: Context (The Situation)
Context is the background information the AI needs to give you relevant answers. Without context, the model guesses — and guesses wrong.
Without context: "Write a marketing email"
→ Gets a generic template
With context: "I run a B2B SaaS company selling project management
software to construction companies with 50-500 employees. Our
average deal size is $15K/year. Our main competitor is Procore.
Write a cold outreach email targeting construction project managers."
→ Gets something you could actually send
What to include in context:
- Who you are and your goal
- Who the audience is
- Relevant background information
- What you've already tried
- Any constraints you're working within
Pillar 3: Task (The Request)
The task is the actual instruction — and precision here matters enormously.
Weak task words: "Write about", "Tell me", "Help with"
Strong task words: "Analyze and identify", "Write a [specific type] that [specific goal]", "Create a [format] with [specific elements]", "Compare X and Y across [specific dimensions]"
Weak: "Help me with my resume"
Strong: "Review my resume for a senior product manager role
at a Series B fintech startup. Identify: (1) three specific
weaknesses, (2) two achievements that need stronger metrics,
(3) whether my summary matches a PM profile. Format as a
numbered list with specific suggested rewrites."
Pillar 4: Format (The Structure)
Explicitly specifying format is one of the most underused tactics in prompt engineering. The AI has no idea what format serves you — unless you tell it.
Common format specifications:
- Length: "In under 200 words", "In exactly 5 bullet points"
- Structure: "As a numbered list", "In a markdown table", "As JSON"
- Style: "In plain English", "Using technical terminology", "Conversational tone"
- Sections: "With an intro, three main points, and a conclusion"
"Return the analysis as a JSON object with this exact structure:
{
'strengths': ['string', 'string', 'string'],
'weaknesses': ['string', 'string'],
'recommendation': 'string',
'confidence': number // 0-100
}"
This is especially critical when you're feeding AI output into other systems or code.
Pillar 5: Constraints (The Rules)
Constraints tell the AI what NOT to do — and they're just as important as telling it what to do.
Common constraints:
- Word/length limits: "Maximum 150 words"
- Tone restrictions: "Do not use jargon", "Avoid corporate buzzwords"
- Content rules: "Do not include pricing", "Cite sources for all statistics"
- Format rules: "No bullet points", "No headers"
Write a product description for noise-canceling headphones.
Constraints:
- Do NOT use "revolutionary", "game-changing", or "amazing"
- Do NOT use superlatives
- Maximum 100 words
- Focus only on sound quality and comfort
- Target audience: commuters who value focus
The Complete Formula
Combining all five pillars:
You are [ROLE] with expertise in [DOMAIN].
Context: [Background information]
Task: [Specific request with action verb]
Format: [How the output should look]
Constraints:
- [Rule 1]
- [Rule 2]
- [Rule 3]
Practice: Apply All 5 Pillars
Take any task you regularly use AI for and rebuild the prompt using all five pillars. Compare the result with your old prompt. The difference will be immediate and significant.
Example transformation:
Before: "Write a blog post about productivity"
After: "You are a productivity writer for busy tech professionals. Context: My audience are software engineers who work remotely and struggle with context-switching. Task: Write a 700-word blog post about the 'time-blocking' technique with a specific implementation guide for developers. Format: Introduction hook, 3 main sections with H2 headers, practical tips section, strong CTA. Constraints: No generic advice, use developer-specific examples, avoid the word 'simply'."
In the next lesson, we dive deep into Role-Based Prompting — the single most powerful individual technique.
Get this course's notes on Telegram!
Free cheat sheets, summaries & practice exercises