mermaid-diagram

Solid

Use this skill when you need to draw diagrams including: Flowchart, Sequence Diagram, Class Diagram, State Diagram, ER Diagram, User Journey, Gantt Chart, Pie Chart, Quadrant Chart, Requirement Diagram, Gitgraph, Mindmap, Timeline, Sankey, XY Chart (Bar/Line), Block Diagram, Packet Diagram, Kanban, Architecture Diagram, C4 Diagram, Radar Chart, Treemap, and ZenUML. You MUST use this skill BEFORE outputting any mermaid code block.

AI & Automation 572 stars 100 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
92
Recency 20%
100
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Diagram Visualization with Mermaid When you need to visualize concepts, workflows, architectures, or relationships, use Mermaid diagram syntax. ## IMPORTANT: Two-Step Workflow To create mermaid diagrams, follow this two-step workflow: 1. **Step 1: Validate with `render_mermaid` tool** - Use the tool to validate your mermaid syntax 2. **Step 2: Output mermaid code block** - After successful validation, output the mermaid code block in your response This ensures: - Syntax is validated before displaying to the user - The diagram is automatically saved in the conversation history - The diagram can be referenced later in the conversation ### Step 1: Use render_mermaid Tool Call the `render_mermaid` tool with the following parameters: | Parameter | Type | Required | Description | | -------------- | ------ | -------- | --------------------------------------------------------- | | `code` | string | Yes | The mermaid diagram code (without the ```mermaid wrapper) | | `diagram_type` | string | No | Diagram type hint (flowchart, sequence, etc.) | | `title` | string | No | Optional title for the diagram | ### Example Tool Call ```json { "name": "render_mermaid", "arguments": { "code": "flowchart TD\n A[Start] --> B{Decision}\n B -->|Yes| C[Action 1]\n B -->|No| D[Action 2]\n C --> E[End]\n D --> E", "title": "Decision Flow" }...

Details

Author
wecode-ai
Repository
wecode-ai/Wegent
Created
4 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

mermaid-diagram

Generate beautiful Mermaid diagrams — flowcharts, sequence, ER, class, state, pie, gantt, mindmap, timeline, gitgraph, C4, kanban, block, quadrant, sankey, XY charts. Renders to PNG locally and Markdown for GitHub. Use when the user asks for diagrams, visualizations, schemas, flowcharts, architecture overviews, database schemas, API flows, project timelines, git branching strategies, org charts, or any visual representation of systems, workflows, or data.

24 Updated 2 days ago
georgekhananaev
AI & Automation Listed

mermaid-diagrams

Create diagrams and visualizations using Mermaid syntax. Use when generating flowcharts, sequence diagrams, class diagrams, entity-relationship diagrams, Gantt charts, or any visual documentation. Triggers on Mermaid, flowchart, sequence diagram, class diagram, ER diagram, Gantt chart, diagram, visualization.

2 Updated today
Makiya1202
AI & Automation Listed

mermaid

Side-route utility skill for generating Mermaid diagram code from a description. Use when the user wants a flowchart, sequence diagram, class diagram, ER diagram, state machine, Gantt chart, mindmap, C4 architecture, user journey, or any of 23 supported Mermaid diagram types — often during /shape, /research, /write-a-prd, or /prd-to-issues when a visual would clarify scope, flow, or structure. Not for free-form ASCII sketches, hand-drawn whiteboards (use /excalidraw-diagram for that), or rendering diagrams to images.

2 Updated 2 days ago
chrislacey89
AI & Automation Solid

mermaid-diagrams

Creating and refining Mermaid diagrams with live reload. Use when users want flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, or any other Mermaid visualization. Provides best practices for syntax, styling, and the iterative workflow using mermaid_preview and mermaid_save tools.

154 Updated 4 days ago
veelenga
AI & Automation Solid

mermaid-expert

Create Mermaid diagrams for flowcharts, sequences, ERDs, and architectures. Masters syntax for all diagram types and styling.

39,350 Updated today
sickn33