RCP-001-004-002-ROLEPLAY-RECIPE-v1.00a
CRAFT RECIPE START
RECIPE_ID: RCP-001-004-002-ROLEPLAY-RECIPE-v1.00a
TITLE: Roleplay This Recipe - Interactive Demo Generator
DESCRIPTION: Automatically generates realistic, interactive demonstrations of any CRAFT recipe by simulating both user inputs and AI responses. Shows the complete workflow including iterative refinements, follow-up questions, and final outputs. Perfect for understanding how a recipe works before using it, training purposes, or creating documentation examples. Includes realistic parameter choices and demonstrates best practices.
DIFFICULTY: easy
CATEGORY: CAT-Foundational
SUBCATEGORY: SUBCAT-Recipe-Discovery
PROMPT TEMPLATE:
I'll create a complete roleplay demonstration of the CRAFT recipe: {recipe_id}
First, let me analyze the recipe to understand its workflow, then I'll simulate a realistic interaction.
**Recipe Being Demonstrated**: {recipe_id}
**Scenario Context**: {scenario_context}
**Demonstration Style**: {demo_style}
**Number of Iterations**: {num_iterations}
**Include Mistakes**: {show_mistakes}
I'll structure the demonstration as follows:
---
## 📋 RECIPE OVERVIEW
[Brief summary of what this recipe does and when to use it]
## 🎭 ROLEPLAY DEMONSTRATION
### Initial Setup
**EXAMPLE-USER**: [Explains their need/goal]
**EXAMPLE-INPUT**:
```
{parameter_name_1}: {realistic_value_1}
{parameter_name_2}: {realistic_value_2}
[All required parameters with realistic values]
```
### Interaction Flow
**EXAMPLE-AI**: [Initial response based on recipe template]
{iteration_pattern}
### Final Output
**EXAMPLE-AI**: [Complete final result after all iterations]
---
## 💡 KEY INSIGHTS FROM THIS DEMO
1. **Best Practices Shown**:
- [What worked well]
- [Effective parameter choices]
- [Good interaction patterns]
2. **Common Patterns**:
- [Typical workflow]
- [Expected iterations]
- [Time estimates]
3. **Tips for Success**:
- [Specific advice based on demo]
- [Parameter optimization]
- [When to stop iterating]
{additional_examples}
## 🔄 VARIATIONS TO TRY
Based on this demo, you might also try:
- [Alternative parameter values]
- [Different use cases]
- [Related recipes that pair well]
---
The demonstration will use {example_persona} as the user profile and {example_industry} as the context to make it realistic and relatable.
PARAMETERS:
- recipe_id: string, required=True, description="The CRAFT recipe ID or name to demonstrate (e.g., 'RCP-001-002-001-PROMPT-REFINER-v1.00a')"
- scenario_context: string, required=False, default="typical business use", description="Specific scenario or use case for the demonstration"
- demo_style: string, required=False, default="conversational", choices=["conversational", "formal", "technical", "beginner-friendly"], description="Style of the demonstration dialogue"
- num_iterations: integer, required=False, default=3, description="Number of back-and-forth iterations to show (1-5)"
- show_mistakes: boolean, required=False, default=True, description="Include common mistakes and corrections"
- example_persona: string, required=False, default="startup founder", choices=["startup founder", "marketing manager", "content creator", "consultant", "developer", "student"], description="User persona for the example"
- example_industry: string, required=False, default="SaaS", choices=["SaaS", "e-commerce", "consulting", "education", "healthcare", "finance", "creative"], description="Industry context for examples"
- iteration_pattern: string, required=False, default="progressive refinement", choices=["progressive refinement", "exploring options", "troubleshooting", "quick success"], description="How the interaction evolves"
- additional_examples: string, required=False, default="Show one variation", choices=["Show one variation", "Show multiple variations", "Focus on main example only"], description="Whether to include alternative approaches"
EXAMPLES:
1. Demonstrating the Prompt Refiner recipe:
```python
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-004-002-roleplay-recipe",
recipe_id="RCP-001-002-001-PROMPT-REFINER-v1.00a",
scenario_context="Creating a customer service chatbot prompt",
demo_style="beginner-friendly",
num_iterations=3,
example_persona="startup founder"
)
```
2. Showing the 5 Whys analysis in action:
```python
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-004-002-roleplay-recipe",
recipe_id="RCP-007-001-001-FIVE-WHYS-v1.00a",
scenario_context="Declining user engagement on mobile app",
demo_style="technical",
show_mistakes=True,
example_industry="SaaS"
)
```
3. Demonstrating complex copywriting frameworks:
```python
result = quick_recipe(
"https://www.aicookbook.ai/recipes-via-craft-api/rcp-001-004-002-roleplay-recipe",
recipe_id="RCP-003-003-001-COPYWRITING-MASTER-v1.00a",
scenario_context="Product launch email campaign",
iteration_pattern="exploring options",
additional_examples="Show multiple variations",
example_persona="marketing manager"
)
```
INTEGRATION NOTES:
This recipe pairs perfectly with:
- RCP-001-004-001-RECIPE-SEARCH-v1.00a - Find recipes then see them in action
- Any recipe you're considering using - Try before you buy
- Training materials - Create consistent examples for documentation
The roleplay demonstration helps users understand:
- Optimal parameter values for their use case
- Expected interaction patterns and iteration counts
- Common pitfalls and how to avoid them
- Time investment required for the recipe
BEST PRACTICES:
1. Use realistic scenarios that match actual use cases
2. Include both successful and unsuccessful parameter choices
3. Show the iterative nature of recipes that require refinement
4. Demonstrate when to stop iterating (good enough vs perfect)
5. Include time estimates for each interaction phase
6. Show how to recover from suboptimal initial inputs
PARAMETER VALIDATION:
- recipe_id: Must be a valid CRAFT recipe identifier
- num_iterations: Limited to 1-5 to maintain readability
- scenario_context: Keep focused and specific (max 100 words)
- Multiple personas/industries can be combined for richer examples
ROLEPLAY PATTERNS:
The demonstration adapts based on recipe type:
- Single-prompt recipes: Show parameter variations
- Iterative recipes: Display full refinement cycle
- Analysis recipes: Include problem evolution
- Creation recipes: Show quality progression
- Discovery recipes: Demonstrate search refinement
CRAFT RECIPE END