Module 4 - Chapter 13

Prompt Engineering Mastery

AI communication expert. How LLMs work, advanced techniques. 200+ prompt exercises.

Introduction: The New Essential Skill

Every technological revolution creates a new form of literacy. The printing press demanded reading. The internet demanded digital navigation. Now, artificial intelligence demands a new skill: prompt engineering -- the ability to communicate effectively with AI systems to get exactly the results you need.

Prompt engineering is not coding. It is not computer science. It is communication -- arguably the purest form of it, because AI systems have no body language to read, no social cues to pick up on, and no ability to guess what you "really meant." You must say precisely what you mean, provide exactly the context that matters, and structure your requests with deliberate clarity.

What You Will Learn

  • How AI language models actually work (in plain language, not jargon)
  • The five fundamental principles of effective prompting
  • The CRAFT Framework for building powerful prompts
  • Advanced techniques: chain-of-thought, few-shot learning, system prompts
  • Tool-specific strategies for ChatGPT, Claude, and Midjourney
  • Common mistakes and how to avoid them
  • Ethical considerations for responsible AI use
  • Real-world applications across writing, coding, research, and business
  • 15+ hands-on practice exercises to sharpen your skills

Why This Matters for Everyone

A 2024 study from Harvard Business School found that professionals who used AI effectively completed tasks 25% faster and with 40% higher quality. But the gap between skilled and unskilled AI users was enormous. The difference was not intelligence or technical background -- it was how they wrote their prompts.

Whether you are a student, a professional, a creative, or an entrepreneur, your ability to communicate with AI will determine how much value you extract from these tools. This chapter will make you fluent.

Here is the truth that makes this chapter essential: the skills that make you a great prompt engineer are the same skills that make you a great communicator with humans. Clarity, context, specificity, audience awareness, and iterative refinement are universal communication principles. Mastering them for AI will make you better at communicating with everyone.

How AI Language Models Work

Before you can communicate effectively with AI, you need a basic mental model of what is happening "under the hood." You do not need a computer science degree -- you just need the right analogies.

The Autocomplete Analogy

At its core, a large language model (LLM) like ChatGPT or Claude is an extraordinarily sophisticated autocomplete system. When you type a message on your phone and it suggests the next word, that is the same fundamental idea -- just scaled up by billions of parameters and trained on vast amounts of text.

When you give an AI a prompt, it processes your text and generates a response by predicting, one word (or "token") at a time, what should come next. It is not "thinking" the way you do. It is pattern-matching against everything it learned during training to produce the most likely, most helpful continuation of your input.

Key Concept: Tokens

AI models do not read words the way you do. They break text into tokens -- chunks that can be whole words, parts of words, or even punctuation marks. For example:

  • "Hello" = 1 token
  • "Communication" = 1 token (common word)
  • "Pneumonoultramicroscopicsilicovolcanoconiosis" = 8+ tokens (rare, long word)
  • A typical sentence of 15 words = roughly 20 tokens

Why does this matter? Because every AI model has a token limit -- a maximum number of tokens it can process in a single conversation. Think of it as the AI's "working memory." If your conversation exceeds this limit, the AI starts forgetting the earlier parts.

The Transformer Architecture (Simplified)

Modern AI language models use an architecture called a Transformer. Here is the simplest way to understand it:

Imagine you are reading a sentence: "The bank was steep and covered in wildflowers." Your brain instantly knows "bank" means a riverbank, not a financial institution. How? Because you pay attention to the surrounding words -- "steep," "wildflowers" -- to determine meaning.

Transformers work the same way through a mechanism literally called "attention." For every word in your prompt, the model calculates how much attention it should pay to every other word. This allows it to understand context, resolve ambiguity, and generate coherent responses.

The Library Analogy

Think of an AI model as a librarian who has read every book in a massive library but has no personal experiences. When you ask a question:

  1. The librarian does not "look up" the answer in a specific book
  2. Instead, they synthesize patterns from everything they have read
  3. They generate a response that "sounds right" based on those patterns
  4. They can be confidently wrong if the patterns in their training data were wrong

