01
It starts by itself
structure or flow changes. Runs in Claude Code routine.
- ↻ structure or flow changes
pull request changes models, schemas, APIs or architecture docs
Keep diagrams matched to the code.
Install the Mermaid Diagrams skill and make it a habit: follow https://gethabit.dev/skills/softaworks/mermaid-diagrams.md
5K installs3K starsMIT licenceSource on GitHub ↗

Mermaid Diagrams
by softaworks · 5K installs
The skill
The mermaid diagrams skill creates software diagrams in Mermaid syntax: class, sequence, flowchart, ERD, C4, state, git graph, gantt and charts, with type selection, theming and export through the Mermaid CLI.
Only when you ask.
The habit
Keep diagrams matched to the code.
↻ Runs by itselfstructure or flow changes
When does it start? How does it check its work? What does it remember?
Stops after the changed diagrams and 2 render retries each.
Your agent sees which models, flows or services changed.
It chooses class, sequence, flowchart, ERD, C4, state or other diagrams per the selection guide.
It edits the .mmd file, adding %% comments for complex links.
It splits crowded diagrams into focused views.
It renders with mmdc to catch syntax errors, using references/advanced-features.md for themes.
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 Mermaid Diagrams skill helps.
GitHub, GitLab, VS Code with an extension, Notion, Obsidian and Confluence.
Unknown words break diagrams and bad parameters fail without errors.
Copy the prompt at the top into your agent. It installs the skill from softaworks/agent-toolkit and sets up the habit. Or run npx skills add softaworks/agent-toolkit --skill mermaid-diagrams.
Yes. It is published under MIT. Habit is free too.
Install the Mermaid Diagrams skill and make it a habit: follow https://gethabit.dev/skills/softaworks/mermaid-diagrams.md
All softaworks skills →More docs skills →
Works in
Made by softaworks, published under MIT. Habit links to the original and never changes it. Is this your skill?