koen@vanderborght:~$

Prompt Engineering Cheat Sheet

Master the art of effective AI communication

Core Principles

1. Be Clear and Specific

Provide detailed instructions and context. Vague prompts lead to vague responses.

Good Example:

Write a 300-word product description for wireless Bluetooth headphones targeting fitness enthusiasts, highlighting battery life, sweat resistance, and sound quality.

Poor Example:

Write about headphones.

2. Use Examples (Few-Shot Learning)

Show the AI what you want by providing examples of the desired output format.

Example:

Classify these emails as spam or not spam:

Email: 'Congratulations! You've won $1M!' → Classification: Spam
Email: 'Meeting moved to 3 PM tomorrow' → Classification: Not Spam
Email: 'Your order has shipped' → Classification: ?

3. Step-by-Step Instructions

Break complex tasks into numbered steps to guide the AI through your process.

Example:

Analyze this data step by step:
1. Identify the main trends
2. Calculate key statistics
3. Highlight anomalies
4. Provide actionable insights

Advanced Techniques

Chain of Thought

Ask the AI to show its reasoning process for complex problems.

Role Assignment

Give the AI a specific role or persona to improve response quality.

Output Formatting

Specify the exact format you want for the response.


Do’s and Don’ts

DODON’T
Be specific about length and formatUse overly complex language
Provide context and backgroundMake assumptions about context
Use clear, direct languageAsk multiple unrelated questions
Test and iterate your promptsIgnore the importance of examples
Break complex tasks into stepsForget to specify output constraints

Quick Tips

© 2026 Koen van der Borght all systems operational