This is why AI can produce fluent, convincing text that is factually incorrect -- and why you must always verify important claims.

Context Windows

A context window is the total amount of text (measured in tokens) that an AI can "see" at once. Think of it as the AI's short-term memory.

  • GPT-3.5: ~4,000 tokens (about 3,000 words)
  • GPT-4: ~128,000 tokens (about 96,000 words)
  • Claude: ~200,000 tokens (about 150,000 words)

Larger context windows mean the AI can handle longer documents, remember more of your conversation, and work with more complex instructions. But even with large windows, information at the very beginning or middle of a long conversation can receive less attention than recent messages.

Temperature: Creativity vs. Precision

Temperature is a setting that controls how "creative" or "random" the AI's responses are. Think of it as a dial between "play it safe" and "take risks."

Temperature Behavior Best For
0.0 - 0.3 (Low) Very predictable, focused, deterministic Factual answers, coding, data analysis
0.4 - 0.7 (Medium) Balanced creativity and accuracy General writing, explanations, summaries
0.8 - 1.0 (High) More creative, varied, surprising Brainstorming, fiction, creative tasks

Key Takeaway

AI does not understand your prompt the way a human does. It processes patterns. This means: the clearer and more structured your input, the better the output. Garbage in, garbage out. Gold in, gold out.

Prompt Fundamentals: Five Principles

Every effective prompt is built on five core principles. Master these, and you will consistently get better results from any AI tool.

Principle 1: Be Specific

Vague prompts produce vague answers. The more specific you are about what you want, the more useful the response will be.

Bad: Vague Prompt

Tell me about marketing.

Result: A generic, unfocused overview that could fill ten textbooks.

Good: Specific Prompt

Explain 5 low-cost social media marketing strategies
for a small bakery that just opened in a college town.
Focus on Instagram and TikTok. Keep each strategy
to 2-3 sentences.

Result: Targeted, actionable advice formatted exactly as needed.

Principle 2: Provide Context

Context is the background information that helps the AI understand your situation. Without it, the AI has to guess -- and guesses are often wrong.

Bad: No Context

Write me an email about the project delay.

Good: Rich Context

Write a professional email to my client (a law firm partner)
explaining that our website redesign project will be delayed
by 2 weeks due to a third-party API integration issue.
The tone should be apologetic but confident. Include a
revised timeline and one concrete step we are taking
to prevent further delays.

Principle 3: Assign a Role

Telling the AI to adopt a specific role or persona dramatically changes the quality and style of its response. It shifts the AI's "voice" and expertise level.

Bad: No Role

How do I prepare for a job interview?

Good: Role Assigned

You are a senior HR director at a Fortune 500 tech company
with 15 years of experience interviewing candidates.

I have a final-round interview for a product manager role
at a mid-size SaaS company next week. Give me your top 10
preparation tips, focusing on behavioral questions and
how to demonstrate strategic thinking.

Principle 4: Set the Format

Tell the AI exactly how you want the response structured. Bullet points? Numbered list? Table? Specific length? If you do not specify, you leave it up to chance.

Bad: No Format Specified

What are some healthy breakfast ideas?

Good: Format Specified

Give me 7 healthy breakfast ideas in a table with these columns:
- Meal Name
- Prep Time (minutes)
- Key Ingredients (max 5)
- Calories (approximate)

Focus on meals that can be prepped the night before.

Principle 5: Give Examples

When you want a specific style, tone, or format, showing the AI an example is worth a thousand words of description.

Good: Example Provided

Write product descriptions for my online store.
Here is an example of the style I want:

"The Horizon Backpack -- Built for the urban explorer
who refuses to compromise. 25L capacity meets
waterproof construction meets a laptop sleeve that
actually fits your 16-inch MacBook. Adventure-ready.
Office-approved."

