🪱 Free Prompt Engineering Course · 6 Chapters · No Signup

Learn like
a worm.

Dig through every layer of prompt engineering — from absolute zero to writing prompts that make AI do exactly what you want. Practical, no fluff, copy-ready examples throughout.

6
Chapters
9
Frameworks
~30
Min Read
🪱 Progress
0%
01
What is a Prompt — Really?
Why AI does what it does · The input/output loop · Why specificity wins
Start
AI doesn't think. It predicts.

Every large language model — ChatGPT, Claude, Gemini — does one thing: it predicts the most likely next word given everything it's seen. That's it. No understanding. No intentions. No goals of its own.

What this means for you: the quality of your output is entirely determined by the quality of your input. A vague prompt gives the model too many "likely" directions to go. A precise prompt narrows the possibilities to exactly what you want.

💡 Key Insight

You are not commanding a computer. You are steering a very fast prediction machine. The more context you give it, the more accurately it predicts what you actually want.

The difference is dramatic
❌ Weak Prompt
Write me an email about our new product.
✅ Strong Prompt
You are a senior copywriter. Write a 150-word launch email for our new productivity app "FocusFlow" to existing customers. Tone: warm, confident. Include one clear CTA to try the free trial. No emojis.
Real Example — Before & After ChatGPT
You are a senior copywriter at a SaaS company. Write a 150-word product launch email for our new productivity app "FocusFlow" targeting existing customers who already use our free tools. Tone: warm, confident, and aspirational. Include: one compelling subject line, a brief pain-point opening, a 2-sentence product description, and a single CTA button labeled "Start My Free Trial". No emojis.
✅ Why it works: Role assigned, audience defined, word count set, tone specified, structure outlined, edge cases excluded. The model has no room to guess.
🪱 Quick Check
Why does a vague prompt usually produce a mediocre result?
02
The 5 Elements of Every Great Prompt
Role · Task · Context · Format · Constraints — the non-negotiable building blocks
5 min
Every prompt is built from 5 layers

You don't need a framework to write a good prompt. You need to answer 5 questions. Once you internalize these, you'll see them in every great prompt ever written.

🏗 The 5 Elements

Role — Who is the AI?  ·  Task — What should it do?  ·  Context — What does it need to know?  ·  Format — How should it respond?  ·  Constraints — What should it avoid?

Breaking it down

1. Role — "Act as a senior UX researcher" or "You are a Michelin-star chef" instantly shifts the model's statistical distribution toward expert-level outputs. It works because the training data contains millions of examples of those roles.

2. Task — Be surgical. "Write a summary" is weak. "Write a 3-sentence executive summary highlighting the main risk and one recommended action" is tight and specific.

3. Context — The background the model can't infer. Your audience, your product, your specific situation. Don't make it guess what it can't know.

4. Format — Tell it exactly how to structure the response. Bullet points? Numbered list? JSON? Three paragraphs with headers? The model will comply precisely when told.

5. Constraints — What to exclude is often more powerful than what to include. "No jargon", "under 200 words", "don't recommend third-party tools" — these narrow the output dramatically.

All 5 Elements in One Prompt Claude
[ROLE] You are a senior product manager at a B2B SaaS company. [TASK] Review this feature request and write a prioritization recommendation. [CONTEXT] Our platform serves 500+ enterprise clients. We're in Q4 planning. Engineering capacity is limited to 2 sprints. [FORMAT] Use this structure: Priority Level (High/Medium/Low), Reasoning (2-3 sentences), Risks (1-2 bullets), Recommended Next Step. [CONSTRAINTS] No technical jargon. Don't recommend building anything that would take more than 1 sprint. Keep total response under 200 words. Feature request: [PASTE YOUR REQUEST HERE]
✅ Result: A tightly scoped, structured output every time — regardless of which feature you paste in.
🪱 Quick Check
Which element is most commonly missing from weak prompts?
03
The 9 Frameworks — Your Prompt Toolkit
CoSTAR · RTF · AETHER · Chain-of-Thought · RISEN · SCQA · CRISPE · PARA · RACI
8 min
Frameworks are checklists that never forget

A framework is just a structured way to ensure you don't miss any of the 5 elements. Different frameworks excel in different situations. You'll naturally gravitate toward 2-3 that fit your work.

🎯 When to Use Which

CoSTAR — general purpose, content creation  ·  RTF — quick tasks, fast results  ·  AETHER — complex roleplay & agents  ·  Chain-of-Thought — math, logic, analysis  ·  RISEN — step-by-step workflows

CoSTAR — The Swiss Army Knife

Context · Objective · Style · Tone · Audience · Response. The most versatile framework for content creation, marketing, and general tasks. When in doubt, use CoSTAR.

