Cases
Cases are pre-built real-world scenarios that demonstrate specific prompt engineering strategies in action. Each case has a built-in system prompt, a strategy explanation, and an interactive chat.
Overview
The Cases page bridges theory and practice. Instead of staring at a blank Playground, you start from a real-world scenario — complete with a purpose-built system prompt — and immediately see how prompt engineering decisions affect the output.
Each scenario demonstrates a specific PE strategy: Socratic questioning, empathetic persona, constraint-based planning, structured extraction, and more.
Available scenarios
| Scenario | Role | PE Strategy |
|---|---|---|
| AI Tutor | Patient educator | Socratic Method — guide with questions, not answers |
| Customer Support | Empathetic agent | Empathy + Classification + Resolution framework |
| Travel Planner | Expert planner | Constraint-aware generation with budget limits |
| Resume Analyzer | Senior recruiter | Structured gap analysis with role matching |
| Medical Scribe | Clinical documenter | Professional nomenclature + safety disclaimer injection |
| Code Reviewer | Principal engineer | Multi-dimension review (security + performance) |
Strategy cards
Each scenario displays a Prompt Strategy card in the right panel that explains the specific technique being applied. Reading these cards is how you connect the output you see to the underlying prompting decision that produced it.
For example, the AI Tutor card explains why the system prompt never gives direct answers — it's the Socratic Method in practice.
How to use
- Select a scenario from the left sidebar
- Read the Prompt Strategy card to understand the technique
- Type a user message in the input (e.g., "I don't understand recursion" for the AI Tutor)
- Click Run and observe how the system prompt shapes the response
- Try different inputs to explore the scenario further