Skip to main content

Chapter 1: Common Prompt Patterns

🎯 Learning Objectives​

  • Apply the CREATE framework
  • Use RACE for structured prompts
  • Implement RTF for task clarity
  • Build a pattern library

The CREATE Framework​

Character, Request, Examples, Adjustments, Type, Extras

C - Character: "You are a marketing expert..."
R - Request: "Write a product description..."
E - Examples: "Like this: [example]"
A - Adjustments: "Make it persuasive but not pushy"
T - Type: "Format as a 150-word paragraph"
E - Extras: "Include a call-to-action"

The RACE Framework​

Role, Action, Context, Expectations

Role: "You are a financial analyst"
Action: "Analyze this quarterly report"
Context: "For a board presentation"
Expectations: "Focus on revenue trends, provide 3 recommendations"

The RTF Framework​

Role, Task, Format

Role: "Senior software engineer"
Task: "Review this code for security vulnerabilities"
Format: "List issues with severity ratings and fixes"

Pattern Comparison​

PatternComponentsBest For
CREATE6 elementsComplex, detailed prompts
RACE4 elementsBusiness/professional tasks
RTF3 elementsQuick, straightforward tasks

Building Your Pattern Library​

Start collecting patterns that work for your use cases:

Pattern Library Entry:
- Name: "Product Description Generator"
- Pattern: RTF
- Template: [Role] + [Product details] + [Format specs]
- Success rate: High
- Notes: Works best with specific features list

Key Takeaways​

Summary
  1. CREATE for comprehensive prompts (6 components)
  2. RACE for professional/business prompts (4 components)
  3. RTF for quick tasks (3 components)
  4. Build a pattern library for consistent results

← Back to Module 5 | Next: Building Reusable Templates β†’