Prompt Foundations
The principles that make everything else work
The art and science of communicating with AI models to reliably get the outputs you need — every time.
Prompt engineering is the practice of designing, structuring, and refining the inputs you give to AI language models to produce specific, high-quality outputs. It sits at the intersection of communication, psychology, and systems thinking.
Why It Matters in 2026
- Unlocks 10× better outputs from the same model
- Saves hours of back-and-forth iteration
- Makes AI genuinely usable for complex professional work
- Transfers across all current AI tools and platforms
Understanding what happens under the hood changes how you write prompts — permanently.
AI language models don't "understand" your prompt the way a human would. They predict the most statistically likely next token based on patterns learned from billions of text examples. Your prompt is a probability-steering mechanism.
What This Means Practically
- Word choice matters enormously — "analyse" vs "explain" vs "critique" activate very different response patterns
- Order matters — content at the start and end of a prompt is weighted more heavily than the middle
- The model completes your pattern — if your prompt reads like a formal report, the response will too
- Context primes behaviour — "You are an expert" genuinely shifts outputs toward more expert-level responses
- Ambiguity gets filled with averages — wherever your prompt is vague, the model fills in the most common response it has seen. Specificity overrides the default.
The Token Prediction Loop
Why This Changes How You Prompt
- More specific prompts = narrower probability space = more targeted outputs
- Examples directly show the model what output distribution to aim for
- Constraints and negatives eliminate certain response paths entirely
- Role prompting shifts the statistical "voice" the model draws from
Every effective prompt — no matter how complex — is built from 4 building blocks.
1. Role
Activates a specific persona and knowledge domain. Shifts tone, vocabulary, and priorities.
2. Task
The specific action — write, analyse, summarise, compare. Be verb-precise. "Write" ≠ "Draft" ≠ "Outline".
3. Context
Background information, constraints, audience, stakes. The more relevant context, the more targeted the output.
4. Format
Bullet list, table, numbered steps, JSON, prose, 300 words max. Always specify if you have a preference.
Role: You are a conversion copywriter Task: Write a product description Context: For a $997 online course on financial freedom targeting burnt-out professionals aged 35–50 Format: 150 words, punchy paragraphs, no bullet points
Vague prompts get vague answers. This is the single most impactful habit you can build.
Write me a bio.
Write a 3-sentence professional bio for my LinkedIn profile. I'm a brand strategist with 8 years experience helping D2C brands in fashion and wellness. Tone: confident but warm. Speak in first person. End with a subtle CTA to connect.
Great outputs rarely come on the first try. Learn how to iterate systematically.
How to Diagnose a Bad Output
- Too generic? Add more specific context or examples
- Wrong tone? Describe the feeling you want more precisely
- Too long/short? Add explicit length constraints
- Off-topic? Break the task into smaller steps
When an output is 70% of the way there, don't start over. Tell the model exactly what to change: "This is great. Now make the opening more urgent, tighten the second paragraph, and remove the last sentence."
Anatomy of a Prompt
Dissecting what makes prompts work
Assigning a specific identity to the AI activates the right knowledge, tone, and style for your task.
You are a McKinsey consultant specialising in digital transformation for mid-market companies.
You are a senior full-stack engineer who writes clean, well-documented TypeScript. You always consider edge cases and performance.
"You are a UX researcher with a background in behavioural psychology, reviewing this app onboarding flow."
Understanding the difference unlocks how to build consistent, reusable AI behaviours.
System Prompt
The persistent instruction layer — sets personality, rules, knowledge scope, and default behaviour before every user message.
// Runs before every conversation
You are a customer success specialist for
DreamMaker CRMx. You help coaches and consultants
maximise their use of the platform. You are
warm, solution-focused, and knowledgeable.
Never discuss competitor products.When to Use Which
- Persistent behaviour → System prompt
- One-time task → User prompt
- Brand voice → System prompt
- Specific question → User prompt
AI doesn't "remember" the way humans do. Understanding context windows changes how you structure long interactions.
A context window is the total amount of text an AI can hold in mind at once — including instructions, conversation history, and its outputs. In 2026, most frontier models have 128k–2M token windows.
The "Lost in the Middle" Problem
Research shows models pay the most attention to the beginning and end of a context window. Put critical instructions first — not buried in the middle.
Core Frameworks
Proven formulas for common prompt types
The most complete all-purpose prompt structure for professional outputs.
Role: You are a direct response copywriter with 15 years of email marketing experience. Instruction: Write a welcome email sequence. Steps: Email 1 = warm intro, Email 2 = your story, Email 3 = first offer reveal. End Goal: Convert new subscribers to a $297 course. Narrowing: Each email max 250 words. Conversational. No corporate jargon. CTA in each email.
Popular in technical and analytical contexts — adds insight style and experiment parameters.
Capacity: Expert market analyst Role: Advising a startup founder Insight: The market is saturated but the founder has a strong community Statement: Identify 3 differentiation strategies Personality: Direct, data-informed, no fluff Experiment: Give me 2 versions: optimistic and conservative outlook
Lightweight and fast — perfect for quick, high-quality content tasks.
Action: Write a LinkedIn post Purpose: To position me as a thought leader in business coaching Expectation: 200 words, 1 strong insight, ends with a question to drive comments
Results-first thinking — keeps the AI focused on the outcome, not just the process.
Task: Create a product launch plan Action: Include pre-launch, launch day, and 30-day post-launch phases Goal: Drive 50 sales in the first week for a $197 digital product
Intermediate Techniques
Where good prompts become great ones
Show the AI examples of what you want. One example = few-shot. It works better than almost any instruction.
Rather than describing what you want, demonstrate it. Provide 1–3 examples — the AI recognises the pattern and replicates it.
Write a subject line for each email below. Match this style: punchy, curious, no clickbait. Example: Email: "We're launching a new feature next week" Subject: "Something new is coming (you'll want this)" Now write for: Email: "Our prices are going up next month" Email: "We just hit 10,000 customers"
Tell the AI to think step-by-step before answering. Dramatically improves logic, analysis, and multi-step problems.
Before answering, think through this step by step. Show your reasoning process, then give your conclusion.
CoT Variants
- Zero-shot CoT: Just add "Let's think step by step"
- Few-shot CoT: Show example reasoning chains
- Self-consistency CoT: Ask for 3 independent analyses, then synthesise
Add boundaries, rules, and exclusions to tightly control output quality and scope.
Write a Twitter/X thread about time management. - Exactly 7 tweets - Each tweet max 240 characters - Start with a bold claim (not a question) - No hashtags - No self-promotion or CTAs - Write for founders, not students
How to reliably reproduce the exact voice and feeling you need across any piece of content.
Tone Descriptor Bank
- Direct, no fluff, zero corporate speak
- Warm and encouraging, like a mentor
- Confident without arrogance
- Conversational — write how a smart person talks
- Urgent but not fear-based
- Dry wit — smart observations, no punchlines
The right output format can save hours of reformatting. Learn to get exactly the structure you need.
Return your response as a JSON array. Each item should have: - "title": string - "description": string (max 50 words) - "difficulty": "easy" | "medium" | "hard" - "time_estimate": string No explanation, just the JSON array.
Use this exact format for each idea: 💡 IDEA NAME Problem it solves: [one sentence] Target user: [describe them] Revenue model: [one sentence] Why now: [one sentence] Risk: [one sentence]
Tell the AI what NOT to do. Exclusion instructions are often more powerful than inclusion instructions.
Avoid all of the following:
- Sycophantic openers ("Absolutely!", "Great idea!")
- Hedging language ("it might be", "perhaps consider")
- Corporate buzzwords (synergy, leverage, scalable)
- Lists when prose reads better
- Padding to reach a word countAdvanced Strategies
Techniques for complex, multi-step outputs
Break complex tasks into a sequence of smaller prompts where each output feeds the next.
Step 1 — Research: "Analyse this product. Identify the top 5 objections a sceptical buyer would have." Step 2 — Structure: "Using these objections [paste Step 1], create a sales page outline that addresses each at the right moment." Step 3 — Write: "Write Section 1 of this sales page using the outline." Step 4 — Refine: "Punch up the headline, make the opening more emotionally resonant, tighten to 120 words."
Ask the AI to explore multiple reasoning paths simultaneously before choosing the best one.
Imagine 3 different experts approaching this problem. Each expert should: 1. State their mental model / approach 2. Work through the problem using their method 3. Arrive at a conclusion Then, as a meta-analyst, identify which approach produced the best reasoning and synthesise a final recommendation. Problem: [your problem here]
Have the AI critique its own output, then improve it — without you needing to identify what's wrong.
Round 1: "Write a cold email for [ask]" Round 2: "Rate this email 1–10 on: (1) clarity of value proposition, (2) personalisation, (3) CTA strength. List the 3 biggest weaknesses." Round 3: "Rewrite the email addressing all 3 weaknesses. Don't change what was already strong." Round 4: "Now make it 20% shorter without losing impact."
Paste in documents, data, or transcripts as context. Ground the AI in your specific reality, not general knowledge.
I'm going to give you reference material.
Use ONLY the information below to answer.
Do not use your general training data.
If the answer isn't in the document, say so.
--- DOCUMENT START ---
[paste your document, transcript, data]
--- DOCUMENT END ---
Based only on the above, [your question or task]What to Paste In
- Customer interview transcripts → generate insights
- Your past emails → match your writing style
- Competitor website copy → analyse positioning
- Meeting notes → create action items or summaries
Expert-Level Systems
Building AI that works at scale
Stop writing prompts from scratch. Build a library of battle-tested prompts for every recurring task in your business.
Prompt Name: Weekly Content Brief Version: v2.3 Last Updated: March 2026 Works Best In: Claude, GPT-4o Variables: [BRAND], [AUDIENCE], [THEME_MONTH] Prompt: --- [Full prompt text here with [VARIABLES] marked] --- Notes: Works best with 2 examples provided.
Design prompts that give the AI autonomy to plan, execute, and self-correct across multi-step tasks.
OBJECTIVE: [Clear end goal with success criteria] TOOLS AVAILABLE: - Web search - Code execution - File read/write PROCESS: 1. Before starting, state your plan 2. Work step by step 3. After each step, evaluate: am I on track? 4. If stuck, try an alternative approach (max 2) 5. When done, summarise what you did and why CONSTRAINTS: - [List hard rules the agent must not violate] OUTPUT: - [Exact format of the final deliverable]
Systematically test prompt variations to find what actually works for your use case.
What to Test
- Role framing (specific vs general)
- Instruction position (beginning vs end)
- Number of examples (0 vs 1 vs 3)
- Chain-of-thought vs direct answer
Use AI to generate, improve, and optimise your prompts. Prompt the AI to prompt itself.
Here is a prompt I've been using: --- [paste your current prompt] --- Analyse its weaknesses. Then rewrite it to be clearer, more specific, and more likely to produce consistent high-quality output. Explain each change.
Professional Use Cases
Domain-specific prompt playbooks
Prompts for social posts, emails, blogs, sales pages, ad copy, and brand voice.
Brand Voice Extraction
Analyse the writing samples below and extract a brand voice guide. Include: tone descriptors (5 words), sentence structure patterns, vocabulary style, what to avoid, and a "sounds like / doesn't sound like" contrast table. [paste 3–5 examples of your existing content]
Content Repurposing Engine
Transform this [blog post / podcast transcript] into: 1. A LinkedIn post (200 words, hook + 3 insights + CTA) 2. 5 standalone Twitter/X posts 3. An email newsletter intro (150 words) 4. A short-form video script (60 seconds, spoken word) Source: [paste your content]
Prompts for code generation, debugging, documentation, and architecture decisions.
Debugging Assistant
I have a bug. Here's the context: - Expected behaviour: [what should happen] - Actual behaviour: [what is happening] - Error message: [paste error] - Relevant code: [paste code] - What I've already tried: [list attempts] Diagnose the most likely cause. Then provide a fix. If multiple causes are possible, rank them by likelihood.
Prompts for market analysis, business plans, competitive research, and decision-making frameworks.
Decision Framework
Help me make a decision using second-order thinking. Decision: [describe it] Option A: [describe] Option B: [describe] For each option, identify: - Immediate consequences (6 months) - Secondary effects (1–2 years) - Worst-case scenario - What's irreversible vs reversible Then give me your recommendation with reasoning.
Accelerate understanding of any subject — from first principles to mastery-level nuance.
Feynman Technique Prompt
Explain [topic] to me as if I'm a smart 12-year-old. Then explain it again assuming I'm a professional in an adjacent field. Flag the most commonly misunderstood aspects.
Socratic Drilling Prompt
I want to deeply understand [topic]. Don't give me a lecture. Ask me a series of increasingly challenging questions, one at a time. After each answer, identify gaps and guide me forward. Start with the most fundamental question.
Prompts for proposals, follow-ups, objection handling scripts, and client onboarding materials.
Objection Handling Script
I sell [product/service at price point] to [audience]. The most common objection I hear is: "[exact objection]" Write 3 different responses: 1. The empathetic reframe 2. The data/proof response 3. The questions-back approach Each response max 60 words. Natural conversation tone.
Use AI as a thinking partner for personal growth, goal-setting, and decision clarity.
Goal Clarity Prompt
I have this goal: [state your goal] Help me stress-test it: 1. Is this actually MY goal, or someone else's? 2. What does success feel like, not just look like? 3. What would I have to give up to achieve this? 4. What's the smallest 30-day version of this goal? 5. What's the fear underneath the goal?
Model-Specific Tips
Getting the best out of each major AI
Claude excels at nuanced reasoning, long-form writing, complex instructions, and honest analysis.
Claude Strengths
- Extremely precise instruction-following — use detailed prompts
- Excellent at nuanced tone calibration
- Strong at multi-step reasoning and self-correction
- Best-in-class at long documents (200K+ tokens)
Tips Specific to Claude
- Use XML tags for structure: <instructions>, <context>, <examples>
- Respond well to clear reasoning about WHY you need something
- Ask "What would make this answer better?" — Claude self-critiques well
<role>You are a senior brand strategist</role> <context> Working with a coaching business targeting burnt-out corporate professionals. </context> <instructions> Write a positioning statement following the "Only we..." framework. </instructions> <constraints> Max 40 words. No buzzwords. Test against: "would a competitor also claim this?" </constraints>
GPT models shine at code generation, structured JSON outputs, and vision tasks.
GPT Strengths
- Extremely reliable JSON/structured output generation
- Strong codebase understanding and generation
- GPT-o3 particularly strong at deep reasoning tasks
Gemini Ultra excels at multi-modal tasks, real-time search grounding, and Google Workspace integration.
Gemini Strengths
- Native Google Search integration — real-time facts
- Outstanding at image, video, and audio understanding
- Deep Workspace integration (Docs, Sheets, Gmail)
- 2M context window — best for massive document analysis
Common Mistakes
What separates pros from beginners
Avoid these and you'll instantly outperform 90% of AI users.
- 1. No context about the audience — The AI writes for a generic reader. Always specify who will read the output.
- 2. Asking multiple unrelated things at once — Creates unfocused output. One task per prompt.
- 3. No format instruction — The AI guesses the structure. Be explicit.
- 4. Accepting the first output — First drafts are starting points. Always iterate.
- 5. Treating the AI as a search engine — Ask it to think, analyse, create.
- 6. Not providing examples — Description alone rarely captures what you actually want.
- 7. Asking leading questions — "Isn't X better than Y?" primes the AI to agree.
- 8. Ignoring the system prompt — Setting persistent context saves enormous time.
- 9. No length guidance — Default length is almost never what you need.
- 10. Vague success criteria — If you can't define what a good output looks like, neither can the AI.
AI models can confidently state wrong information. Here's how to minimise and catch it.
Prevention Techniques
- Ask: "If you're not certain, say 'I'm not sure — verify this'"
- Provide source documents for grounding (RAG)
- Ask the AI to cite sources for any specific claim
- For statistics/numbers: "Only include figures you're highly confident in"
Be precise about your confidence level. Use: - "Definitely:" for well-established facts - "Likely:" for things you're mostly sure about - "Uncertain — verify:" for anything you're not fully confident in Never fabricate statistics, names, or dates.
Quick Cheat Sheet
The essentials at a glance
Master Prompt Template
Copy this. Fill in the blanks. Use it for 80% of your professional prompts and watch your outputs transform.
Copy, adapt, and use this template for any professional task.
You are [specific role with relevant expertise]. TASK: [clear verb + what you need] CONTEXT: - Audience: [who will read/use this] - Purpose: [why this is needed] - Background: [relevant information] - Constraints: [what to avoid / limits] OUTPUT FORMAT: - Structure: [list / prose / table / JSON] - Length: [specific word/item count] - Tone: [describe the voice] EXAMPLES: [Optional: 1–2 examples of what you want] QUALITY BAR: A great output would [describe success criteria]. Please flag any assumptions you're making.
Which technique to use when — at a glance.
- General task: RISEN or APE framework
- Analytical task: Chain-of-Thought + Tree of Thought
- Match a style: Few-shot with 2–3 examples
- Long project: Prompt Chaining
- Improve output: Self-Critique Loop
- Use your data: Manual RAG (paste document)
- Build AI tools: System prompt + Prompt Library
- Better prompt: Meta-Prompting
These phrases reliably improve AI outputs when added to any prompt.
- "Think step by step" → activates careful reasoning
- "Before answering, identify your assumptions" → surfaces hidden logic
- "Rate the quality of your response and improve it" → instant self-edit
- "What am I missing?" → gap analysis on any plan
- "Give me the contrarian view" → balanced analysis
- "Be concise. Cut anything that doesn't add value" → removes fluff
- "What would make this 2× better?" → upgrade prompt
- "If you were the reader, what would confuse you?" → clarity test