Skip to content

Diagram-as-code skill covering Mermaid.js v11 syntax for flowcharts, sequence, class, state, ER, Gantt, and journey diagrams.

CCM score
54 of 100
skills.sh installs
379
GitHub stars
2.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers flowcharts, sequence, class, state, ER, Gantt, user journey, timeline, and architecture diagram types
  • Includes mmdc CLI usage for SVG, PNG, and PDF output, plus batch processing and Docker workflows
  • Documents JavaScript API embedding, frontmatter config, and themes such as dark, forest, and neutral
  • Designed for documentation, system architecture, and project planning where diagrams live beside the code

Install

$ npx -y skills add mrgoonie/claudekit-skills --skill mermaidjs-v11 -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

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

Configuration via Frontmatter:

```mermaid
---
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

Details

Repository
github.com/mrgoonie/claudekit-skills
Categories
Technical Documentation, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the mermaidjs-v11 skill let an agent do?

It lets Claude create text-based diagrams with Mermaid.js v11 syntax, covering flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, user journeys and architecture diagrams. It can also render the diagrams to SVG, PNG or PDF through the Mermaid command line tool.

How do I install the mermaidjs-v11 skill?

Run npx -y skills add mrgoonie/claudekit-skills --skill mermaidjs-v11 -y inside your project. The command installs the skill from the claudekit-skills repository so the agent can use it there.

Which skills lead the Technical Documentation category that mermaidjs-v11 belongs to?

Mermaidjs-v11 sits in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. It stands out for its focus on the Mermaid.js v11 syntax and its rendering options, including theming and accessibility settings.

Who is the mermaidjs-v11 skill for?

It suits developers and technical writers who need diagrams for documentation, system architecture, project planning or visual communication. Because diagrams are written as text, they can be kept in the same files as the documentation they describe.

Does mermaidjs-v11 need any tools installed before I use it?

The skill's rendering workflow uses the Mermaid command line tool, @mermaid-js/mermaid-cli, which you install with npm install -g. For embedding diagrams in web pages, the skill loads the Mermaid script from a CDN instead.

More from mrgoonie/claudekit-skills

All 23

Similar to Mermaidjs V11

More Technical Documentation