CoSTAR ExampleChatGPT
Context: I run a small bakery in Austin, Texas. I just launched gluten-free croissants. Objective: Write an Instagram caption to announce this new product. Style: Warm, local business voice — not corporate. Tone: Excited but not shouty. Genuine. Audience: Health-conscious locals aged 25-45 who follow food accounts. Response: 3 caption options, each under 150 characters, with 3 relevant hashtags each.
RTF — For Speed

Role · Task · Format. When you need an answer fast and the task is clear, RTF strips everything down to the essentials.

RTF ExampleAny AI
Role: Senior data analyst. Task: Explain what churn rate means to a non-technical founder in one paragraph. Format: Plain English, no jargon, one concrete analogy.
Chain-of-Thought — For Reasoning

When accuracy matters — math, logic, coding, analysis — Chain-of-Thought forces the model to show its work. Studies show this dramatically improves accuracy on complex tasks.

Chain-of-Thought ExampleClaude
Let's think through this step by step. Problem: Our conversion rate dropped from 4.2% to 2.8% last month. Total traffic was flat. What are the most likely causes? Context: We launched a new homepage design on the 15th. No other major changes. Seasonal patterns are normal for this time of year. Please work through this in 5 reasoning steps, showing your logic at each stage before giving your conclusion.

Try them all in the Prompt Builder — each framework has its own set of fields pre-built for you.

🪱 Quick Check
You need to solve a complex logic problem and want the most accurate answer. Which framework should you use?
04
Right Prompt, Right Tool
ChatGPT vs Claude vs Gemini vs Midjourney — what each does best
5 min
The tool is half the prompt

The biggest hidden mistake beginners make: they write a great prompt for the wrong tool. An image prompt sent to ChatGPT as text. A long reasoning task sent to a model with a small context window. A creative story sent to a model tuned for factual recall.

ChatGPT
Best for:
Versatile everyday tasks · Code generation · Data analysis · Plugin integrations · Wide knowledge base
Claude
Best for:
Long documents · Nuanced writing · Following complex instructions · Safety-sensitive tasks · 200k token context
Gemini
Best for:
Real-time search · Google Workspace integration · Multimodal tasks · Up-to-date information
Midjourney
Best for:
Aesthetic artwork · Concept art · Photography simulation · Consistent style generation
🛠 Prompt Formatting By Tool

ChatGPT / Claude / Gemini — conversational prose or structured sections work equally well.
Midjourney — comma-separated descriptors, no sentences. End with --ar, --v, --stylize.
Sora / Runway — describe the shot like a film director: camera movement, lighting, duration, mood.

Same Idea — 3 Different ToolsMulti-tool
// For ChatGPT (text description) Write a detailed description of a lone astronaut standing on Mars at sunset. Include sensory details, emotions, and what they might be thinking. // For Midjourney (image generation) lone astronaut standing on Mars, golden hour sunset, red dust, dramatic shadows, cinematic composition, 85mm lens, NASA suit, contemplative mood, photorealistic --ar 16:9 --v 7 --stylize 750 // For Sora (video) 10-second cinematic shot of a lone astronaut standing on the Martian surface at sunset. Camera: slow push-in from wide angle. Lighting: dramatic golden hour with long red shadows. Mood: awe and solitude. Include dust particles floating in the air.
🪱 Quick Check
You need to summarize a 50-page legal contract. Which AI is best suited for this?
05
Advanced Techniques That Pros Use
Few-shot examples · Prompt chaining · Temperature control · System prompts
7 min
Few-Shot Prompting — Show, Don't Tell

Instead of describing what you want, show the model 2-3 examples of the exact format and style. This technique alone can transform output quality on structured tasks.

Few-Shot ExampleAny AI
Convert these customer reviews into one-line sentiment summaries. Use this format exactly: [POSITIVE/NEGATIVE/NEUTRAL] — [one line summary] Examples: Review: "Shipping was fast but the packaging was damaged." Output: [NEUTRAL] — Fast delivery undermined by poor packaging quality. Review: "Best product I've ever bought. Changed my life." Output: [POSITIVE] — Exceptional product with transformative impact. Now convert this review: Review: "[PASTE YOUR REVIEW]"
Prompt Chaining — Break It Into Steps

Complex tasks fail when you ask for everything at once. Chain prompts: Step 1 generates an outline, Step 2 expands each section, Step 3 refines the tone. The output of each prompt feeds the next.

⚡ The Chaining Pattern

Prompt 1: "Generate 5 potential angles for a blog post about [TOPIC]" → Pick one → Prompt 2: "Create an outline for angle #3" → Approve it → Prompt 3: "Write section 2 of this outline in full" → Etc.

