Pretty-mermaid-skills

Pretty-mermaid-skills

Provides Mermaid diagram rendering capabilities for AI, supporting SVG and ASCII output formats.

Agent SkillDevOpen source
Type
Agent Skill
Open source
Yes
GitHub Stars
★ 1.0k
Source
skill-github

Overview

Pretty-Mermaid Skills is a Mermaid diagram rendering skill designed for AI, capable of rendering Mermaid diagrams into visually appealing SVG or ASCII art. The skill features multi-format support, 15 built-in themes, and high-performance batch parallel rendering. Ideal for AI programming environments that require chart insertion in documents. Easily installable and usable via the npx command. Suitable for developers and AI assistants needing to generate diagrams.

Capabilities

  • SVG and ASCII rendering export
  • 15 built-in themes
  • Support for multiple diagram types (flowcharts, sequence diagrams, etc.)
  • High-performance batch parallel rendering

Use cases

Diagram rendering in AI-generated documentationInserting diagrams into code commentsAutomated report generation

Setup

Requires: Node.js 14+
npx skills add https://github.com/imxv/pretty-mermaid-skills --skill pretty-mermaid

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to list available themes?

Run the command: node scripts/themes.mjs.

How to render a single diagram?

Use the command: node scripts/render.mjs, specifying the input file, output file, and theme.

Related skills