moai-library-mermaid

Render Mermaid diagrams to SVG or PNG via MCP Playwright in Claude Code.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-library-mermaid-gkswls5006-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-library-mermaid
Source: https://github.com/gkswls5006-web/last-todo/tree/main/.claude/skills/moai-library-mermaid
Command: npx skills add https://github.com/gkswls5006-web/last-todo --skill moai-library-mermaid-gkswls5006-web

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enterprise-grade Mermaid rendering inside Claude Code to produce consistent diagrams for architecture, flows, and documentation.

Core Features & Use Cases

  • Pure skill-based Mermaid rendering with MCP Playwright integration for SVG and PNG outputs.
  • Supports all 21 Mermaid diagram types with ready-made examples and reference documentation for enterprise diagrams.
  • Designed for architecture and documentation workflows, enabling rapid diagram generation from Mermaid syntax and embedding in docs.

Quick Start

Render a Mermaid diagram from your Mermaid code using Claude Code with MCP Playwright.

Frequently Asked Questions about moai-library-mermaid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render Mermaid diagrams inside Claude Code?

Rendering Mermaid diagrams inside Claude Code requires MCP Playwright integration to process Mermaid syntax and generate SVG or PNG outputs. This Skill supports all 21 Mermaid diagram types for architecture, workflow, and sequence diagrams.

What is the best way to generate enterprise architecture diagrams from Mermaid syntax?

Generating enterprise architecture diagrams from Mermaid syntax is best handled through a Skill supporting Mermaid 11.12.2 with Context7 library resolution. It applies enterprise-oriented patterns to produce consistent visual outputs for documentation.

Does this Mermaid diagram rendering approach require Playwright?

Yes, Mermaid diagram rendering with this Skill requires a Playwright-enabled environment. It uses MCP Playwright integration to render SVG or PNG outputs directly inside Claude Code for documentation tasks.

Can I use Claude Code for sequence and flowchart diagram generation?

Yes, you can use Claude Code for sequence and flowchart diagram generation. This Skill supports all 21 Mermaid diagram types, including sequence and flowchart diagrams, rendering them as SVG or PNG outputs.

How does Context7 library resolution work for Mermaid diagram generation?

Context7 library resolution is a required prerequisite for Mermaid diagram generation with this Skill. It ensures the correct Mermaid 11.12.2 library is resolved before rendering SVG or PNG outputs for enterprise diagrams.

What are the limitations of rendering Mermaid diagrams with MCP Playwright?

Rendering Mermaid diagrams with MCP Playwright requires a Playwright-enabled environment and Context7 library resolution. It is designed for enterprise documentation workflows and supports SVG or PNG outputs across all 21 Mermaid diagram types.