System Prompts — Set the Stage Once

In API and advanced interfaces, system prompts run before the conversation and stay active throughout. They're powerful for setting a persistent role, rules, and behavior — so you don't repeat instructions every message.

System Prompt ExampleAPI / Custom GPT
You are a senior brand strategist specializing in DTC e-commerce brands. You have 15 years of experience helping brands achieve $10M+ in revenue. Rules you always follow: - Lead every answer with the most important insight - Back every recommendation with a reason - Never use buzzwords like "synergy" or "leverage" as a verb - Keep responses under 300 words unless asked to expand - If you need more information to give a good answer, ask one focused question Respond in the first person, as a trusted advisor would.
Negative Prompting — Tell It What NOT to Do

Constraints often matter more than instructions. "Don't use bullet points", "avoid clichés", "never start a sentence with I" — these exclusions narrow the output dramatically.

❌ No Constraints
Write a blog post about productivity.

Result: Generic listicle full of "wake up at 5am" advice.
✅ With Constraints
Write a blog post about productivity. Don't mention morning routines, to-do lists, or time-blocking. No listicles. Lead with a counterintuitive insight.
🪱 Quick Check
You want the AI to write product descriptions in a very specific format. What's the most effective technique?
06
Your First 10 Prompts — Start Here
Ready-to-use prompts for real work · Copy, paste, and adapt
5 min
Stop reading. Start prompting.

The fastest way to learn is to use real prompts on real tasks. Here are 5 prompts for the most common use cases. Copy any of them, replace the bracketed parts, and go.

1. Email WritingChatGPT · Claude
You are an expert business communicator. Write a professional email for this situation: [DESCRIBE YOUR SITUATION]. Recipient: [WHO]. Desired outcome: [WHAT YOU WANT TO HAPPEN]. Tone: [FORMAL/FRIENDLY/ASSERTIVE]. Length: under 150 words. End with a clear single call to action.
2. Content IdeasChatGPT
You are a content strategist for [YOUR INDUSTRY]. Generate 15 content ideas for [PLATFORM: LinkedIn/Instagram/YouTube] targeting [YOUR AUDIENCE]. Ideas should be: original (no generic tips), controversy-adjacent (strong opinion or counterintuitive angle), and immediately actionable. Format as a numbered list with a one-line hook for each.
3. Code ReviewClaude · ChatGPT
You are a senior software engineer. Review the following code for: 1) bugs 2) performance issues 3) security vulnerabilities 4) readability. For each issue found: state the severity (Critical/High/Medium/Low), explain why it's a problem, and provide the corrected code. Code: [PASTE CODE]
4. Research SummaryClaude · Gemini
Summarize the following content for a time-pressed executive. Format: 1) One-sentence bottom line 2) 3 key insights (one sentence each) 3) One recommended action. Maximum 150 words total. No jargon. Content: [PASTE CONTENT]
5. Midjourney ImageMidjourney
[YOUR SUBJECT], [ART STYLE], [LIGHTING], [MOOD], [CAMERA ANGLE], [COLOR PALETTE], hyperdetailed, professional photography --ar 16:9 --v 7 --stylize 750 --quality 2
🎓 You're Done — What's Next?

You now understand more about prompt engineering than 90% of AI users. The gap between knowing and doing is practice. Open the Prompt Builder, pick a framework, and write your first structured prompt in the next 5 minutes.

Open Prompt Builder Browse 1,642+ Prompts
Go Deeper
Continue Learning

More resources to take your prompting to the next level.

50 Best Claude Prompts
Expert prompts optimized specifically for Claude's unique strengths — writing, analysis, coding, and more.
Read the guide
🔧
Free AI Prompt Generator
Apply the 9 frameworks you just learned automatically. Describe your goal and get a structured prompt instantly.
Try the generator
🏗️
Prompt Builder
Build prompts field by field using CoSTAR, RTF, RISEN and 6 more frameworks. AI Writer fills in the details.
Open builder
📚
1,642+ Prompt Library
Browse expert prompts across 15 categories for ChatGPT, Claude, Midjourney, Gemini and every major AI tool.
Browse library
PA Agent
Describe your goal in plain English — PA Agent generates 5 tailored expert prompts using Claude AI instantly.
Try PA Agent
✍️
Blog & Articles
Deep dives into prompt engineering techniques, AI tool comparisons, and prompting strategies that actually work.
Read articles
10 new prompts weekly. Free forever.
Get 10 New Prompts Weekly
Join prompt engineers, creators and founders getting the best AI prompts delivered weekly. Free forever.
No spam. Unsubscribe anytime.