Skip to content

Expert Mermaid diagram creation, validation, and multi-format rendering with curated theming and code analysis.

CCM score
62 of 100
skills.sh installs
355
GitHub stars
7.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers diagram creation from descriptions or code analysis, with syntax validation and rendering to SVG, PNG, or ASCII
  • Supports C4, AWS architecture-beta with service icons, flowcharts, sequence, ERD, state, class, mindmap, timeline, git graph, and sankey types
  • Enforces a curated %%{init} palette by default, soft slate line colors, and a maximum of 15 nodes per diagram
  • Designed for architecture documentation, database modeling, system flow visualization, and batch rendering of existing .mmd files

Install

$ npx -y skills add tech-leads-club/agent-skills --skill mermaid-studio -y

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

Files

Mermaid Studio

Expert-level Mermaid diagram creation, validation, and multi-format rendering. Creates diagrams from descriptions or code analysis, validates syntax, and renders to SVG, PNG, or ASCII with professional theming.

Golden Rules — Elegant Diagrams by Default

Every diagram MUST follow these principles. They are not optional — they define the difference between a mediocre diagram and a gold-standard one.

Rule 1: Always Use an Init Directive for Professional Styling

NEVER create a diagram without an %%{init} directive or frontmatter config. The default Mermaid theme produces harsh black lines and generic colors. Always apply a curated palette.

For general diagrams (flowchart, sequence, state, class, ERD):

Details

Repository
github.com/tech-leads-club/agent-skills
Categories
Technical Documentation, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the mermaid-studio skill do?

The mermaid-studio skill creates, validates, and renders Mermaid diagrams, with output to SVG, PNG, or ASCII. It supports over 20 diagram types, including C4 architecture, AWS architecture-beta diagrams with service icons, flowcharts, sequence diagrams, and ERDs. It can also analyze code to produce diagrams and batch-render files.

How do I install the mermaid-studio skill?

Run npx -y skills add tech-leads-club/agent-skills --skill mermaid-studio -y in your project. Once installed, your agent can draw diagrams of systems, flows, databases, and AWS infrastructure from a description or from code.

Where does mermaid-studio stand in Technical Documentation?

Mermaid-studio is in the Technical Documentation category on Claude Marketplaces, alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid, and documentation-and-adrs. It focuses on rendering Mermaid diagrams in several output formats and styles, where those skills focus on modeling, design docs, or writing guidance.

Does mermaid-studio work with a specific diagram type?

Yes, the skill covers C4 architecture diagrams, AWS architecture-beta diagrams with service icons, flowcharts, sequence diagrams, ERDs, state and class diagrams, mindmaps, timelines, git graphs, and sankey charts. It also adds 15 or more themes and syntax validation for generated Mermaid code.

When should I not use mermaid-studio?

The skill should not be used for non-Mermaid image generation, data plotting with chart libraries, or general documentation writing. Use it when you need a Mermaid diagram or a rendered diagram file instead.

More from tech-leads-club/agent-skills

All 22

Similar to Mermaid Studio

More Technical Documentation