Skip to content

Architecture diagrams

What's inside

Path Purpose
skills/drawing-architecture-diagrams/SKILL.md When to use the skill, the workflow, layout bands, design rules, patterns and common mistakes
skills/drawing-architecture-diagrams/scripts/archdiagram.py Design-system library: pages (A5/A4/A3), containers, subnets, panels, legend, numbered flows, observations, title block, edges; plus lint and render
skills/drawing-architecture-diagrams/examples/event_driven_platform_a4.py Worked example (fictional Northwind Traders): event-driven AKS + Service Bus order platform on one A4 page
skills/drawing-architecture-diagrams/references/icons.md Verified draw.io icon paths and how to find and verify new ones
tests/selftest.py Checks that the example lints clean and that every lint rule fires
cli.mjs, install.mjs npm package: init, uninstall and doctor

Lint flags overlapping labels, labels outside the frame, titles covered by icons, icons that render as plain boxes, oversized icons, ragged label baselines, cells hidden behind filled boxes, and wasted space (empty boxes, sparse boxes, one-sided gaps, empty areas and empty bands). It is necessary, not sufficient: the skill always requires viewing the rendered PNG.