Build an Excalidraw Diagram
- Establish the audience, message, diagram type, required facts, output path, and readability target.
- Read references/excalidraw-format.md, then compose or patch
.excalidrawJSON with stable IDs and bound text. - Run
bin/excalidraw FILEto validate document shape, element bounds, overlaps, dangling bindings, and canvas extent. - Render with an available Excalidraw-compatible renderer, inspect the image, and revise spacing, hierarchy, color contrast, labels, and edge routing.
- Preserve editable JSON and deliver a rendered artifact. Never claim visual quality from schema validation alone.
Use agents/diagram-reviewer.md for an independent visual and semantic review.