This lets Claude generate diagrams using Mermaid.js v11's text-based syntax, covering all 24+ diagram types from flowcharts and sequence diagrams to Gantt charts and ER diagrams. It includes the CLI commands for rendering to SVG/PNG/PDF, JavaScript integration patterns, and configuration options for themes and styling. Honestly, the skill is more of a reference manual than anything clever. Use it when you need Claude to output properly formatted Mermaid syntax for documentation or when you want it to help convert diagrams to images via the CLI. The examples and syntax references make it actually useful instead of Claude guessing at Mermaid formatting.

skills.sh installs
370
GitHub stars
2.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/mrgoonie/claudekit-skills
Categories
Backend & APIs, Documentation, Code Review & Quality, Productivity & Planning, Sales & Marketing, Design & UI/UX, CLI & Terminal, Office & Documents
First seen
Jun 3, 2026

More from mrgoonie/claudekit-skills

All 28
1shanraisshan avatarweather-fetchershanraisshan/claude-code-best-practiceInstructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API370skills.sh installs
2bartundmett avatarshopware6-best-practicesbartundmett/skillsComprehensive Shopware 6.6+ development best practices for agency developers. Covers backend PHP, storefront Twig/JS, administration Vue.js, app system, integra369skills.sh installs
3pproenca avatarnginx-c-module-designpproenca/dot-skillsnginx C module directive design guidelines for creating admin-friendly configuration interfaces. This skill should be used when designing nginx module directive369skills.sh installs
4timescale avatarmigrate-postgres-tables-to-hypertablestimescale/pg-aiguideUse this skill to migrate identified PostgreSQL tables to Timescale/TimescaleDB hypertables with optimal configuration and validation. **Trigger when user asks 368skills.sh installs
5zzci avatarpma-crzzci/skillsCode review: stack-aware review for local diffs, pull requests, and repository-wide audits. Routes review across shared policy plus language packs for TypeScrip368skills.sh installs
6davila7 avatarfigma-implement-designdavila7/claude-code-templatesTranslate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convent367skills.sh installs