Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mrgoonie avatar

Mermaidjs V11

  • 323 installs
  • 2.2k repo stars
  • Updated April 3, 2026
  • mrgoonie/claudekit-skills

mermaidjs-v11 is a Claudekit agent skill that generates accurate Mermaid.js v11 diagram syntax and CLI-rendered SVG/PNG/PDF outputs for developers documenting architecture, flows, and data models in markdown.

About

mermaidjs-v11 is a Claudekit agent skill in mrgoonie/claudekit-skills for creating text-based diagrams with Mermaid.js v11 declarative syntax. It covers 24+ diagram types—including flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, gantt, and journey—and supports inline markdown code blocks, frontmatter theming, JavaScript browser embedding, and CLI rendering via @mermaid-js/mermaid-cli (`mmdc -i diagram.mmd -o diagram.svg`). Reference files document diagram-types, configuration, cli-usage, integration, and examples for architecture, API flows, database schemas, and user journeys. Developers reach for mermaidjs-v11 when README files, ADRs, or design docs need accurate, version-correct Mermaid v11 syntax without opening a separate drawing tool.

  • Mermaid v11 syntax
  • Flow and sequence charts
  • ERD diagrams
  • Markdown embedding
  • Diagram troubleshooting

Mermaidjs V11 by the numbers

  • 323 all-time installs (skills.sh)
  • +3 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #441 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mrgoonie/claudekit-skills --skill mermaidjs-v11

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs323
repo stars2.2k
Last updatedApril 3, 2026
Repositorymrgoonie/claudekit-skills

How do you create Mermaid v11 architecture diagrams?

Create accurate Mermaid v11 diagrams in markdown or docs for architecture, sequence flows, and ERDs so teams communicate system design clearly without manual drawing tools.

Who is it for?

Developers and technical writers documenting system architecture, API sequences, database schemas, or project timelines in markdown repositories.

Skip if: Skip mermaidjs-v11 when you need interactive UI mockups, pixel-perfect design comps, or charting from live datasets rather than text-based diagram syntax.

When should I use this skill?

User asks for Mermaid diagrams, architecture flowcharts, sequence diagrams, ERDs, Gantt charts, or mmdc CLI rendering in documentation.

What you get

Mermaid diagram source blocks, optional .mmd files, and CLI-rendered SVG, PNG, or PDF diagram assets.

  • Mermaid diagram markdown blocks
  • SVG or PNG rendered diagrams
  • Architecture and sequence diagram source files

By the numbers

  • 24+ Mermaid v11 diagram types documented
  • 5 bundled reference files for types, config, CLI, integration, and examples
  • 5 built-in themes: default, dark, forest, neutral, base

Files

SKILL.mdMarkdownGitHub ↗

Mermaid.js v11

Overview

Create text-based diagrams using Mermaid.js v11 declarative syntax. Convert code to SVG/PNG/PDF via CLI or render in browsers/markdown files.

Quick Start

Basic Diagram Structure:

{diagram-type}
  {diagram-content}

Common Diagram Types:

  • flowchart - Process flows, decision trees
  • sequenceDiagram - Actor interactions, API flows
  • classDiagram - OOP structures, data models
  • stateDiagram - State machines, workflows
  • erDiagram - Database relationships
  • gantt - Project timelines
  • journey - User experience flows

See references/diagram-types.md for all 24+ types with syntax.

Creating Diagrams

Inline Markdown Code Blocks: ````markdown

flowchart TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[End]

````

Configuration via Frontmatter: ````markdown

---
theme: dark
---
flowchart LR
    A --> B

````

Comments: Use %% prefix for single-line comments.

CLI Usage

Convert .mmd files to images:

# Installation
npm install -g @mermaid-js/mermaid-cli

# Basic conversion
mmdc -i diagram.mmd -o diagram.svg

# With theme and background
mmdc -i input.mmd -o output.png -t dark -b transparent

# Custom styling
mmdc -i diagram.mmd --cssFile style.css -o output.svg

See references/cli-usage.md for Docker, batch processing, and advanced workflows.

JavaScript Integration

HTML Embedding:

<pre class="mermaid">
  flowchart TD
    A[Client] --> B[Server]
</pre>
<script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
<script>mermaid.initialize({ startOnLoad: true });</script>

See references/integration.md for Node.js API and advanced integration patterns.

Configuration & Theming

Common Options:

  • theme: "default", "dark", "forest", "neutral", "base"
  • look: "classic", "handDrawn"
  • fontFamily: Custom font specification
  • securityLevel: "strict", "loose", "antiscript"

See references/configuration.md for complete config options, theming, and customization.

Practical Patterns

Load references/examples.md for:

  • Architecture diagrams
  • API documentation flows
  • Database schemas
  • Project timelines
  • State machines
  • User journey maps

Resources

  • references/diagram-types.md - Syntax for all 24+ diagram types
  • references/configuration.md - Config, theming, accessibility
  • references/cli-usage.md - CLI commands and workflows
  • references/integration.md - JavaScript API and embedding
  • references/examples.md - Practical patterns and use cases

Related skills

How it compares

Pick mermaidjs-v11 over generic diagram skills when you need version-accurate Mermaid v11 syntax plus mmdc CLI export workflows for repository documentation.

FAQ

How many diagram types does mermaidjs-v11 cover?

mermaidjs-v11 covers 24+ Mermaid.js v11 diagram types including flowchart, sequenceDiagram, classDiagram, stateDiagram, erDiagram, gantt, and journey, with syntax documented in references/diagram-types.md.

How do you export Mermaid diagrams to images?

mermaidjs-v11 documents the @mermaid-js/mermaid-cli tool. Run mmdc -i diagram.mmd -o diagram.svg for SVG output, or add -t dark -b transparent for themed PNG exports.

Can mermaidjs-v11 embed diagrams in web pages?

Yes. mermaidjs-v11 includes a JavaScript integration pattern using a pre.mermaid block, the mermaid.min.js CDN script, and mermaid.initialize({ startOnLoad: true }) for browser rendering.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.