drawio-architecture-diagramslisted
Install: claude install-skill wangchongyu/drawio-architecture-diagrams
# draw.io architecture drawings
Engineering drawings are read by people who were not in the room. They must be exact, calm to look at and editable. This workflow gets there by treating a drawing like code: decide the layout, generate the XML from a script, lint it, render it, look at it, fix, repeat.
Bundled:
- `scripts/drawio_writer.py` Page/save API, monochrome styles, connected edges, a layout linter
- `scripts/render.py` renders every page of a .drawio to PNG through the draw.io desktop CLI
- `examples/aws_web_app.py` complete two page drawing (AWS web application, existing and proposed) using every pattern below; read it before writing a new generator
## Workflow
1. **Pin down content before geometry.** List the boxes, the containers they sit in, and every link with its type (data, power, by others, thick trunk) and a two or three word label. If the user supplied a reference picture or an agreed topology, follow it exactly and write down anything you add or assume, so you can tell the user.
2. **Decide the frame.** Page size, column grid, row order. If the drawing must fit into part of an existing drawing, match that region's width and height (for example "600 wide, replaces the right-hand column"). Flow reads top to bottom or left to right; keep one direction.
3. **Write a generator** (a throwaway script is fine) that imports the writer:
```python
import sys; sys.path.insert(0, "<skill dir>/scripts")
from drawio_writer import Page, save
```
Use abso