Prompt Engineering

100+ Prompt Engineering Examples (Before & After) 2026

100 Prompt Engineering Examples 2026 - Techprofree

Reading about prompt engineering is one thing — seeing it is another. Below are 105 prompt engineering examples, each shown as a before/after pair: the weak prompt people actually type, and the engineered version that gets a dramatically better answer. Same AI, same goal — completely different results.

They’re organized into 11 categories, so jump to yours: writing, studying, coding, business, marketing, resume, social media, AI images, research, daily life, and meta prompts. Every ✅ prompt is free to copy — swap the [bracketed] parts with your details. New here? Read the Prompt Engineering Cheat Sheet first to understand the formula behind these, and see the full Prompt Engineering roadmap for all 60 guides.

What makes the ✅ versions better? Watch for the same five moves throughout: a role (“act as…”), a specific task verb, real context, an explicit format, and constraints. That’s the whole trick — repeated 105 times until it’s second nature.

✍️ Writing & Blogging

#1

❌ “Write a blog post about fitness”
✅ “Act as a fitness blogger. Write a 600-word post: ‘5 Morning Habits That Beat the Gym’ for busy office workers. Conversational tone, short paragraphs, one actionable tip per habit.”

#2

❌ “Make this better”
✅ “Edit this paragraph for clarity and flow. Keep my voice, don’t add new ideas, and list what you changed at the end: [paste text]”

#3

❌ “Give me blog ideas”
✅ “Give me 10 blog post ideas for a tech blog targeting beginner programmers in Pakistan. For each: a working title, the search intent, and why a beginner would click.”

#4

❌ “Write an intro”
✅ “Write 3 different intros for my article on [topic]: one starting with a question, one with a surprising fact, one with a short story. Max 60 words each.”

#5

❌ “Fix my grammar”
✅ “Proofread this text. Fix grammar and punctuation only — no rewording. Show corrections in a before/after table: [paste text]”

#6

❌ “Write a conclusion”
✅ “Write a conclusion for this article that summarizes the 3 key points in fresh words (no repetition) and ends with one question that invites comments: [paste article]”

#7

❌ “Make it shorter”
✅ “Cut this from 800 to 400 words. Preserve every key argument, remove examples only where two make the same point: [paste text]”

#8

❌ “Write a story”
✅ “Write a 300-word story about a student who fails an exam but discovers programming. Show emotions through actions, not statements. End hopeful but not cheesy.”

#9

❌ “Improve my headline”
✅ “Here’s my headline: [headline]. Give 5 stronger versions — 2 curiosity-based, 2 benefit-based, 1 number-based — and mark which fits a beginner audience best.”

#10

❌ “Write product description”
✅ “Act as an e-commerce copywriter. Write a 100-word description for [product] targeting [audience]. Lead with the main benefit, add 3 feature bullets, end with a soft CTA.”

🎓 Studying & Learning

#11

❌ “Explain photosynthesis”
✅ “Explain photosynthesis to a 12-year-old using a kitchen/cooking analogy. Then give the proper scientific version in 4 bullet points with correct terms.”

#12

❌ “Help me study”
✅ “Create a 7-day study plan for my [subject] exam. I have 2 hours daily. Hardest topics first, include a 15-minute daily review of previous days, and one full mock test on day 6.”

#13

❌ “Quiz me”
✅ “Quiz me on [topic] with 10 questions, one at a time. Wait for my answer, tell me if I’m right with a one-line explanation, and keep score. Get harder as I go.”

#14

❌ “Summarize this chapter”
✅ “Summarize this chapter in 3 layers: one sentence, one paragraph, then 10 detailed bullets. Bold the terms likely to appear in exams: [paste text]”

#15

❌ “What is recursion”
✅ “Explain recursion 3 ways: a real-life analogy, a simple Python example with comments, and the 2 mistakes beginners make with it.”

#16