Now write similar descriptions for:
1. A stainless steel water bottle
2. A wireless charging pad
3. A minimalist leather wallet

Quick Reference: The 5 Principles

  1. Be Specific -- Say exactly what you want, not vaguely what you need
  2. Provide Context -- Give background so the AI understands your situation
  3. Assign a Role -- Tell the AI who it should "be" for this task
  4. Set the Format -- Specify structure, length, and organization
  5. Give Examples -- Show, do not just tell, what good looks like

The CRAFT Framework

The CRAFT Framework is a systematic approach to building powerful prompts. Each letter represents one essential component. When you include all five, your prompts become dramatically more effective.

C.R.A.F.T.

  • C - Context: Background information, situation, and constraints
  • R - Role: Who the AI should be (expert, advisor, critic, teacher)
  • A - Action: The specific task you want performed
  • F - Format: How the output should be structured
  • T - Tone: The voice, style, and emotional register

Worked Example 1: Business Email

Context: I am a project manager at a software company. Our team
just missed a sprint deadline for the second time in three months.
My manager has asked me to explain what happened.

Role: You are an experienced communication coach specializing
in difficult workplace conversations.

Action: Write an email to my manager explaining the delay and
proposing a concrete plan to prevent it from happening again.

Format: Professional email format. 3-4 paragraphs. Under 250 words.

Tone: Accountable and solution-focused. Not defensive or
making excuses. Confident but humble.

Worked Example 2: Learning a New Topic

Context: I am a college freshman with no background in economics.
I need to understand supply and demand for my intro class exam
next Tuesday.

Role: You are a patient, engaging economics tutor who is great
at using everyday examples.

Action: Explain supply and demand from the basics, using examples
from things college students actually buy (coffee, textbooks,
concert tickets).

Format: Start with a one-paragraph overview, then break into
sections with headers. Include at least 2 real-world examples.
End with 3 practice questions I can test myself with.

Tone: Friendly, conversational, like a helpful upperclassman
explaining it over coffee. Not textbook-dry.

Worked Example 3: Creative Writing

Context: I am writing a short story for a creative writing class.
The assignment requires a story under 1,000 words that explores
the theme of "unexpected connections."

Role: You are a fiction writing mentor with an MFA who has
published in literary magazines.

Action: Write a short story about two strangers who discover
they share a meaningful coincidence while waiting at an airport
during a flight delay.

Format: Complete short story, under 1,000 words. Include dialogue.
Use present tense. Three distinct scenes.

Tone: Literary but accessible. Quietly emotional. Inspired by
the style of writers like Jhumpa Lahiri or Raymond Carver.

Worked Example 4: Data Analysis

Context: I run a small e-commerce store selling handmade candles.
Last quarter, revenue was $45,000 with 1,200 orders. This quarter,
revenue dropped to $38,000 with 950 orders. Marketing spend
stayed the same at $3,000/month.

Role: You are a business analyst specializing in small
e-commerce businesses.

Action: Analyze possible reasons for the revenue decline and
suggest 5 data-driven strategies to recover growth next quarter.

Format: Start with a brief diagnosis (3-4 bullet points of
likely causes). Then list 5 strategies, each with: the strategy
name, what to do, expected impact, and estimated cost.

Tone: Direct, analytical, practical. No fluff or generic advice.

Worked Example 5: Resume Improvement

Context: I am a recent graduate with a degree in Biology applying
for entry-level research assistant positions at biotech companies.
I have lab experience from two internships and a senior thesis
project on CRISPR gene editing.

Role: You are a career counselor who specializes in helping
STEM graduates land their first industry jobs.

Action: Review my resume bullet points below and rewrite them
to be more impactful using the STAR method (Situation, Task,
Action, Result). Add quantified results where possible.

[Resume bullets would follow here]

Format: For each original bullet, show the "Before" and "After"
version. Add a brief note explaining why the revision is stronger.

