</> ConvertAtlas Developer Tools
AI Tools & Prompting Lesson 6 Beginner 13 min

Prompt Engineering Basics

The simple anatomy of a great prompt — role, task, context, format and constraints — with a formula you can reuse forever.

A prompt is simply the instruction you give an AI. The difference between a frustrating answer and a brilliant one is almost never the tool — it is the prompt. The good news: writing strong prompts follows a simple, repeatable structure that anyone can learn in one lesson.

What is a prompt?

PromptThe instruction or question you give an AI tool. It tells the AI what you want, and its quality directly shapes the quality of the answer.

Vague prompts get vague answers. "Write about marketing" could mean anything, so the AI guesses — usually producing something generic. The fix is not magic words; it is giving the AI the same information you would give a capable assistant who knows nothing about your situation.

The anatomy of a great prompt

Strong prompts tend to include five ingredients. You do not always need all five, but the more relevant ones you include, the better the result.

RoleTaskContextFormatConstraints Act as an experienced copywriterWrite 5 email subject linesFor a bakery summer saleAs a numbered listUnder 10 words, friendly tone
A strong prompt usually combines a role, a clear task, useful context, a desired format and sensible constraints.
  • Role — who the AI should act as ("Act as an experienced copywriter").
  • Task — exactly what you want done ("write three subject lines").
  • Context — the background it needs ("for a small bakery's summer sale").
  • Format — how the answer should look ("as a numbered list").
  • Constraints — the limits ("under 10 words each, friendly tone").

A reusable prompt formula

Put the ingredients together and you get a formula you can lean on for almost anything:

Prompt formula
Act as a [role].
Your task is to [task].
Context: [relevant background].
Format the answer as [format].
Constraints: [limits, tone, length].

Bad prompt vs improved prompt

Same goal, very different prompts
Weak prompt
  • "Write subject lines for my sale."
  • No role, no context, no format
  • No tone or length limits
  • Result: generic, hit-or-miss
Strong prompt
  • Acts as a copywriter
  • Knows it is a bakery summer sale
  • Asks for a numbered list
  • Sets tone and a 10-word limit
The improved prompt
Act as an experienced email copywriter.
Your task is to write 5 subject lines for a marketing email.
Context: a small local bakery running a summer sale with 20% off all cakes.
Format the answer as a numbered list.
Constraints: under 10 words each, warm and friendly tone, no emojis.

Ready-made templates

Keep a few templates handy and fill in the brackets. They save time and consistently produce better answers.

Explain at three levels
Act as a patient tutor. Explain [topic] in three levels: to a 10-year-old, to a teenager, and to an adult beginner. Keep each under 80 words.
Edit and explain
Act as an editor. Improve the text below for clarity and flow without changing its meaning. Then list the 3 main changes you made.

[paste text]
There are no magic wordsYou do not need clever "magic words". Clear role, task, context, format and constraints beat any secret phrase. Specificity is the whole skill.
Try it yourself: apply the formula

Take a vague request you might normally type, like "help me write a post", and rebuild it with the formula: role, task, context, format, constraints. Run both versions and compare the answers side by side.

Quick quiz

1. What is a prompt?

2. Which five ingredients make a strong prompt?

3. Why do vague prompts give weak answers?

4. What beats "magic words" in prompting?

Key takeaways
  • A prompt is your instruction — its quality sets the answer's quality.
  • Strong prompts combine role, task, context, format and constraints.
  • Use the reusable formula instead of searching for magic words.
  • Keep templates handy and fill in the brackets to save time.