❌ “Make flashcards”
✅ “Turn these notes into 15 flashcards in Q&A format. Front: a specific question. Back: answer in max 25 words. Order from fundamental to advanced: [paste notes]”

#17

❌ “Check my answer”
✅ “Here’s the question and my answer. Grade it out of 10 as a strict examiner, show what a 10/10 answer includes, and identify exactly what I missed: [question + answer]”

#18

❌ “I don’t understand this”
✅ “I’m confused by this concept: [topic]. Ask me 3 questions to find exactly where my understanding breaks, then explain only that missing piece.”

#19

❌ “Write my essay”
✅ “Don’t write my essay — coach me. Give a thesis option, 3 argument directions with evidence types, and a structure. I’ll draft it, then you’ll critique my version.”

#20

❌ “Translate to English”
✅ “Translate this to English, then list 5 vocabulary words from it with simple definitions and one new example sentence each: [paste text]”

💻 Coding & Debugging

#21

❌ “Fix my code”
✅ “This Python function should [expected behavior] but instead [actual behavior]. Walk through it line by line, identify the bug, explain why it happens, then show the fix: [code]”

#22

❌ “Write a login function”
✅ “Write a Python login function using hashed passwords (hashlib). Include input validation, 3-attempt limit, and comments explaining each security decision. No external libraries.”

#23

❌ “What does this code do”
✅ “Explain this code at 3 levels: one-sentence purpose, line-by-line plain English, and what breaks if I remove line [X]: [paste code]”

#24

❌ “Make my code faster”
✅ “Profile this code mentally: identify the performance bottleneck, explain its time complexity, then show an optimized version with the new complexity: [paste code]”

#25

❌ “Write tests”
✅ “Write pytest unit tests for this function: happy path, 2 edge cases, and 1 expected failure. Name each test descriptively and comment what it verifies: [function]”

#26

❌ “Learn Python”
✅ “Act as my Python mentor. I know [current level]. Design a 30-day plan with a daily 30-minute task and a mini project every Friday. Start with day 1 now.”

#27

❌ “Convert this to Python”
✅ “Convert this JavaScript to Python. Keep the logic identical, use Pythonic idioms where natural, and comment any line where the languages behave differently: [code]”

#28

❌ “Regex for email”
✅ “Write a regex to validate emails. Explain each part of the pattern in a table, show 3 strings it accepts and 3 it rejects, and mention one limitation.”

#29

❌ “Code review please”
✅ “Review this code as a senior developer: list issues by severity (critical/warning/style), suggest fixes, and end with one thing I did well: [paste code]”

#30

❌ “Build a scraper”
✅ “Guide me through building a news headline scraper in Python with requests + BeautifulSoup. Step by step, explain each step’s code, include polite scraping practices (delays, robots.txt).”

💼 Business & Email

#31

❌ “Write an email to my boss”
✅ “Write an email to my manager requesting [request]. Professional but warm, under 120 words, one clear ask, and offer two time options for a quick chat.”

#32

❌ “Reply to angry customer”
✅ “Act as a customer support lead. Draft a reply to this complaint: acknowledge the frustration genuinely, explain without excuses, offer a concrete fix and a goodwill gesture: [complaint]”

#33

❌ “Meeting agenda”
✅ “Create a 30-minute meeting agenda for [purpose]: 3 discussion items with time boxes, the decision needed for each, and a 5-minute action-items wrap-up.”

#34

❌ “Follow up email”
✅ “Write a polite follow-up to someone silent for a week. Reference my original ask in one line, add one new piece of value or urgency, end with an easy yes/no question.”

#35

❌ “Summarize this report”
✅ “Summarize this report for a busy executive: 5 bullets max, lead with the single most important number, flag risks separately, under 150 words total: [report]”

#36

❌ “Negotiate salary”
✅ “Act as a negotiation coach. I got an offer of [amount] but want [target]. Script my counter: opening line, justification with market framing, and responses to 3 likely pushbacks.”

#37

