graph TD
A[Start - Practical Exercise Designer] --> B{Lab Plan Given?}
B -->|No| C[Generate Lab Plan]
B -->|Yes| D[Load Lab Plan]
C --> D
D --> E[Process Each Lab]
E --> F[Generate Instructions]
F --> G[Check Hardware Requirements]
G --> H{Diagram Needed?}
H -->|Yes| I[Create Wiring Diagram]
H -->|No| J[Skip Diagram]
I --> K[Store Diagram URL]
J --> L[Continue]
K --> L
L --> M{More Labs?}
M -->|Yes| E
M -->|No| N[Merge Content]
N --> O[Format Final Document]
O --> P[Save practical_exercises.txt]
P --> Q[End]
subgraph Skills
R[#223 - LLM Text Response]
S[#222 - Image Generation]
end
C --> R
F --> R
I --> S