🎯

mermaidjs-v11

🎯Skill

from duonglx/chanmayfoods

VibeIndex|
What it does

Generates text-based diagrams and visualizations across 24+ diagram types using Mermaid.js v11 declarative syntax for technical documentation and communication.

πŸ“¦

Part of

duonglx/chanmayfoods(32 items)

mermaidjs-v11

Installation

npm installInstall npm package
npm install -g @mermaid-js/mermaid-cli
πŸ“– Extracted from docs: duonglx/chanmayfoods
4Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Create diagrams and visualizations using Mermaid.js v11 syntax. Use when generating flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, user journeys, timelines, architecture diagrams, or any of 24+ diagram types. Supports JavaScript API integration, CLI rendering to SVG/PNG/PDF, theming, configuration, and accessibility features. Essential for documentation, technical diagrams, project planning, system architecture, and visual communication.

Overview

# 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

```mermaid

flowchart TD

A[Start] --> B{Decision}

B -->|Yes| C[Action]

B -->|No| D[End]

```

````

Configuration via Frontmatter:

````markdown

```mermaid

---

theme: dark

---

flowchart LR

A --> B

```

````

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

CLI Usage

Convert .mmd files to images:

```bash

# 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:

```html

flowchart TD

A[Client] --> B[Server]

```

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

More from this repository10

🎯
ui-ux-pro-max🎯Skill

Generates comprehensive UI/UX design recommendations with 50+ styles, 21 color palettes, font pairings, and best practices across multiple tech stacks.

🎯
frontend-design🎯Skill

Generates distinctive, production-grade frontend interfaces by extracting design guidelines from references and implementing creative, high-quality code with exceptional aesthetic attention.

🎯
code-review🎯Skill

Enforces rigorous code review practices by systematically receiving feedback, requesting reviews, and implementing strict verification gates before claiming task completion.

🎯
frontend-dev-guidelines🎯Skill

I apologize, but I cannot generate a description without seeing the actual content or context of the "frontend-dev-guidelines" skill from the specified repository. Could you provide more details ab...

🎯
debugging🎯Skill

Systematically investigates and traces root causes of bugs, ensuring comprehensive validation and verification before implementing fixes.

🎯
threejs🎯Skill

Enables creating immersive 3D web experiences with WebGL/WebGPU, supporting scenes, models, animations, rendering, and advanced graphics techniques.

🎯
chrome-devtools🎯Skill

Automates browser interactions, performance analysis, and web debugging using Puppeteer CLI scripts for comprehensive web testing and inspection.

🎯
template-skill🎯Skill

Provides a customizable template for creating new Claude skills with structured guidance and best practices.

🎯
ui-styling🎯Skill

Crafts beautiful, accessible user interfaces using shadcn/ui components, Tailwind CSS utility styling, and canvas-based visual design systems.

🎯
backend-development🎯Skill

Designs and implements robust, scalable backend systems using modern technologies, best practices, and secure architectural patterns.