mermaid-d2

Community

Generate validated Mermaid and d2 diagrams

Authorerfianugrah
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents broken documentation visuals by validating Mermaid or d2 diagram syntax before you ship the rendered output.

Core Features & Use Cases

  • Render Mermaid or d2 diagrams on demand: create clear architecture, flow, sequence, ER, and state diagrams using the diagram source as the source of truth.
  • Syntax validation via tool rendering: detects silent parse errors early by rendering first to catch errors before saving final artifacts.
  • Export diagrams for docs and repos: produce rasterized SVG/PNG (or GitHub-renderable markdown workflows) so diagrams can live next to code and documentation.

Quick Start

Use the mermaid-d2 skill to render an architecture diagram from the diagram text I provide, and save it to docs/architecture.svg.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mermaid-d2
Download link: https://github.com/erfianugrah/dotfiles/archive/main.zip#mermaid-d2

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.