Tone: Professional, encouraging, coaching-oriented.

CRAFT Framework Tip

You do not always need all five components for simple tasks. But for anything important -- a work deliverable, a complex question, a creative project -- including all five of C.R.A.F.T. will consistently produce superior results. When in doubt, add more CRAFT.

Advanced Techniques

Once you have mastered the fundamentals, these advanced techniques will take your prompt engineering to an expert level.

Chain-of-Thought Prompting

Chain-of-thought (CoT) prompting asks the AI to show its reasoning step by step before arriving at a final answer. This dramatically improves accuracy on complex problems -- math, logic, analysis, and multi-step reasoning.

Without Chain-of-Thought

A store sells apples for $1.50 each. If you buy 5 or more,
you get a 20% discount. How much do 7 apples cost?

The AI may jump to an answer and get it wrong.

With Chain-of-Thought

A store sells apples for $1.50 each. If you buy 5 or more,
you get a 20% discount. How much do 7 apples cost?

Think through this step by step:
1. First, calculate the base price
2. Then, determine if the discount applies
3. Apply the discount
4. Show the final total

The AI walks through each step, making errors visible and the answer more reliable.

Few-Shot Learning

Few-shot learning means providing the AI with several examples of the input-output pattern you want, so it can learn the pattern and apply it to new inputs. It is like teaching by example.

Few-Shot Example: Sentiment Classification

Classify the sentiment of each review as Positive, Negative,
or Neutral.

Review: "This laptop is incredibly fast and the battery
lasts all day. Best purchase I've made this year."
Sentiment: Positive

Review: "The food was cold when it arrived and the delivery
took 90 minutes. Never ordering from here again."
Sentiment: Negative

Review: "The hotel was fine. Nothing special but nothing
wrong either. It served its purpose."
Sentiment: Neutral

Review: "The customer service team was rude and unhelpful.
However, the product itself works great."
Sentiment:

By showing the pattern three times, the AI understands exactly what format and logic to apply.

Step-by-Step Instructions

For complex multi-part tasks, break your prompt into numbered steps. This prevents the AI from skipping parts or conflating different requirements.

Multi-Step Prompt Example

I need you to help me prepare for a presentation.
Please complete these steps in order:

Step 1: Read the topic below and identify the 3 most
important points to cover.

Step 2: For each point, write a one-paragraph explanation
suitable for a non-technical audience.

Step 3: Suggest one compelling statistic or example
for each point.

Step 4: Write a strong opening line for the presentation.

Step 5: Write a memorable closing statement.

Topic: The impact of remote work on team productivity
and company culture.

System Prompts

A system prompt is a special instruction that sets the AI's behavior for an entire conversation. It is like giving the AI its "job description" before the conversation begins. Many AI tools allow you to set system prompts in their settings or API.

System Prompt Example

You are a Socratic tutor. You never give direct answers.
Instead, you guide students to discover answers themselves
by asking thoughtful questions. When a student makes an error,
do not correct them directly -- instead, ask a question that
helps them see the error. Always be encouraging and patient.
Use examples from everyday life when possible.

Now every response in the conversation will follow this teaching style.

Temperature Control in Practice

While not all interfaces expose the temperature setting directly, understanding it helps you add verbal temperature cues to your prompts.

Verbal Temperature Control

For low temperature (precise, factual):

"Give me the most accurate, factual answer.
Do not speculate or be creative. Stick strictly
to verified information."

For high temperature (creative, varied):

"Be creative and unexpected. Surprise me with
unusual ideas. Think outside the box. The wilder
the better."

Prompt Chaining

For very complex tasks, break them into a series of connected prompts where the output of one becomes the input of the next. This is like an assembly line for AI work.