❌ “Write a proposal”
✅ “Draft a one-page proposal for [project]: problem (2 lines), solution (3 bullets), timeline table, cost, and one risk with mitigation. Formal but plain language.”

#38

❌ “LinkedIn message”
✅ “Write a LinkedIn connection message to a [role] at [company]. Mention genuine common ground, no flattery, no pitch — goal is just to open a conversation. Max 50 words.”

#39

❌ “Out of office”
✅ “Write a professional out-of-office reply: dates away, who to contact for urgent issues, light and human tone but no jokes about ignoring emails.”

#40

❌ “Team announcement”
✅ “Draft an announcement about [change]. Structure: what’s changing, why (honest), what it means for each team, where to ask questions. Reassuring but not corporate-speak.”

📈 Marketing & SEO

#41

❌ “Give me marketing ideas”
✅ “Act as a growth marketer. Give 5 zero-budget marketing tactics for [business] targeting [audience]. For each: the tactic, why it fits this audience, and the first step today.”

#42

❌ “Write SEO content”
✅ “Act as an SEO strategist. For the keyword [keyword]: identify search intent, give 5 title tags under 60 chars, an H2 outline, and 5 long-tail variations to include naturally.”

#43

❌ “Instagram caption”
✅ “Write 3 Instagram captions for [post topic]: one storytelling, one punchy one-liner, one question-based. Include 8 relevant hashtags ranked by size (big/medium/niche).”

#44

❌ “Improve my ad”
✅ “Here’s my ad copy: [copy]. Diagnose why it might underperform (hook? clarity? CTA?), then rewrite it 3 ways: emotional, logical, curiosity-driven. 30 words max each.”

#45

❌ “Email newsletter”
✅ “Write a newsletter about [topic] for [audience]: subject line A/B pair, 150-word body with one insight and one resource, and a single-line CTA. Friendly expert tone.”

#46

❌ “Competitor analysis”
✅ “Build me a competitor analysis framework for [niche]: 8 factors to compare, where to find each data point free, and a scoring template as a table.”

#47

❌ “Content calendar”
✅ “Create a 2-week content calendar for [platform] in [niche]: post type, hook line, and goal (grow/engage/convert) for each day. Vary formats across the week.”

#48

❌ “Write a slogan”
✅ “Generate 10 slogans for [brand]: 5 under 5 words, 5 under 8 words. Mix emotional and functional angles. Mark your top 2 and explain the psychology behind them.”

#49

❌ “Landing page copy”
✅ “Write landing page copy for [product]: headline (benefit-led), subheadline, 3 feature-to-benefit bullets, one testimonial placeholder, and a CTA button text. No hype words.”

#50

❌ “SEO my old post”
✅ “Here’s my old post: [paste]. Suggest: a better title targeting [keyword], 3 H2s to add, internal linking opportunities, and an FAQ section with 4 questions people search.”

📄 Resume & Job Search

#51

❌ “Improve my resume”
✅ “Act as a tech recruiter who screens 100 CVs weekly. Rewrite my bullets to be results-focused with strong verbs. Put [X] where I should add real numbers: [paste bullets]”

#52

❌ “Write a cover letter”
✅ “Write a cover letter for [job] at [company]. Hook with my most relevant achievement, connect 2 of my skills to their listed needs, close confidently. Under 250 words, zero clichés.”

#53

❌ “Prepare for interview”
✅ “Act as the hiring manager for this posting: [paste]. Ask me the 6 hardest questions one at a time. Score each answer /10 with specific feedback before the next.”

#54

❌ “Tell me about yourself”
✅ “Help me craft a 60-second ‘tell me about yourself’ for [role]: present (1 line), past highlight (2 lines), why this role (1 line). Then a shorter 30-second version.”

#55

❌ “Skills for my CV”
✅ “Based on this job description, list which of my skills to feature and which keywords the ATS likely scans for. Mark any gaps I should address honestly: [JD + my skills]”

