Prompt Engineering
Write clear, specific, reusable prompts to improve Agent conversation quality
Follow core principles and system prompt design patterns to produce high-quality prompts.
Core Principles
- Be Specific: Provide clear, detailed instructions
- Provide Context: Give necessary background information
- Define Output Format: Structure expectations clearly
- Use Examples: Let the model learn from a few-shot pattern
System Prompt Design
You are a [role] that [purpose].
Your responsibilities:
- [Task 1]
- [Task 2]
Guidelines:
- [Guideline 1]
- [Guideline 2]Common Pitfalls
- ❌ Ambiguous instructions
- ❌ Too long prompts (consume token limits)
- ❌ No examples
- ✅ Clear, concise, with examples
How is this guide?