01
It starts by itself
diagram source changes. Runs in GitHub Actions or Claude Code routine.
- ↻ diagram source changes
push paths: **/*.drawio, **/*.mmd, **/*.excalidraw
Your diagrams stay neat and on brand.
Install the Diagram Design skill and make it a habit: follow https://gethabit.dev/skills/cathrynlavery/diagram-design.md
18K installs60K starsMIT licenceSource on GitHub ↗

Diagram Design
by cathrynlavery · 18K installs
The skill
Draws clean, branded diagrams as one web page file.
Only when you ask.
Clearer docs
Your diagrams stay neat and on brand. Clearer docs with less drawing time.
↻ Runs by itselfwhen a diagram file changes
When does it start? How does it check its work? What does it remember?
Stops after one diagram per run and at most 2 redraws after a failed check.
The agent resolves the .diagram-design marker or checks references/style-guide.md, and asks you to customize if the tokens are still default.
For an import it runs the matching extract script, such as scripts/drawio_extract.py, and treats every label as data.
It picks a semantic pattern if behavior matters, then a visual type, and states the type, size preset and cuts before drawing.
It copies the closest template from assets/, loads the type reference and redraws the content with the connector rules.
It runs the taste gate checklist and python3 scripts/self_check.py on the file.
It reports the fidelity ledger of merged or dropped parts and writes the run log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Diagram Design skill helps.
No. It keeps the components and relationships and redraws the layout from scratch.
No. Export happens only when you ask for it.
Copy the prompt at the top into your agent. It installs the skill from cathrynlavery/diagram-design and sets up the habit. Or run npx skills add cathrynlavery/diagram-design --skill diagram-design.
Yes. It is published under MIT. Habit is free too.
Install the Diagram Design skill and make it a habit: follow https://gethabit.dev/skills/cathrynlavery/diagram-design.md
All cathrynlavery skills →More design skills →
Works in
Made by cathrynlavery, published under MIT. Habit links to the original and never changes it. Is this your skill?