Architecture of cathrynlavery/diagram-design
cathrynlavery/diagram-design is 197 source files holding 422 symbols across 2 modules, written mainly in Python. The largest module is skills, with 148 files.
How diagram-design fits together
Input enters through the shared skill in skills/diagram-design/, which agent-compatible tools use for diagram requests. The skill selects a visual type and applies a style guide to produce static HTML and SVG output. The assets/index.html gallery lets users open the diagram variants directly in a browser. The scripts/mermaid_extract.py file extracts Mermaid sources for redraw workflows. The scripts/lint-skin.py and scripts/test-lint-a11y.py files support style and accessibility checks. The scripts/verify-mermaid-import.py file verifies Mermaid imports.
Largest modules
- skills: 148 files and 23,397 lines of code
- scripts: 21 files and 5,090 lines of code
- .github: 6 files and 337 lines of code
- docs: 6 files and 80 lines of code
- root: 5 files and 630 lines of code
- commands: 4 files and 134 lines of code
- prompts: 3 files and 51 lines of code
- .claude-plugin: 2 files and 40 lines of code
Documentation
Repowise documents diagram-design in 69 pages generated from the source.
More on diagram-design: summary and FAQ, codebase overview, code health.