← ClaudeAtlas

drawio-architecture-diagramslisted

Produce editable draw.io (.drawio / diagrams.net) architecture, system connection, wiring, network, deployment, sequence and data flow drawings by writing a small Python generator with absolute coordinates, linting the layout, rendering PNGs headlessly with the draw.io desktop CLI and visually inspecting them until the drawing is clean. Use this whenever the user asks for a draw.io, drawio or diagrams.net drawing, an architecture diagram, a cloud, network or system connection diagram, a topology or wiring drawing, or asks to redraw, drill down, or replace a part of an existing drawing, and whenever a diagram must be precise, monochrome, loosely spaced, free of overlapping lines and delivered as an editable file rather than a picture. Also use it to render or visually check an existing .drawio file.
wangchongyu/drawio-architecture-diagrams · ★ 1 · DevOps & Infrastructure · score 69
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