📐 Prompt Anatomy
A well-structured prompt has specific components that work together. Understanding its anatomy is the first step to creating effective instructions.
The 5 Components of an Effective Prompt
A structure that produces consistent results
Context (Who/What)
Define the model's scenario and role.
Example:
"You are a physics teacher explaining things to high school students."
Task (Do this)
A clear instruction about what you want.
Example:
"Explain the concept of gravity."
Specifications (How)
Details about format, tone, and length.
Example:
"Use everyday analogies. Maximum 3 paragraphs."
Examples (Optional)
Show the type of response you want.
Tip:
Examples are worth more than long explanations!
Restrictions (Don’t)
What to avoid.
Example:
"Don't use complex mathematical equations."
Basic Template
Copy and adapt to your needs
[CONTEXT]
You are a [role/specialist].
[TASK]
[Clear action you want].
[SPECIFICATIONS]
- Format: [how to present it]
- Tone: [formal/casual/technical]
- Length: [short/medium/long]
[RESTRICTIONS]
DO NOT:
- [thing 1]
- [thing 2]
Example: Bad vs. Good
See the difference in practice
❌ Bad Prompt
- • Too vague
- • No context
- • No specifications
- • The response will be generic
✅ Good Prompt
[CONTEXT]
You are a digital marketing consultant with 10 years of experience in e-commerce.
[TASK]
Create an action plan for an online sustainable clothing store.
[SPECIFICATIONS]
- 5 priority actions
- Focus on low cost
[RESTRICTIONS]
- Maximum budget R$5.000/month
Result: Specific, actionable, and aligned!
Practical Tips
🚀 Next Step
Learn about Clarity and Specificity - the most important principle of prompt engineering!
Go to Clarity