Prompt Chain Example: Blog Post Creation

  1. Prompt 1: "Generate 10 blog post ideas about sustainable living for millennials."
  2. Prompt 2: "Take idea #3 and create a detailed outline with 5 sections, each with 3 sub-points."
  3. Prompt 3: "Write the introduction and first section based on the outline above."
  4. Prompt 4: "Continue with sections 2 and 3. Match the tone of the introduction."
  5. Prompt 5: "Write the conclusion. Add a compelling call-to-action."
  6. Prompt 6: "Review the full post for consistency, fix any awkward transitions, and suggest a headline."

Tool-Specific Tips

Different AI tools have different strengths, quirks, and best practices. Here is how to get the most out of each.

ChatGPT (OpenAI)

Strengths and Best Practices

  • Custom Instructions: Use ChatGPT's "Custom Instructions" feature to set persistent preferences (your profession, preferred response style, things to always include or avoid)
  • GPTs (Custom Bots): Create or use specialized GPTs for recurring tasks -- a writing editor, a code reviewer, a meal planner
  • Web Browsing: Enable browsing for current information, but specify "search for recent data" when you need up-to-date results
  • Code Interpreter: Upload files (CSVs, PDFs, images) and ask ChatGPT to analyze them directly
  • Conversation Memory: ChatGPT remembers past conversations. Reference earlier chats: "Remember the marketing plan we discussed last week?"

Claude (Anthropic)

Strengths and Best Practices

  • Long Documents: Claude excels with very long inputs. Upload entire documents, research papers, or codebases and ask detailed questions
  • Nuanced Analysis: Claude tends to handle nuanced, multi-perspective questions well. Ask it to "consider multiple viewpoints" or "steelman the opposing argument"
  • Structured Output: Claude responds well to XML-style tags in prompts for structured tasks
  • Artifacts: Use Claude's artifact feature for code, documents, and visualizations that you want to iterate on
  • Honesty About Uncertainty: Claude is more likely to say "I'm not sure" rather than fabricate an answer. Use this to your advantage by asking "How confident are you in this answer?"

Midjourney and Image Generation

Prompting for Visual AI

Image generation is a fundamentally different prompting paradigm. Here is what works:

  • Subject First: Start with the main subject ("A golden retriever puppy...")
  • Setting/Environment: Describe where ("...sitting in a sunlit meadow...")
  • Style Keywords: Add artistic direction ("...in the style of Studio Ghibli, watercolor, soft lighting")
  • Technical Parameters: Use aspect ratio (--ar 16:9), quality (--q 2), stylize (--s 750)
  • Negative Prompting: Specify what to exclude ("--no text, --no watermark")

Example Midjourney prompt:

A cozy Japanese coffee shop interior, morning light
streaming through large windows, wooden furniture,
plants on shelves, a cat sleeping on a chair, warm
color palette, Studio Ghibli inspired, detailed
illustration --ar 16:9 --s 750

Quick Comparison

Feature ChatGPT Claude
Long document analysis Good Excellent
Creative writing Excellent Excellent
Code generation Excellent Excellent
File uploads Yes (images, docs, code) Yes (docs, code, images)
Web browsing Yes (built-in) Yes (web search)
Customization Custom GPTs, memory Projects, styles

Common Prompt Mistakes

Even experienced AI users make these mistakes. Learning to spot and fix them will immediately improve your results.

Mistake 1: The Vague Ask

Bad

Help me with my resume.

Good

Review the "Experience" section of my resume below and
rewrite each bullet point to start with a strong action
verb and include a quantified result. I am applying for
senior data analyst roles at tech companies.

Mistake 2: No Context About Your Audience

Bad

Explain machine learning.

Good

Explain machine learning to a 10-year-old who loves
video games. Use gaming analogies. Keep it under
200 words.

Mistake 3: Too Many Instructions at Once

Bad

Write a business plan for my startup and also create
a marketing strategy and a financial projection and
design a logo concept and suggest a company name and
write the about page for the website.

Too many unrelated tasks. The AI will do all of them poorly.

Good

