mermaidjs-v11

mrgoonie/claudekit-skills · updated Apr 8, 2026

$npx skills add https://github.com/mrgoonie/claudekit-skills --skill mermaidjs-v11
0 commentsdiscussion
summary

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

skill.md

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

# 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

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.631 reviews
  • Ira Diallo· Dec 28, 2024

    Solid pick for teams standardizing on skills: mermaidjs-v11 is focused, and the summary matches what you get after install.

  • Kwame Torres· Dec 12, 2024

    I recommend mermaidjs-v11 for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Dhruvi Jain· Dec 8, 2024

    mermaidjs-v11 has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Oshnikdeep· Nov 27, 2024

    Solid pick for teams standardizing on skills: mermaidjs-v11 is focused, and the summary matches what you get after install.

  • Liam Martinez· Nov 19, 2024

    mermaidjs-v11 has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ren Shah· Nov 11, 2024

    mermaidjs-v11 is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Kwame Huang· Nov 3, 2024

    Keeps context tight: mermaidjs-v11 is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ama Bhatia· Oct 22, 2024

    Registry listing for mermaidjs-v11 matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Ganesh Mohane· Oct 18, 2024

    We added mermaidjs-v11 from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Liam Anderson· Oct 10, 2024

    Useful defaults in mermaidjs-v11 — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 31

1 / 4