What prompt engineering actually is
Prompt engineering sounds technical. It's not.
A prompt is just the message you send to an AI tool. Prompt engineering is the practice of writing that message deliberately — with enough context, enough structure, and enough constraint that the AI produces something genuinely useful rather than something generically plausible.
The gap between a vague prompt and a specific one is often enormous. The same topic, asked two different ways, produces outputs that look like they came from two different tools. Developing the instinct for the specific ask is what separates people who use AI occasionally from people who use it as a reliable work accelerator.
This guide covers the fundamentals. By the end, you'll know the five variables that control output quality, the most common mistakes and how to fix them, and a practice framework you can apply to any AI tool starting today.
Why outputs disappoint most new users
The most common experience for people new to AI tools: type a question, get an output that's technically fine but somehow not what you needed. Technically correct, generically phrased, oddly formatted, missing the key detail. You end up rewriting most of it anyway.
The problem isn't the AI. It's that the prompt was underspecified. The AI did what it was asked — it just wasn't asked for enough.
When you give an AI a vague prompt, it fills in the blanks with defaults. Default audience (a generic adult). Default tone (neutral). Default length (whatever). Default format (prose paragraphs). Default depth (surface level). Every unspecified dimension defaults to something — and the defaults rarely match what you actually needed.
Prompt engineering is the practice of specifying the dimensions that matter so the AI can fill in the blanks correctly instead of randomly.
The 5 variables that control every output
Every prompt has five key dimensions. Get these right and the output improves dramatically. Ignore them and you're gambling on the defaults.
1. Role
Who is the AI pretending to be when it writes this? A general assistant, an expert, a specific type of professional?
A prompt that starts with "You are an experienced HR manager writing to a team of 20" produces different output than the same request without that framing. The role constrains the vocabulary, the assumptions, the level of detail, and the tone.
How to use it: "You are a [role] writing for [audience]." For most professional tasks, naming a specific role — not just "an expert" but "an experienced project manager at a 50-person software company" — produces more accurate calibration.
2. Context
What's the situation? What does the AI need to know to answer correctly?
This is the most commonly missed variable. People ask "write me a follow-up email" without explaining who they're following up with, about what, when they last spoke, what they want to happen next, or what the relationship is. The AI invents all of those details — and invents them generically.
How to use it: Include the specific situation. "I had a discovery call on Friday with a marketing director at a 200-person SaaS company. She seemed interested but said she needed to 'think about it.' It's been 4 days. I want to follow up without being pushy." Now the AI has enough to write something actually relevant.
3. Format
What should the output look like? A list? Prose? A table? An email with subject line? Bullet points? A structured document with headers?
AI tools default to whatever format they think is appropriate — which is often just prose paragraphs. For most real-work use cases, you need a specific format.
How to use it: Be explicit. "Format the output as: 1. A subject line, 2. An email body under 150 words, 3. A one-line PS." Or: "Give me a table with columns for Option, Pros, Cons, and Cost." The more specific the format instruction, the less post-editing you need.
4. Constraints
What should the output not include? What length? What tone? What to avoid?
Constraints narrow the solution space. Without them, AI often produces outputs that are too long, too formal, too casual, or full of filler phrases ("In today's fast-paced world...") that add length without adding value.
How to use it: State what you want and what you don't. "Under 200 words. No bullet points. Don't start with 'I.' Avoid the words 'synergy,' 'leverage,' and 'delve.'" Negative constraints are as useful as positive ones.
5. Examples
Can you show the AI what "good" looks like?
This is the most powerful variable and the least used by beginners. If you have an example of the tone, style, or format you want — a previous email that worked, a document structure you like, even a single sentence that captures the right voice — including it as an example dramatically improves output quality.
How to use it: "Here's an example of the tone I'm going for: [paste example]. Write in this voice." Or: "Here's a previous version that didn't work: [paste it]. What was weak about it, and write a better version."
Your first five prompts: a practice sequence
The fastest way to internalize these variables is to run the same task with increasing specificity and compare the outputs.
Practice 1: The baseline
Ask for something useful without any of the five variables:
Write a follow-up email.
Run it. Note what the output assumes.
Practice 2: Add role and context
You are a freelance consultant following up with a potential client who attended a discovery call 3 days ago but hasn't responded. The client seemed interested but mentioned budget concerns. Write a follow-up email.
Compare to Practice 1. Notice how much more specific the output became.
Practice 3: Add format and constraints
Add to Practice 2: The email should be under 100 words. Include a subject line. Don't ask if they have questions — end with a clear next step instead.
Practice 4: Add an example
Add to Practice 3: Here's the tone I'm going for — direct and warm, not salesy: [paste an example email]. Match this voice.
Practice 5: Iterate
Take the output from Practice 4, identify one thing that's still not right, and prompt specifically to fix it: The opening line is too formal. Rewrite just the first sentence to sound more conversational.
Five rounds of this practice produces more learning than five hours of reading about prompting. The feedback is immediate and the improvement is visible.
The iteration mindset
Beginners treat the first AI output as a result. Experienced users treat it as a draft.
Iteration is the skill. Almost no first output is exactly right — the question is whether you know how to improve it. The key is being specific about what's wrong:
Vague correction: "This isn't quite right, can you try again?"
Specific correction: "The third paragraph is too long and has too much background. Cut it to two sentences and lead with the recommendation instead."
Specific corrections produce specific improvements. Vague corrections produce random variation.
The other iteration skill is knowing when to start over vs. when to edit. If the structure of the output is wrong, start over with a better prompt. If the structure is right but one section needs fixing, edit in place.
Common mistakes (and how to fix them)
Mistake: Asking too many things at once
"Write me a follow-up email, and also tell me what I should do if they don't respond, and give me three versions with different tones."
Every task added to a prompt dilutes the focus on each one. For complex requests, break them into separate prompts. Run one prompt per task.
Mistake: Accepting generic output without pushing back
Generic AI output is identifiable: it could have been written about any company, any person, or any situation. If an output contains no specifics from what you gave it, you either didn't give it enough context or didn't ask it to use the context. Push back: "This is too generic. Rewrite it using the specific details I gave you about [X]."
Mistake: Treating AI outputs as accurate
AI generates plausible text. Plausible is not the same as accurate. Statistics, case citations, factual claims, and technical specifications from AI outputs should be verified before use. The structure and language of AI outputs are reliable; the factual content requires checking.
Mistake: Not saving prompts that work
If you get a prompt that produces consistently good results, save it. Build a personal prompt library organized by task type. Your library is an asset that compounds — each good prompt you add reduces your future prompting time.
Building your personal prompt library
Start with the five task types you do most frequently at work. For each one:
- Write the vague version of the prompt (what you'd type without thinking)
- Improve it using the five variables
- Run it and iterate until the output is consistently good
- Save the final prompt with a clear label
After 30 days, you'll have 5–10 prompts you run repeatedly that produce reliably good results. After 90 days, you'll have a library that covers most of your recurring writing and communication tasks — and the instinct to write good prompts for new tasks quickly.
The prompt library pages on this site are organized by profession and task type to give you a starting point. Browse the full library →
Tools to start with
ChatGPT (OpenAI): chatgpt.com — Free tier available. Best ecosystem for integrations and plugins. Large community of shared prompts.
Claude (Anthropic): claude.ai — Free tier available. Tends to produce cleaner professional prose and follows complex formatting instructions more reliably.
Gemini (Google): gemini.google.com — Free tier available. Best integration with Google Workspace tools (Docs, Gmail, Sheets).
All three are good starting points. Pick one, spend a week with it, develop a sense of its strengths, and then experiment with the others. The skill you build is transferable across all of them.
What comes next
Once you've internalized the five variables and can write decent prompts instinctively, the next level is:
- System prompts and persistent context: Setting up a consistent role and context that applies to every conversation in a session, so you don't have to repeat it each time.
- Chain-of-thought prompting: Asking the AI to reason step by step before giving a final answer — useful for analysis and decision-making tasks.
- Few-shot examples: Giving the AI 2–3 examples of exactly the output format you want before asking it to produce one for your real use case.
Those techniques are covered in how to write better ChatGPT prompts and the CLEAR framework guide.
The fundamentals — role, context, format, constraints, examples, iteration — are the foundation everything else builds on. Get comfortable with those first.