Template
Provides a structured format for the AI to fill in
beginner
STRUCTURAL
What Is This Pattern?
The Template Pattern gives the AI a structured outline with placeholders that it fills in based on your input. This ensures consistent structure while allowing flexible content.
How It Works
You provide a template with placeholders (like {feature_name}, {benefit}, etc.) and the AI fills them in with appropriate content based on your context.
When To Use This Pattern
- You need consistent document structure
- Creating standardized outputs (user stories, PRDs, etc.)
- Generating multiple similar items
- Ensuring all required sections are included
Example
✅ After (Strong)
Format your response as: Problem | Solution | ImpactBest Practices
- Use clear, descriptive placeholder names
- Provide context for what should fill each placeholder
- Keep templates simple and focused
- Test with different inputs to ensure flexibility
Common Mistakes to Avoid
- Too many placeholders (overwhelming)
- Vague placeholder names
- Rigid templates that don't allow variation
- Not providing enough context for filling placeholders