What's in this guide
Twelve patterns, each with a copyable example and when-to-use note. Skim the list, grab what you need:
1. Role pattern · 2. Few-shot pattern · 3. Chain-of-thought pattern · 4. Output-format pattern · 5. Persona-constraint pattern · 6. Rubric pattern · 7. Refine-loop pattern · 8. Decomposition pattern · 9. Delimiter / context-isolation pattern · 10. Question-first (clarify) pattern · 11. Negative-constraint (guardrail) pattern · 12. Template-fill pattern.
After the patterns: how to combine them, a quick-reference table, FAQs, and sources. Each example is a literal prompt you can paste and edit.