Level 0Lesson 5⏱️ 55 min

Prompt Engineering 101

Advanced prompting techniques that dramatically improve results

👩‍🏫 Teacher👨‍⚕️ Healthcare🎓 Student⚙️ Engineer💻 Developer💼 Business

Section 1: Why Prompting Is a Skill

The difference between a mediocre AI response and an excellent one usually isn't the AI—it's how you ask. Here's the proof.

WEAK PROMPT

PROMPT
Write a business email

Result: Generic, formal, sounds like every other corporate email.

No context. No audience. No tone. AI guesses and gets it wrong.

ENGINEERED PROMPT

PROMPT
You are a professional business writer. Write a brief, friendly email from a project manager to a client explaining a 2-week delay in deliverables. The client is generally understanding but values transparency. Tone: apologetic but confident. Length: 3 short paragraphs. End with a concrete next step.

Result: Personal, appropriate tone, actually ready to send.

Everything specified: role, task, audience, tone, length, structure.

The pattern: Same model, same AI, completely different output. Better prompting = better results. It's a learnable skill.

Section 2: Zero-Shot Prompting

Zero-shot means: "I'm asking you something you weren't explicitly trained on, with no examples." AI tries to figure it out from general knowledge.

When to use Zero-Shot:

  • Simple, straightforward requests
  • Asking for something common (writing, explaining, analyzing)
  • You're not sure what you want yet (brainstorming)

The limitation:

AI has to guess your style, format, tone, and depth. It might get it wrong.

Three Zero-Shot Examples:

Example 1: Simple Question

PROMPT
What's the difference between machine learning and deep learning?

Good for: Quick facts, explanations, summaries

Example 2: Open-Ended

PROMPT
Give me ideas for improving customer retention at an e-commerce company.

Good for: Brainstorming, generating options

Example 3: Creative Task

PROMPT
Write a funny poem about procrastination.

Good for: Creative work, when you don't care about the exact format

Pro tip: Zero-shot is fast and often good enough. Don't over-engineer every prompt. But when you need something specific, move to few-shot or chain-of-thought.

Section 3: Few-Shot Prompting

Few-shot means: "Here are examples of what I want. Now do more of that." It's more powerful than zero-shot because AI sees the pattern.

When to use Few-Shot:

  • You have a specific style or format you want copied
  • You've done something once and want consistency
  • Zero-shot got close but wasn't quite right

Why it works:

AI is a pattern-matcher. Showing it 2-3 examples is like saying "here's the pattern I want"—much clearer than describing it.

Example: Product Descriptions

Here are 2 example product descriptions (your style):

Example 1
Ceramic Coffee Mug | 12oz capacity | Microwave and dishwasher safe | Heat-resistant glaze | Color: Ocean Blue
Example 2
Bamboo Cutting Board | 18" x 12" | Sustainably harvested | Naturally antibacterial | Knife-friendly surface | Perfect for prep and serving

Notice: short, benefit-focused, includes key details, uses pipes to separate specs, conversational but professional.

Now the prompt:

PROMPT
Write a product description for a stainless steel water bottle in the same style as the examples above. Include: capacity, material, key features, and one lifestyle benefit. Keep it concise.

The magic: AI sees the pattern—brief, benefit-focused, feature-structured—and copies it for the new product. Without examples, it might write a paragraph. With examples, it nails your style.

Section 4: Chain-of-Thought Prompting

Chain-of-thought means: "Think step by step before you answer." It forces AI to work through complex problems methodically instead of guessing.

When to use Chain-of-Thought:

  • Logic puzzles or reasoning problems
  • Multi-step decisions
  • Math or analysis questions
  • Anything where the answer is "it depends"

Example: Without Chain-of-Thought

❌ Without CoT

PROMPT
A farmer has 12 cows. He sells 3 and buys 5. A cow costs $800 to feed per year. How much does he spend on cow feed annually?

AI might answer: "He spends $9,600 annually." (Wrong—it's $12,800 for 14 cows)

Example: With Chain-of-Thought

✓ With CoT

PROMPT
Solve this step by step: A farmer has 12 cows. He sells 3 and buys 5. A cow costs $800 to feed per year. How much does he spend on cow feed annually? Think through: 1) Current herd size, 2) After selling and buying, 3) Total feed cost.

AI works through: 12 - 3 + 5 = 14 cows. 14 × $800 = $11,200. Correct!

💡
Magic Words for Chain-of-Thought
Just add these phrases to any complex prompt:
  • "Think step by step"
  • "Work through this carefully"
  • "Show your reasoning"
  • "Break this into steps: 1) ... 2) ... 3)"
Accuracy often jumps 15-25% with just these phrases.

Section 5: Role Prompting

Give AI a role with deep expertise, and it'll answer from that perspective. Same question, different expert = different (and often better) answers.

The Magic Phrase:

"You are an expert [field] with 20 years of experience who explains complex things simply and practically."

Example: Same Task, Four Different Roles

Task: "Explain what makes a good website."

Financial Advisor's Answer

PROMPT
You are a financial advisor. What makes a good website for a financial services company?

Focus: Trust, security, compliance, conversions

Skeptical Journalist's Answer

PROMPT
You are a skeptical journalist. What makes a good website? Be critical.

Focus: Credibility, sourcing, bias, manipulation tactics

UX Designer's Answer

PROMPT
You are a UX designer. What makes a good website?

Focus: Usability, accessibility, flow, user journey

