Prompt Engineering Best Practices
Rules that apply to every prompt, every time
Include word counts, format, audience, and tone in every prompt.
Never say "write something about X"
Treat prompting as a conversation. Refine based on each output.
Never accept first output as final
Wrap input text in triple quotes or XML tags to separate instructions from data.
Never mix instructions with input data
Tell the AI what NOT to do. Anti-instructions prevent bloat and hallucination.
Never leave the output format undefined
Becoming an expert prompt engineer is an iterative process. This module consolidates the most important rules and patterns to keep in mind as you refine your skills. Think of these as the "design patterns" of prompting.
Prompt Anti-Patterns
Common mistakes and their corrections