mermaidjs-v11

Create diagrams using Mermaid.js v11 syntax and render them to SVG, PNG, or PDF.

2|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Nzettodess/Awesome-Agent-Skills --skill mermaidjs-v11-nzettodess
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mermaidjs-v11
Source: https://github.com/Nzettodess/Awesome-Agent-Skills/tree/main/Skills/Charts/mermaidjs-v11
Command: npx skills add https://github.com/Nzettodess/Awesome-Agent-Skills --skill mermaidjs-v11-nzettodess

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @mermaid-js/mermaid-cli, mermaid, and includes references (resource) components.

What problem does it solve? Writing and maintaining technical diagrams manually is slow and hard to keep in sync with documentation. This Skill lets you generate flowcharts, sequence diagrams, ER diagrams, Gantt charts, and 24+ other diagram types from plain text, then render them to SVG, PNG, or PDF. ## Core Features & Use Cases - 24+ Diagram Types: Flowcharts, sequence diagrams, class diagrams, state machines, ER diagrams, Gantt charts, user journeys, architecture diagrams, mindmaps, and more. - CLI Rendering: Convert .mmd files to SVG/PNG/PDF with themes, custom CSS, and batch processing via mermaid-cli. - JavaScript Integration: Embed diagrams in HTML, React, Vue, and Next.js apps with the Mermaid JavaScript API. - Theming & Accessibility: Built-in themes, custom theme variables, hand-drawn look, and ARIA/WCAG accessibility support. - Use Case: Document a microservices architecture by writing a flowchart in Mermaid syntax, then render it to a dark-themed transparent PNG for your README using the CLI. ## Quick Start Ask the AI to create a Mermaid flowchart showing your system's request flow and render it to an SVG file.

Frequently Asked Questions about mermaidjs-v11

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a flowchart in Mermaid.js?▼

Start with the flowchart keyword and a direction like TD or LR, then define nodes with brackets and connect them with arrows. For example, 'flowchart TD' followed by 'A[Start] --> B{Decision}' creates a basic decision flow.

How to convert Mermaid diagrams to PNG or SVG from the command line?▼

Install @mermaid-js/mermaid-cli via npm, then run 'mmdc -i input.mmd -o output.svg'. The output format is determined by the file extension, and you can add flags like -t dark for themes or -b transparent for background.

What diagram types does Mermaid.js v11 support?▼

Mermaid v11 supports 24+ diagram types including flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, user journeys, C4 architecture diagrams, pie charts, mindmaps, git graphs, timelines, and sankey diagrams.

Does Mermaid.js work with React and Next.js?▼

Yes, import mermaid from npm and call mermaid.render inside a useEffect hook to inject SVG into a ref. For Next.js App Router, load the component with dynamic import and ssr disabled since Mermaid requires browser APIs.

Why does my Mermaid diagram fail to render?▼

Rendering usually fails due to syntax errors like unclosed brackets or invalid characters in node labels. Validate syntax first with mermaid.parse() or 'mmdc -i diagram.mmd -o /dev/null' to catch errors before rendering.

How do I change the theme of a Mermaid diagram?▼

Set the theme in mermaid.initialize with options like default, dark, forest, or neutral, or use YAML frontmatter inside the diagram code block. The base theme allows full customization via themeVariables for colors and fonts.