Home / Lessons / Claude prompt engineering basics

Claude prompt engineering basics โ€” write prompts that actually work

Prompt engineering sounds like a job title someone invented to sell a course. It's actually just learning to ask properly. Here are the basics that cover 90% of everyday use.

๐Ÿ“น Video coming soonWatch on YouTube โ†’

What prompt engineering actually is

Claude is not a mind reader. When you type "write me an email," it has to guess who the email is for, what it's about, how formal it should be, and how long. It guesses reasonably โ€” and you get a reasonable, generic email that sounds like nobody.

Prompt engineering is the unglamorous fix: you stop making Claude guess. You tell it what you'd tell a competent colleague who just started today. That's the whole discipline. Everything else is refinement.

If you're brand new to Claude, do the getting started lesson first โ€” this one builds directly on it.

The four parts of a good prompt

Nearly every strong prompt contains the same four ingredients. Miss one and the output gets noticeably worse.

PartWhat it doesExample
Role / contextTells Claude who's asking and what the situation is"I'm a special education teacher writing to a parent."
TaskThe one specific thing you want done"Draft an email about their son's progress this term."
ConstraintsThe boundaries: tone, length, what to avoid"Warm but professional. Max 6 sentences. No jargon."
FormatWhat the output should look like"Give me a subject line plus the email body."

You don't need to label the parts. You just need all four to be in there, in plain language.

A template you can steal

Copy this, fill in the brackets, delete what you don't need:

I'm [who you are and the situation].
I need you to [one specific task].
Tone: [warm / formal / direct]. Length: [max X sentences / words].
Avoid: [anything it tends to get wrong].
Format the answer as [email / table / bullet list / plain paragraph].
If anything is unclear, ask me before answering.

That last line is the one nobody uses. It stops Claude from confidently answering the wrong question โ€” which is the single most common way beginners waste time.

Before and after

Before: write a text for my plant sale

You'll get something that reads like a supermarket flyer. Technically correct, sounds like nothing.

After: I run a small nursery selling rare edible perennials. Write a short Finn.no listing for a Schisandra chinensis plant: Latin name, Norwegian common name, one honest sentence about what it does, fair price of 150 kr. Plain language, no marketing fluff.

Same tool, same day, wildly different output. The difference wasn't a magic phrase. It was context, task, constraints, and format โ€” all four parts, stated plainly.

Ask it to think

For anything with reasoning in it โ€” planning, comparing options, checking numbers โ€” add one line:

Think through this step by step before you answer, and show me your reasoning.

The quality jump is real. Claude slows down, works through the problem, and you can see where it went wrong if it did โ€” instead of just getting a wrong answer with a confident face.

The boring thing nobody tells you: your second prompt matters more than your first. When the answer isn't right, don't open a new chat and rewrite from scratch. Say "shorter," "less formal," "keep paragraph one, redo the rest." Iterating in the same conversation is where the actual quality comes from.

Five beginner mistakes

When a prompt isn't enough

Prompts are for one-off instructions. The moment you notice you're typing the same context again and again โ€” your role, your standards, your formatting preferences โ€” move it somewhere permanent:

Good prompting plus a well-set-up Project is honestly most of what "AI power users" are doing. It's not more complicated than that.

What's next

Take the template above and use it three times this week on real work โ€” an email, a summary, a plan. By the third one it stops feeling like a template and starts feeling like how you talk to Claude.

Want a new lesson every week?

One email. One tip. No spam.

Subscribe free โ†’
โ† Lesson planning with ClaudeAll lessons โ†’