#56

❌ “Explain employment gap”
✅ “Help me explain a [duration] employment gap due to [reason] — one version for the CV (one line) and one spoken version for interviews (3 sentences, confident, no apologizing).”

#57

❌ “Salary expectations answer”
✅ “Script my answer to ‘what are your salary expectations?’ for a [role] in [location]. Give a range strategy, the exact wording, and how to deflect if asked too early.”

#58

❌ “Thank you email”
✅ “Write a post-interview thank-you email: reference one specific discussion moment, reinforce my fit in one line, keep it under 90 words. Warm, not desperate.”

#59

❌ “Career change advice”
✅ “I’m moving from [field A] to [field B]. Map my 5 most transferable skills, how to phrase each on a resume, and the one gap to close first with a free resource.”

#60

❌ “Portfolio feedback”
✅ “Review my portfolio description: [paste]. Rate first impression /10, identify what a recruiter can’t figure out in 10 seconds, and rewrite the intro line.”

📱 Social Media

#61

❌ “Write a tweet”
✅ “Write 5 tweet options about [topic]: 2 hot takes, 2 useful tips, 1 question. Each under 200 characters with a scroll-stopping first 5 words.”

#62

❌ “LinkedIn post”
✅ “Turn this experience into a LinkedIn post: [experience]. Hook first line, short paragraphs, one honest lesson (no humble-bragging), end with a question. 150 words max.”

#63

❌ “YouTube video ideas”
✅ “Give me 10 YouTube video ideas for [niche]: each with a clickable title, the target viewer, and a 2-line hook script for the first 10 seconds.”

#64

❌ “Viral hook”
✅ “Write 10 first-line hooks for a post about [topic]. Mix: bold claim, question, mistake confession, number promise, and ‘nobody tells you’ formats.”

#65

❌ “Reply to comments”
✅ “Draft replies to these 5 comments on my post — match each commenter’s energy, thank genuinely, add one extra value point where natural, never sound copy-pasted: [comments]”

#66

❌ “Instagram bio”
✅ “Write 5 Instagram bio options for [account type]: what I do + who it’s for + one personality touch, under 150 characters each, with a CTA line for the link.”

#67

❌ “Thread about my journey”
✅ “Turn my story into an 8-tweet thread: [story summary]. Tweet 1 = hook with the outcome, middle = one turning point each, final tweet = lesson + soft follow ask.”

#68

❌ “Repurpose my blog”
✅ “Repurpose this blog post into: 1 LinkedIn post, 1 X thread (6 tweets), 1 Instagram carousel outline (7 slides), keeping the core message identical: [paste post]”

#69

❌ “Caption for this photo”
✅ “I’ll describe a photo: [description]. Write 3 caption options: witty one-liner, mini-story (3 lines), and value-tip related to the scene. Include emoji sparingly.”

#70

❌ “Grow my page”
✅ “Act as a social media strategist. Audit plan for my [platform] page in [niche]: 5 growth levers ranked by effort-to-impact, with a 30-minute daily routine.”

🎨 AI Image Prompts

#71

❌ “A nice landscape”
✅ “Wide-angle mountain lake at golden hour, mist over water, snow-capped peaks, warm rim lighting, ultra-detailed, photorealistic, calm mood, no people, no text.”

#72

❌ “Logo for my brand”
✅ “Minimal flat vector logo for a tech education brand named [name]: geometric owl motif, two colors (navy + amber), clean negative space, white background, no gradients, no text.”

#73

❌ “A cool character”
✅ “Character concept art: young female engineer, practical workshop outfit, confident pose, holding a tablet, soft studio lighting, semi-realistic style, neutral gray background, full body.”

#74

❌ “Make a poster”
✅ “Event poster background: retro synthwave grid, purple-orange gradient sky, rising sun, 80s aesthetic, high contrast, large empty space top-center for title text, 2:3 portrait.”

#75

