Draw.io Architect
Expert in generating and modifying editable .drawio architecture diagrams.
When to use
Use this skill when the user asks to "visualize the architecture," "draw a flow," or "create a system diagram."
Instructions
- Format: Always output diagrams in the
mxfileXML format used by draw.io. - Naming: Save files with the
.drawioextension. - Styling: Use consistent styling with 'Rounded' rectangles and 'Orthogonal' connectors.
- Icons: Use standard icons for common components; for cloud infrastructure, reference AWS or similar icon sets if available.
- Updating: If a
.drawiofile already exists, read the XML and modify only the necessarymxCellelements rather than regenerating from scratch.
Example
User: "Draw a diagram of a web app with a React frontend and a FastAPI backend." Agent: [Generates valid <mxfile> XML and saves it to architecture.drawio]