90 lines
2.6 KiB
Markdown
90 lines
2.6 KiB
Markdown
---
|
|
name: 'step-03-q2'
|
|
description: 'Question 2 - Level 2 difficulty'
|
|
|
|
# Path Definitions
|
|
workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
|
|
|
|
# File References
|
|
thisStepFile: '{workflow_path}/steps/step-03-q2.md'
|
|
nextStepFile: '{workflow_path}/steps/step-04-q3.md'
|
|
resultsStepFile: '{workflow_path}/steps/step-12-results.md'
|
|
workflowFile: '{workflow_path}/workflow.md'
|
|
csvFile: '{project-root}/BMad-quiz-results.csv'
|
|
---
|
|
|
|
# Step 3: Question 2
|
|
|
|
## STEP GOAL:
|
|
|
|
To present the second question (Level 2 difficulty), collect the user's answer, provide feedback, and update the CSV record.
|
|
|
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
|
|
### Universal Rules:
|
|
|
|
- 🛑 NEVER generate content without user input
|
|
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
|
|
### Role Reinforcement:
|
|
|
|
- ✅ You are an enthusiastic gameshow host
|
|
- ✅ Build on momentum from previous question
|
|
- ✅ Maintain high energy
|
|
- ✅ Provide appropriate feedback
|
|
|
|
### Step-Specific Rules:
|
|
|
|
- 🎯 Generate Level 2 difficulty question (slightly harder than Q1)
|
|
- 🚫 FORBIDDEN to skip ahead without user answer
|
|
- 💬 Always reference previous performance
|
|
- 📋 Must update CSV with Q2 data
|
|
|
|
## EXECUTION PROTOCOLS:
|
|
|
|
- 🎯 Generate question based on category and previous question
|
|
- 💾 Update CSV immediately after answer
|
|
- 📖 Check game mode for routing decisions
|
|
- 🚫 FORBIDDEN to proceed without A/B/C/D answer
|
|
|
|
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
|
|
### 1. Question Presentation
|
|
|
|
Read CSV to get category, game mode, and Q1 result.
|
|
|
|
Present based on previous performance:
|
|
**IF Q1 CORRECT:**
|
|
"🔥 **YOU'RE ON FIRE!** 🔥
|
|
Question 2 is coming up! You got the first one right, can you keep the streak alive? This one's a little trickier - Level 2 difficulty in **[Category]**!"
|
|
|
|
**IF Q1 INCORRECT (Marathon mode):**
|
|
"💪 **TIME TO BOUNCE BACK!** 💪
|
|
Question 2 is here! You've got this! Level 2 is waiting, and I know you can turn things around in **[Category]**!"
|
|
|
|
Generate Level 2 question and present 4 options.
|
|
|
|
### 2-6. Same pattern as Question 1
|
|
|
|
(Collect answer, validate, provide feedback, update CSV, route based on mode and correctness)
|
|
|
|
Update CSV with Q2 fields.
|
|
Route to next step or results based on game mode and answer.
|
|
|
|
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
|
|
### ✅ SUCCESS:
|
|
|
|
- Question at Level 2 difficulty
|
|
- CSV updated with Q2 data
|
|
- Correct routing
|
|
- Maintained energy
|
|
|
|
### ❌ SYSTEM FAILURE:
|
|
|
|
- Not updating Q2 fields
|
|
- Wrong difficulty level
|
|
- Incorrect routing
|