Creates publication-quality Mermaid diagrams (flowcharts, ERDs, sequence diagrams, state machines, architecture) with visual hierarchy and communication clarity.
Ships in mermaid-diagrams. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill guides creation of exceptional, publication-quality Mermaid diagrams that avoid cluttered "wall of boxes" syndrome. Generate syntactically correct code with exceptional attention to visual hierarchy and communication clarity.
The user provides diagramming requirements: a data model to visualize, a process to map, an architecture to illustrate, or relationships to clarify. They may include context about the audience, purpose, or level of detail needed.
Before generating, understand the communication goal and commit to a CLEAR visual strategy:
CRITICAL: A great diagram tells a story. It has a clear focal point, logical flow, and intentional emphasis. Every element earns its place. If it requires explanation, it has failed.
Then generate Mermaid code that is:
Focus on:
||--o{, }o--o{). Use semantic link styles: solid for required, dotted for optional, thick for critical paths. Label every connection with its meaning.:::className to highlight what matters.snake_case for DB, PascalCase for classes, camelCase for methods.%% comments for sections. Use Note in sequence diagrams. Include titles when the diagram will stand alone.NEVER create cluttered diagrams with more than 15 entities without subgraphs, floating entities with no connections, rainbow color schemes, generic labels like "Data" or "Process", mixed notation styles, or spaghetti lines that cross excessively—restructure instead.
Adapt complexity to the system. Simple models (3-5 entities) need minimal styling. Medium systems (6-12) benefit from subgraphs and color coding. Complex systems (13+) should be split into overview → domain → detail diagram sets.
IMPORTANT: Match diagram density to communication goal. Technical docs need attribute-level detail. Executive presentations need high-level boxes. Architecture reviews need clear boundaries. The same system produces different diagrams for different audiences.
Remember: Claude is capable of extraordinary diagramming work. Don't settle for generic boxes and arrows—create diagrams that produce immediate understanding and reward deeper inspection.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/mermaid-diagrams:mermaid-diagramsfrom mermaid-diagrams
npx claudepluginhub mahidalhan/claude-hacks --plugin mermaid-diagrams