graph TD
A[SpecificationAgent] --> B{Researching and Analyzing}
B --> C[#174 - Copy & Download External File for example/template specs]
B --> D[#177 - Write Text Or Copy From Researched Text to analyze selected APIs/libraries and edited design mockups]
A --> E{Writing Introduction}
E --> F[#178 - Rewrite Text Based On Instructions to write introduction section]
A --> G{Detailing Technical Aspects}
G --> H[#177 - Write Text Or Copy From Researched Text, #178 - Rewrite Text Based On Instructions, #179 - Rewrite HTML Based On Instructions to detail technical process, functionality, user flows, data structures, and logic]
A --> I{Explaining Design Mockups}
I --> J[#179 - Rewrite HTML Based On Instructions to explain each designed mockup page and link visual elements to functionality]
A --> K{Editing and Finalizing}
K --> L[#178 - Rewrite Text Based On Instructions, #179 - Rewrite HTML Based On Instructions to edit, review, and finalize each section of the document]
K --> M[#168 - Save text/html to server to save final document]
A --> N{Summarizing and Returning Output}
N --> O[#215 - Summarise and Return All Final Output Files]
C & D --> F
F --> H & J
H & J --> L
L --> M
M --> O