Skip to content
cccskills
FreePublished on GitHub

mermaidjs-v11

Create flowcharts, sequence diagrams, timelines, and other visuals from Mermaid.js v11 text. Render them in Markdown or export them as SVG, PNG, or PDF for documentation, planning, and architecture work.

OriginalShow the original description

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.

Run score Not tested

See how to install

Good for

  • Mapping a process or decision flow
  • Showing API calls between services
  • Drawing database relationships
  • Planning tasks on a timeline

Files included (6)

  • SKILL.md3.1 KB
  • references/cli-usage.md4.1 KB
  • references/configuration.md4.6 KB
  • references/diagram-types.md4.9 KB
  • references/examples.md7.0 KB
  • references/integration.md5.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

aesthetic

FreeSummary

Design interfaces by studying reference examples, setting visual rules, and balancing appearance with usability and accessibility. The skill also guides screenshot analysis, iterative design image generation, micro interactions, and documenting design decisions in project guidelines.

  • Analyzing a reference interface
  • Setting a color and typography system
  • Refining a generated design image
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

ai-multimodal

FreeSummary

Use Google Gemini to analyze audio, images, videos, and PDFs, or generate and edit images. Get results such as timestamped transcripts, summaries, extracted tables, answers about media, and images made from prompts.

  • Transcribing audio with timestamps
  • Finding information in images or screenshots
  • Summarizing videos or asking about scenes
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

Use this skill to plan and build backend systems, from API design and authentication to database tuning, security, testing, deployment, and monitoring. It offers technology choices and practical checklists for turning requirements into production-ready services.

  • Choosing a language, framework, database, or API style
  • Designing authentication and authorization
  • Improving database queries and service performance
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

better-auth

FreeSummary

Use this skill to add authentication and authorization to TypeScript applications with Better Auth. It covers email and social sign-in, sessions, database setup, two-factor authentication, passkeys, and access rules, with guidance for several web frameworks.

  • Adding email and password sign-in
  • Setting up Google or GitHub OAuth
  • Adding two-factor authentication or passkeys
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

bunny

FreeSummary

Integrate Bunny.net services through their APIs to configure CDN pull zones, manage stored files and video, edit DNS records, and deploy edge scripts or containers. The skill also covers Shield protection, image optimization, and the credentials each service requires.

  • Setting up a CDN pull zone and purging its cache
  • Uploading or managing files in Edge Storage
  • Creating and uploading Stream videos
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

chrome-devtools

FreeSummary

Use Puppeteer CLI scripts to automate browser tasks and inspect web pages. The skill can navigate, click, fill forms, capture screenshots, collect page data, monitor console and network activity, and measure performance including Core Web Vitals. Results are provided as JSON.

  • Capturing a full page or selected element
  • Automating navigation and form submission
  • Collecting page content for scraping
mrgoonie/claudekit-skills2.2KUpdated Apr 3, 2026

See all skills by mrgoonie

Report a problem with this skill