Let's build a business plan step by step. Start with
the executive summary. My startup is a subscription
service for curated office snacks targeting companies
with 50-200 employees. We will work on each section
one at a time.

Mistake 4: Not Iterating

Key Insight

Many people send one prompt, get a mediocre result, and give up. Expert prompt engineers treat the first response as a starting point, not a final answer. They follow up:

"That's good, but make it more concise."
"Keep points 2 and 5, but rework the others."
"The tone is too formal. Make it warmer, like
a friend giving advice."
"Add specific examples for each point."

Mistake 5: Assuming the AI Knows Your Preferences

Bad

Write it the way I like it.

Good

Write in short paragraphs (2-3 sentences max). Use
casual language. Include subheadings every 2-3 paragraphs.
Avoid jargon. End with a clear call-to-action.

Mistake 6: Not Specifying What to Avoid

Bad

Write a cover letter for this job.

Good

Write a cover letter for this job posting. Do NOT use
phrases like "I am writing to express my interest" or
"I believe I would be a great fit." Avoid generic
statements. Every sentence should reference something
specific from my experience or the job description.

Mistake 7: Ignoring Output Quality Signals

Signs Your Prompt Needs Work

  • The response is too generic or could apply to anything
  • The AI is "padding" with filler phrases and obvious statements
  • The format is not what you wanted
  • The response is much longer or shorter than you needed
  • The AI asks clarifying questions (this means your prompt was ambiguous)

Mistake 8: Using AI as a Search Engine

Bad

What is the population of France?

For simple factual lookups, a search engine is faster and more reliable.

