graph TD
A[Start Content Generation Agent] --> B[Receive Module Outline]
B --> C[Initialize Module Counter n=1]
C --> D[Process Module n]
D --> E[Extract Module n Details]
E --> F[Generate Content with Skill #223]
F --> G{Module Content Complete?}
G -->|No| H[Refine Content]
H --> F
G -->|Yes| I[Store Module n Content]
I --> J{All Modules Done?}
J -->|No| K[Increment n]
K --> D
J -->|Yes| L[Compile All Module Content]
L --> M[Validate Content Collection]
M --> N[Format for Next Agent]
N --> O[End Content Generation Agent]
subgraph Content Generation Process
D
E
F
G
H
I
end