What problem does it solve? Writing system design documents for legacy Delphi weighing-scale modules requires manually cross-referencing use case requirements, Object Pascal source code (.pas/.dfm), and database specifications, which is slow and error-prone. ## Core Features & Use Cases - Automated SD Generation: Produces complete system design documents containing function descriptions, data table details, Mermaid ER diagrams, Delphi program listings, and categorized SQL statements. - Delphi Source Analysis: Extracts uses dependencies, procedures, functions, SQL statements, and .dfm form components from MM_D7/MM_D10 modules, including Form Stub detection and version-control query patterns. - Batch Multi-Module Processing: Generates multiple design documents in one run with parallel source analysis. - Use Case: Ask it to convert UC-arrivePlant-廠門地磅作業 into a design document, and it reads the use case, analyzes uarrivePlant.pas/.dfm, cross-checks the database spec, and outputs SD-arrivePlant-廠門地磅作業-系統設計.md to docs/02_Design. ## Quick Start Ask the assistant to generate a system design document from the UC-arrivePlant-廠門地磅作業 use case and save it to docs/02_Design.