graph TD
Start[Quiz Generation Agent Start] --> GetModules[Get List of 15 Modules]
GetModules --> ModuleLoop[Module Processing Loop]
ModuleLoop --> ReadContent[Read Module Content]
ReadContent --> ExtractTopic[Extract Module Topic]
ExtractTopic --> GeneratePrompt[Create LLM Prompt]
GeneratePrompt --> Skill223[Execute Skill #223 - LLM Response]
Skill223 --> GenerateQuestions[Generate 15 Questions]
GenerateQuestions --> CreateAnswerKey[Create Answer Key]
CreateAnswerKey --> FormatOutput[Format Quiz Document]
FormatOutput --> SaveQuiz[Save Quiz Text File]
SaveQuiz --> CheckComplete{All Modules Done?}
CheckComplete -->|No| ModuleLoop
CheckComplete -->|Yes| FinalizeOutput[Compile All Quizzes]
FinalizeOutput --> ValidateQuizzes[Validate Quiz Set]
ValidateQuizzes --> End[Quiz Generation Complete]
style Start fill:#90EE90
style End fill:#FFB6C1
style CheckComplete shape:diamond