❌ “Cute cat picture”
✅ “Fluffy orange kitten sleeping inside a knitted teacup, morning window light, shallow depth of field, cozy pastel tones, photorealistic macro shot, soft shadows.”

#76

❌ “Website hero image”
✅ “Hero illustration for a coding education website: diverse students at laptops, flat modern vector style, blue and yellow palette, subtle geometric background, wide 16:9, space on left for headline.”

#77

❌ “Fantasy scene”
✅ “Ancient library inside a giant tree, spiral staircases of roots, floating lanterns, scholars in robes, magical dusk light through leaves, intricate detail, painterly fantasy style.”

#78

❌ “Product photo”
✅ “Product shot: matte black wireless earbuds on brushed concrete, single dramatic side light, soft shadow, minimalist composition, commercial photography, 4k detail, no props.”

#79

❌ “Profile picture”
✅ “Professional avatar illustration of a young man with glasses, friendly smile, flat vector portrait style, teal background circle, clean lines, centered, suitable for LinkedIn.”

#80

❌ “Sci-fi city”
✅ “Futuristic city street at night in rain, neon signs in Urdu and English, flying vehicles above, cyberpunk palette (teal/magenta), cinematic wide shot, reflections on wet asphalt.”

🔬 Research & Analysis

#81

❌ “Research this topic”
✅ “Act as a research assistant. Map the topic [topic]: 5 key subtopics, the main debate within each, 3 terms I must understand first, and what beginners usually get wrong.”

#82

❌ “Analyze this data”
✅ “Here’s my data: [paste]. Identify: 3 clearest trends, 1 anomaly worth investigating, what the data CANNOT tell us, and one chart type that would show the main story best.”

#83

❌ “Compare X and Y”
✅ “Compare [A] vs [B] in a table across: cost, learning curve, performance, community, and job demand. Then give a one-line verdict for 3 different user types.”

#84

❌ “Pros and cons”
✅ “Give pros and cons of [decision] — but weight them: mark each point high/medium/low impact for someone in my situation: [context]. End with the single deciding factor.”

#85

❌ “Is this source reliable”
✅ “Evaluate the reliability of this claim/source: [paste]. Check: author authority, evidence type, recency, and conflicts of interest. Verdict with confidence level and what to verify.”

#86

❌ “Literature review help”
✅ “Structure a literature review on [topic]: logical grouping of themes (not paper-by-paper), the gap my research fills, and transition sentences between sections.”

#87

❌ “Survey questions”
✅ “Design 10 survey questions to learn [research goal] from [audience]: mix of multiple choice and scale, no leading wording, ordered easy-to-sensitive, with one attention check.”

#88

❌ “Explain this study”
✅ “Explain this study in plain language: what they tested, on whom, what they found, effect size in everyday terms, and 2 limitations a journalist would miss: [paste abstract]”

#89

❌ “Statistics help”
✅ “My data: [describe]. Which statistical test fits and why? Explain the test’s logic simply, its assumptions, and how to interpret the p-value without jargon.”

#90

❌ “Summarize 3 articles”
✅ “Synthesize these 3 articles: where they agree, where they conflict, whose evidence is strongest and why, in 300 words with a one-line takeaway: [paste/links]”

🏠 Daily Life & Productivity

#91

❌ “Plan my day”
✅ “Plan my day: tasks are [list], energy peaks in the morning, meetings at [times]. Time-block it: deep work first, batch small tasks, include 2 breaks and a shutdown ritual.”

#92

❌ “Meal plan”
✅ “Create a 7-day dinner plan for a family of [N] in Pakistan: 30-minute meals, local affordable ingredients, no repeats, one grocery list organized by market section.”

#93

❌ “Help me decide”
✅ “I’m choosing between [A] and [B]. Interview me: ask 5 questions one at a time to uncover what I actually value, then give a recommendation with reasoning — and tell me if I seem already decided.”

#94

