01
It starts by itself
diagram spec changed. Runs in Claude Code routine or GitHub Actions.
- ↻ diagram spec changed
push touches *.spec.yaml
Your diagrams stay correct as things change.
Install the Draw.io skill and make it a habit: follow https://gethabit.dev/skills/bahayonghang/drawio.md
8K installs291 starsMIT licenceSource on GitHub ↗

Draw.io
by bahayonghang · 8K installs
The skill
Draws diagrams from a text file and checks them.
Only when you ask.
Up-to-date diagrams
Your diagrams stay correct as things change. Less confusion for your team.
↻ Runs by itselfevery time a diagram file changes
When does it start? How does it check its work? What does it remember?
Stops after 3 diagrams or 2 rework rounds per diagram.
Identify the diagram type and load only the references for that route.
Turn text, Mermaid, CSV or an imported .drawio into the canonical YAML spec.
Run node scripts/cli.js with --validate to write the .drawio and the image.
Look at the exported PNG, or the SVG fallback, for overlaps and label problems.
Patch the YAML when validation or the visual check fails, then render again.
List deliverables, commands run, the image checked and any missing exporters.
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 Draw.io skill helps.
Only for PNG, PDF and JPG export. Without it the skill falls back to a standalone SVG.
No. The default path works offline; the live browser backend is optional.
No. Publication figures belong to the separate drawio-academic-skills overlay.
Copy the prompt at the top into your agent. It installs the skill from bahayonghang/drawio-skills and sets up the habit. Or run npx skills add bahayonghang/drawio-skills --skill drawio.
Yes. It is published under MIT. Habit is free too.
Install the Draw.io skill and make it a habit: follow https://gethabit.dev/skills/bahayonghang/drawio.md
All bahayonghang skills →More docs skills →
Works in
Made by bahayonghang, published under MIT. Habit links to the original and never changes it. Is this your skill?