Prompt engineering basics: write prompts that get useful answers
A five-part prompt formula (role, task, context, format, constraints) with before-and-after examples you can reuse at work.
"Prompt engineering" sounds technical, but it is really just clear briefing. If you would brief a smart new colleague well, you can prompt AI well. Use this five-part formula.
The RTCFC formula
| Part | Question to answer | Example |
|---|---|---|
| Role | Who should the AI act as? | "You are an experienced HR manager…" |
| Task | What exactly do you want? | "…write an onboarding checklist…" |
| Context | What does it need to know? | "…for a remote sales associate joining a 20-person company…" |
| Format | How should the answer look? | "…as a table with Day, Task, Owner…" |
| Constraints | Any limits or rules? | "…covering the first 10 working days, max 25 rows." |
Before and after
Before: "Write a LinkedIn post about our new course."
After:
"You are a friendly education marketer. Write a LinkedIn post announcing our free 4-week 'Python for Business' course. Audience: busy professionals with no coding background. Mention that each lesson is 20 minutes and ends with a practical exercise. Format: a hook line, 3 short paragraphs, 3 hashtags. Keep it under 120 words and avoid jargon."
The second prompt takes 30 seconds longer to write and saves ten minutes of rewriting.
Iterate like a conversation
- "Make it shorter and more direct."
- "Give me 3 alternative opening lines."
- "What information would make this better? Ask me questions first."
That last one is powerful: asking the AI to interview you before answering often produces the best results.
Common mistakes
- Asking for everything in one giant prompt. Break big jobs into steps.
- Not giving examples. If you have a good example of the output you want, include it.
- Forgetting the audience. "For a CFO" and "for a new intern" produce very different answers.
Next step: grab our free prompt library in Templates & Resources.
Join the discussion
Have a question or a tip to add? Comments are reviewed before they're published.