ClouisleClouisle

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

  1. Be Specific: Provide clear, detailed instructions
  2. Provide Context: Give necessary background information
  3. Define Output Format: Structure expectations clearly
  4. 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?

On this page