mermaid-diagram

Featured

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 848 stars 139 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
98
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
8 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

mermaid-diagram

Generate a Mermaid diagram from a description, codebase, or schema. Output a Mermaid code block for supported Markdown renderers. Use for flowcharts, ERDs, sequence diagrams, C4 context, class diagrams, gantt, pie charts, mindmaps, git graphs, and quadrant charts. Triggers: 'buat diagram', 'create diagram', 'flowchart', 'ERD', 'sequence diagram', 'mermaid', 'diagram alur', 'flow diagram', 'visualisasi', 'visualization', 'database diagram', 'class diagram', 'pie chart', 'mindmap', 'git graph', 'quadrant chart', 'C4'.

0 Updated today
ongkipro
AI & Automation Listed

mermaid-diagram-builder

Creates clear, valid, version-controllable diagrams as code using Mermaid — flowcharts, sequence diagrams, ER diagrams, class diagrams, state machines, Gantt charts, C4/architecture diagrams, and more. Use this skill when the user asks to "draw a diagram", "make a flowchart", "create a sequence diagram", "diagram this architecture", "visualize this process/data model/API flow", "show the ER diagram", "render Mermaid", "diagram as code", or wants a chart embeddable in Markdown, GitHub, Notion, or docs. Covers picking the right diagram type, writing syntactically correct Mermaid, styling, and validating that it renders.

5 Updated 1 months ago
JayRHa
AI & Automation Listed

mermaid-diagrams

This skill should be used when the user asks to "create a diagram", "generate a flowchart", "add a sequence diagram", "visualize architecture", "create an ER diagram", "draw a state machine", "add mermaid diagram", "diagram the data model", "show the workflow", or "map out the process". Provides Mermaid diagram syntax knowledge, diagram type selection guidance, and visual conventions for generating clear, well-structured diagrams from code or requirements.

3 Updated yesterday
ClaudeRegistry