Good (Using AI's Actual Strengths)

Compare the population trends of France, Germany, and
Japan over the last 50 years. What are the key
demographic challenges each country faces? Present
this as a briefing for a policy analyst.

Mistake 9: Not Proofreading AI Output

Common Trap

Copying and pasting AI output directly without reading it. AI can produce confident-sounding text with factual errors, outdated information, or a tone that does not match your voice. Always review before using.

Mistake 10: Forgetting to Set Constraints

Bad

Tell me about the history of computing.

You will get a 2,000-word essay when you wanted a quick overview.

Good

Give me a timeline of the 10 most important moments
in the history of computing, from 1940 to present.
One sentence per event. Format as a numbered list.

Ethical AI Communication

With great power comes great responsibility. Using AI effectively also means using it ethically. Here are the principles every AI communicator must understand.

Bias Awareness

Understanding AI Bias

AI models learn from human-created text, which means they inherit human biases. These biases can appear in subtle ways:

  • Gender stereotypes in job-related content (assuming nurses are female, engineers are male)
  • Cultural biases that favor Western perspectives or English-speaking contexts
  • Recency bias toward whatever was most common in training data
  • Confirmation bias when the AI agrees with a flawed premise in your prompt

What to do: Actively prompt for diverse perspectives. Ask "What perspectives might be missing from this analysis?" or "Are there cultural biases in this response?"

Fact-Checking Is Non-Negotiable

Critical Rule

AI models can and do generate false information with complete confidence. This is called "hallucination." The AI is not lying -- it is pattern-matching and sometimes the patterns produce fiction that sounds like fact.

Always verify:

  • Statistics and numerical claims
  • Quotes attributed to real people
  • Historical dates and events
  • Scientific claims and citations
  • Legal or medical information

Not Over-Relying on AI

The Balance Principle

AI should augment your thinking, not replace it. Use AI to:

  • Draft content that you then revise with your own voice and expertise
  • Generate ideas that you evaluate critically
  • Handle repetitive tasks so you can focus on creative and strategic work
  • Get unstuck when you have writer's block or are approaching a problem from only one angle

Do NOT use AI to avoid learning. If you are a student, using AI to write your essay means you never develop the writing skills the assignment was designed to build.

Academic Integrity

Guidelines for Students

  • Know your institution's policy. Rules about AI use vary widely between schools, courses, and professors
  • Disclose AI use. When you use AI to help with an assignment, be transparent about how you used it
  • Use AI as a tutor, not a ghostwriter. Ask AI to explain concepts, check your work, or help you brainstorm -- but write your own final product
  • The learning matters more than the grade. If AI does the work, you get the grade but not the knowledge

Privacy Considerations

What NOT to Share with AI

  • Passwords, API keys, or authentication credentials
  • Social Security numbers, credit card numbers, or financial account details
  • Confidential business information or trade secrets
  • Other people's private information without their consent
  • Sensitive medical or legal details that could identify individuals

Remember: Conversations with AI tools may be stored and used for training. Treat every prompt as potentially public.

Real-World Applications

Here is how prompt engineering applies to real tasks across different domains. Each example includes a ready-to-use prompt template.

Writing and Content Creation

Blog Post Prompt

You are a content strategist for a tech blog targeting
small business owners.

Write a 1,200-word blog post about "5 Ways AI Can Save
Your Small Business 10 Hours a Week."

Requirements:
- Conversational, accessible tone (no jargon)
- Each section: catchy subheading + explanation +
  concrete example + tool recommendation
- Include a brief intro and strong conclusion with CTA
- Optimize for SEO with natural keyword placement

Coding and Development

Code Review Prompt

You are a senior software engineer conducting a code review.

Review the following Python function for:
1. Bugs or logical errors
2. Performance issues
3. Security vulnerabilities
4. Code style and readability
5. Edge cases not handled

For each issue found, explain:
- What the problem is
- Why it matters
- How to fix it (with corrected code)

[paste code here]

Research and Analysis

Research Summary Prompt

You are a research analyst. I will paste an academic paper
abstract below.

Please provide:
1. A one-sentence plain-English summary
2. The key finding in practical terms
3. The methodology used (one sentence)
4. Two limitations of the study
5. How this research could apply to [your field]

[paste abstract here]

Learning and Education

Study Guide Prompt

You are a tutor helping me study for my [subject] exam.

Create a comprehensive study guide for [topic] that includes:
1. Key concepts explained simply (assume I know the basics)
2. Common exam questions with model answers
3. Memory aids or mnemonics for important lists/processes
4. Three practice problems ranging from easy to hard
5. A "cheat sheet" summary I can review in 5 minutes

Focus on understanding, not memorization.

Creative Projects

Creative Brainstorming Prompt

You are a creative director at an advertising agency.

I need 10 unique concepts for a social media campaign
promoting a new plant-based protein bar targeting
fitness-conscious millennials.

For each concept, provide:
- Campaign name (catchy, memorable)
- Core message in one sentence
- Visual concept description
- Suggested platform (Instagram, TikTok, or both)
- Example post caption

Be bold and unconventional. Avoid cliches like
"fuel your workout" or "plant power."

Business and Professional

Meeting Preparation Prompt

I have a meeting with [stakeholder] about [topic]
in 2 hours.

Help me prepare:
1. Three key points I need to communicate
2. Anticipated questions and strong answers for each
3. Potential objections and how to address them
4. A one-page agenda I can share
5. A strong opening statement (30 seconds)
6. A clear ask/next step to end with

Context: [describe situation, relationship, goals]

Practice Exercises

The only way to get better at prompt engineering is to practice. Try each of these challenges with your preferred AI tool. After each attempt, evaluate the output and iterate to improve it.

Challenge 1: The Specificity Test

Write two prompts asking AI for advice on "getting healthier." Make the first one vague (under 10 words) and the second one specific (using all 5 principles). Compare the results.

Your vague prompt:

Your specific prompt:

Challenge 2: CRAFT a Perfect Prompt

Choose a real task you need help with (a work email, a study guide, a creative project). Build a prompt using every element of the CRAFT framework: Context, Role, Action, Format, Tone.

Your CRAFT prompt:

Challenge 3: Few-Shot Classification

Create a few-shot prompt that teaches AI to classify customer support emails into categories: Billing, Technical, Feature Request, Complaint, or General Inquiry. Provide 3 examples, then test with 2 new emails.

Challenge 4: Chain-of-Thought Math

Ask AI to solve this problem using chain-of-thought prompting: "A restaurant has 15 tables. Each table seats 4 people. On Friday, the restaurant was 80% full for lunch and 95% full for dinner. How many total meals were served?"

Challenge 5: Role Transformation

Take this topic: "The benefits of reading books." Write four different prompts that ask AI to explain this from the perspective of: a neuroscientist, a kindergarten teacher, a CEO, and a stand-up comedian. Compare how the role changes the response.

Challenge 6: Prompt Debugging

This prompt produces bad results. Fix it:

"Write something about dogs for my website
please make it good and interesting and SEO."

Your improved prompt:

Challenge 7: The Iteration Exercise

Start with a simple prompt: "Write a professional bio for me." Send it to AI, then iterate at least 4 times, each time making your prompt more specific based on what the AI got wrong or missed. Document each version and how the output improved.

Challenge 8: System Prompt Design

Design a system prompt that turns AI into a personal writing coach. It should: always ask clarifying questions before writing, provide feedback in a sandwich format (positive-constructive-positive), and never write full drafts without the student trying first.

Challenge 9: Cross-Tool Comparison

Take the same well-crafted prompt and send it to both ChatGPT and Claude (or any two AI tools). Compare the responses: Which was more detailed? More accurate? Better formatted? What does this tell you about each tool's strengths?

Challenge 10: The Negative Prompt

Write a prompt for a cover letter that uses negative constraints effectively. Include at least 5 things the AI should NOT do (specific cliches, structures, or phrases to avoid). See how constraints improve quality.

Challenge 11: Teaching AI Your Style

Find a piece of writing you love (an article, an email you wrote well, a social media post). Paste it into AI and ask it to analyze the writing style, then write new content matching that style. How close did it get?

Challenge 12: The Ethical Prompt

Ask AI a question where bias might appear (e.g., "Describe a typical CEO" or "What does a nurse look like?"). Then re-prompt with bias-awareness instructions and compare the two responses.

Challenge 13: Prompt for Image Generation

Write a detailed Midjourney-style prompt for this scene: "A futuristic library." Include subject, setting, mood, artistic style, lighting, and technical parameters. Make it vivid enough to generate a specific image, not a generic one.

Challenge 14: Prompt Chain Design

Design a 5-prompt chain that takes a rough idea for a YouTube video and develops it into a complete script. Each prompt should build on the output of the previous one. Write out all 5 prompts.

Challenge 15: The Ultimate Test

Think of a real task you have been struggling with -- a difficult email, a complex analysis, a creative block. Use everything you learned in this chapter to craft the best possible prompt. Apply CRAFT, use advanced techniques, iterate at least 3 times, and evaluate the result critically.

Your ultimate prompt (Challenge 15):

Final Takeaway

Prompt engineering is not a fixed skill -- it is a practice. The more you experiment, iterate, and reflect on what works, the better you will get. The principles in this chapter -- specificity, context, role, format, tone, and ethical awareness -- apply to every AI tool you will ever use, and to every human conversation you will ever have.

The best prompt engineers are the best communicators. And the best communicators are the ones who never stop practicing.

Knowledge Check

Test your understanding of this chapter's key concepts.

Question 1 of 10

Prompt engineering is:

Question 2 of 10

Clear prompts produce better AI outputs because:

Question 3 of 10

Context in prompts helps by:

Question 4 of 10

Role-based prompting means:

Question 5 of 10

Iterative prompting involves:

Question 6 of 10

Few-shot prompting means:

Question 7 of 10

Chain-of-thought prompting:

Question 8 of 10

Constraints in prompts:

Question 9 of 10

The most important prompt engineering skill is:

Question 10 of 10

Prompt engineering transfers to human communication because: