AI workflows
diagram-audience-fit
Lets AI draw architecture diagrams in which every line traces back to its source
- My role
- Independent design and development
- Status
- Live
- Last updated
- 2026-11-07
- Tech
- Claude Code skill, Node.js, Python
- License
- Code MIT; docs CC BY 4.0
Only run on Windows 11, Node 24 and Python 3.12. Rules such as “the source really supports this line” and “the reader version was not softened” rely on process and human review, and are not all enforced by the program.

Problem
Beautiful picture, but the lines are guesses.
When you ask AI to draw a system architecture diagram, two outcomes are common: it looks complete while its connections are speculative, or every line is precise but only the person who wrote the code can read it.
Method
Write a text model first, and draw only after it passes the checks.
Two Claude Code skills are connected in one pipeline. Drawing (diagram-authoring) first writes the program, configuration and design documents as a node table and an edge table, checks them against a schema, and renders only after they pass; the page also carries a built-in geometry self-check. Audience tuning (audience-fit) then redraws the same findings for the owner, a manager or a non-engineering reader; numbers, causal strength, scope and limitations may not be softened in any way, and the rewritten and original versions are delivered as a pair.

Measured
The cover diagram is this repo drawing itself.
A probe reads the references between files and draws the engineering version; the source of each line is checked one by one against the fixed version v1.0.0. The reader version passed with 0 FAILs, and both pages and the build script are in the repo.
20lines, each traced to a file and line number
Method: the engineering version on the README cover is drawn from the references a probe actually reads between files, and each line’s source is checked one by one against the fixed version v1.0.0; the reader version passed with 0 FAILs.
Full explanation →Limits
What the program can enforce and what needs human review are written separately.
- The program checks whether sources are filled in, the geometry, and whether the reader version introduces numbers the original does not have.
- “The source really supports this line” and “the reader version was not softened” rely on process and human review.
- Only run on Windows 11, Node 24 and Python 3.12.