❌ “Workout plan”
✅ “4-week beginner home workout: 30 min/day, 4 days/week, no equipment. Progressive difficulty weekly, rest guidance, and a 2-line form cue for each exercise.”

#95

❌ “Fix my sleep”
✅ “Act as a sleep coach. My situation: [describe]. Give me a 2-week reset plan: wind-down routine, wake time strategy, and the 3 highest-impact changes first.”

#96

❌ “Budget my salary”
✅ “Build a monthly budget for a [amount] salary in [city]: 50/30/20 adapted to local costs, table format, with 3 specific cuts if I need to save [target] monthly.”

#97

❌ “Learn a new skill”
✅ “I want to learn [skill] with 5 hours/week. Design month 1: weekly milestones, free resources for each, one small project at week 4, and how to know I’m on track.”

#98

❌ “Write a speech”
✅ “Write a 2-minute wedding toast for my [relation]: one funny (safe) story placeholder, one sincere moment, a toast line to end. Warm, no inside jokes the room won’t get.”

#99

❌ “Gift ideas”
✅ “10 gift ideas for [person description], budget [amount]: mix practical and thoughtful, mark which feel most personal, avoid generic options like mugs and vouchers.”

#100

❌ “Organize my week”
✅ “I keep missing deadlines. Ask me 4 questions about my current system, then design a simple weekly planning ritual (20 min, Sunday) I’ll actually stick to.”

🧠 Bonus: Meta Prompts (Prompts About Prompts)

#101

❌ “Make my prompt better”
✅ “Rewrite my prompt to get a dramatically better answer. Explain each change you made and why it works: [paste your prompt]”

#102

❌ “What should I ask”
✅ “I want to achieve [goal] but don’t know what to ask you. Ask me 3 clarifying questions, then write the ideal prompt for me and run it.”

#103

❌ “Act as prompt engineer”
✅ “Act as an expert prompt engineer. Build me a reusable prompt template for [recurring task] with [brackets] for the parts that change each time.”

#104

❌ “Why was that answer bad”
✅ “Your last answer missed the mark because [reason]. Diagnose what my prompt failed to specify, then answer again with those gaps filled.”

#105

❌ “Test my prompt”
✅ “Stress-test this prompt: list 3 ways it could be misinterpreted, 2 edge cases where it fails, and a hardened version that survives all five: [paste prompt]”

How to Practice With These Examples

Don’t just copy — train. Pick 3 examples from your category, run both the ❌ and ✅ versions in any free AI, and compare outputs side by side. That contrast teaches faster than any course. Then take one of your own recent prompts and upgrade it using the same five moves — our 7-day beginner plan turns this into a daily habit.

105 examples — now make your own 🚀

Continue the roadmap: 60+ free prompt engineering guides.

See the full Prompt Engineering roadmap →

100 Prompt Engineering Examples Infographic - Techprofree

Frequently Asked Questions

What is a prompt engineering example?

A before/after pair showing a weak prompt and its engineered version — the fastest way to learn what specificity, roles, context, and format instructions actually do to AI output.

Can I copy these prompts for free?

Yes, all of them — for work, study, or content. Replace the [bracketed] placeholders with your details. A link back to techprofree.com is appreciated but not required.

Do these work in ChatGPT, Claude, and Gemini?

Yes. Every example here is model-agnostic. The image prompts also work across Midjourney, DALL·E, and similar tools with minor tweaks.

Why are engineered prompts so much longer?

Length isn’t the goal — information is. Each extra phrase (role, context, format, constraint) removes a guess the AI would otherwise make. Longer prompt, shorter path to the right answer.

Which category should a beginner start with?

Whichever matches your daily work — you’ll practice more when the outputs are immediately useful. Studying and writing examples are the gentlest starting points.

How do I write my own engineered prompts?

Use the 5-part formula: Role + Task + Context + Format + Constraints. Our cheat sheet has the full breakdown, and the meta prompts in the bonus section can even rewrite your prompts for you.