mermaidjs-v11

Generate Mermaid.js v11 diagrams from text definitions.

13|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/kettleofketchup/DraftForge --skill mermaidjs-v11-kettleofketchup
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mermaidjs-v11
Source: https://github.com/kettleofketchup/DraftForge/tree/main/.claude/skills/mermaidjs-v11
Command: npx skills add https://github.com/kettleofketchup/DraftForge --skill mermaidjs-v11-kettleofketchup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers and technical writers to create a wide range of diagrams by writing Mermaid.js v11 syntax instead of manual drawing, simplifying documentation, architecture sketches, and design specs.

Core Features & Use Cases

  • Generate text-based diagrams in many types (flowchart, sequence, class, state, ER, Gantt, journey, timeline, architecture) from plain Mermaid.js syntax.
  • Render diagrams directly in browsers via HTML or Markdown, or export to SVG/PNG/PDF via the CLI, with support for themes and accessibility options including ARIA labels and titles.
  • Use Case: Add a Mermaid block to a project’s README and automatically render a diagram for system architecture or workflow.

Quick Start

Install Mermaid.js v11 via CDN or npm, write a Mermaid code block in your documentation, and render it in a browser or with mermaid-cli to produce an image file.

Frequently Asked Questions about mermaidjs-v11

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

FAQPage Schema
How do I generate diagrams from text for documentation?▼

To generate diagrams from text for documentation, write plain Mermaid.js syntax definitions in your README or specs to render architecture sketches and workflows directly in the browser.

Can I export Mermaid.js diagrams to SVG or PNG?▼

Yes, you can export Mermaid.js diagrams to SVG, PNG, or PDF by using the mermaid-cli to render the text definitions directly into static image files.

Does Mermaid.js support sequence and ER diagrams?▼

Yes, Mermaid.js supports sequence and ER diagrams, alongside flowchart, class, state, Gantt, journey, timeline, and architecture diagram types generated from plain text syntax.

How do I add accessibility features to Mermaid diagrams?▼

To add accessibility features to Mermaid diagrams, apply configuration options that include ARIA labels and titles, ensuring rendered web visualizations are accessible.

What is the best way to render text-based diagrams in a browser?▼

The best way to render text-based diagrams in a browser is installing Mermaid.js via CDN or npm, then embedding a Mermaid code block in your HTML or Markdown.

Do I need npm to use Mermaid.js for web visualization?▼

No, you do not need npm to use Mermaid.js for web visualization; you can install and load the library directly via a CDN in your HTML or Markdown files.