Stand-Up Comedian's Answer

PROMPT
You are a stand-up comedian. What makes a good website? Be funny.

Focus: Absurd design trends, user frustrations, humor

Why it works: Each role has different priorities and knowledge. A financial advisor thinks about trust and security. A comedian thinks about what's ridiculous. Role shapes the answer.

Section 6: System Prompts & Custom Instructions

Instead of repeating context in every prompt, set up "standing instructions" that apply to all your conversations. It's like configuring AI once, then using it forever.

What They Are:

  • System Prompt: A persistent instruction that shapes every response
  • Custom Instructions: Available in ChatGPT and Gemini (called "Gems")
  • Claude Projects: Project Instructions in Claude (same idea)

Where to Set Them:

  • Claude: Create a "Project" → "Project Instructions"
  • ChatGPT: Settings → "Custom Instructions" (free tier)
  • Gemini: Create a "Gem" and set instructions there

Example Personal System Prompt:

SYSTEM PROMPT TEMPLATE
I am a [your profession] working in [industry/context]. My main goals when using AI: [goal 1], [goal 2], [goal 3] Communication style I prefer: [bullet points or prose], [formal/casual], [brief/detailed] Always: [things AI should always do] Never: [things AI should never do] When uncertain: [tell me / make your best guess and note it]

Real Example for a Marketing Manager:

REAL SYSTEM PROMPT
I am a marketing manager at a B2B SaaS startup. My main goals: improve our email campaigns, write clear product copy, develop customer research insights Communication style I prefer: bullet points, professional but conversational, concise (no fluff) Always: fact-check claims before including them, ask clarifying questions if my request is vague, suggest alternatives Never: use marketing clichés like "game-changing" or "revolutionary", assume our customers are highly technical When uncertain: ask me which direction I'd prefer

The payoff: After setting this up once, every conversation with AI is automatically tuned to your needs. You never have to repeat context. It's worth 10 minutes to set up.

Section 7: Five Universal Prompt Templates

Copy-paste these templates and fill in the blanks. They work across all professions.

1. The Explainer

PROMPT
You are [role]. Explain [topic] to [audience] in [length]. Use [analogy style]. Avoid [jargon/assumptions].

Use for: Teaching, simplifying complexity, writing guides

2. The Writer

PROMPT
Write a [type] [format] about [topic] for [audience]. Tone: [tone]. Length: ~[words]. Include: [specific elements].

Use for: Drafting content, emails, proposals, articles

3. The Reviewer

PROMPT
Review this [type] and: 1) Identify errors or weak points, 2) Suggest 3 improvements, 3) Rate it 1-10 for [criteria]. Here: [paste content]

Use for: Getting feedback, quality control, stress-testing ideas

4. The Planner

PROMPT
Create a [timeframe] plan to achieve [goal]. Constraints: [list]. Output as numbered list with brief descriptions.

Use for: Project planning, organizing work, creating schedules

5. The Analyst

PROMPT
Analyze: [text/data]. Tell me: [questions]. Be specific and concise. Here: [paste content]

Use for: Data analysis, extracting insights, finding patterns

Section 8: Hands-On — Build Your Personal System Prompt

🖥️HANDS-ON EXERCISE

Set Up AI for Life

Create a system prompt that shapes how AI talks to you—from now on, in every conversation.

  1. Decide your profession and main AI use cases (teaching, coding, writing, research, etc.)
  2. Write your system prompt using the template from Section 6. Spend 5 minutes thinking about your actual preferences. (Most people skip this and regret it.)
  3. Go to Claude Projects (or ChatGPT Custom Instructions, or Gemini Gems) and paste your system prompt.
  4. Test it with 3 different requests. Does it respond in your preferred style? Does it avoid things you said never?
  5. Refine once if needed. Now you're done. Every conversation from now on will be tuned to you.

Why bother? This system prompt saves you from explaining your context hundreds of times. It compounds. In a year, you'll have saved dozens of hours.

Lesson 5 — Quick Reference
Five Prompting Techniques
  • Zero-Shot: No examples. Ask directly. Fast, good for simple tasks.
  • Few-Shot: Show 2-3 examples. AI copies the pattern. Best for consistency.
  • Chain-of-Thought: "Think step by step." Forces logical reasoning. Great for complex problems.
  • Role Prompting: "You are a [role]." Different experts give different (better) answers.
  • System Prompts: Persistent instructions that apply to all conversations.
The Five Templates
  • The Explainer: "You are [role]. Explain [topic] to [audience]..."
  • The Writer: "Write a [type] about [topic] for [audience]. Tone: [tone]..."
  • The Reviewer: "Review this [type] and identify: 1) errors 2) improvements 3) rating..."
  • The Planner: "Create a [timeframe] plan to achieve [goal]. Constraints: [list]..."
  • The Analyst: "Analyze [content]. Tell me: [questions]..."
Power Phrases
  • "Think step by step"
  • "Show your reasoning"
  • "You are an expert [field]"
  • "Use an analogy"
  • "Be critical"
  • "Give me 3 alternatives"
  • "Avoid [jargon/clichés]"
  • "Keep it under [length]"
When to Use Each Technique
  • Simple question? → Zero-shot (fastest)
  • Want consistent style? → Few-shot (show examples)
  • Complex reasoning? → Chain-of-thought (think step-by-step)
  • Want different perspective? → Role prompting (be a [role])
  • Same preferences every time? → System prompt (set once, use forever)