This renders Mermaid diagrams as SVG or ASCII with 15+ themes like Tokyo Night, Dracula, and GitHub Dark. You get flowcharts, sequence diagrams, state machines, class diagrams, and ER diagrams out of the box. The batch rendering script is handy if you're documenting a whole system and need consistent styling across dozens of diagrams. ASCII output is a nice touch for terminal workflows or plain text docs. It's built on beautiful-mermaid and includes templates for each diagram type, so you're not starting from scratch. The theme comparison workflow is smart: render the same diagram in multiple themes so users can pick what fits their docs. Solid tool if you're generating visual documentation programmatically.

skills.sh installs
4.6K
GitHub stars
1.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add imxv/pretty-mermaid-skills --skill pretty-mermaid --agent claude-code

Installs into .claude/skills of the current project.

Files

Pretty Mermaid

Create or render Mermaid diagrams with the bundled Node.js CLI. Use SVG for scalable documentation, PNG for sharing or raster-only consumers, and ASCII or Unicode for terminals and plain text.

Working directory

Treat the directory containing this file as <skill-root>. Run bundled scripts from that directory, or invoke them with absolute paths. Keep user source and rendered output in the user's requested location; do not copy the renderer into their project.

Workflow

  1. Determine whether the user supplied Mermaid source or needs a diagram authored from prose.
  2. Choose the diagram type and output format from the tables below.
  3. Read only the relevant reference file when syntax, theme selection, or API behavior needs more detail.
  4. Save new source as a .mmd file, preserving user terminology and relationships.
  5. Render with a named theme or explicit colors.
  6. Inspect the result. Fix syntax, clipping, crowded layout, or unclear labels and render again.
  7. Return the source and output paths, plus the selected format and theme.

Do not overwrite an existing source or output file unless the user asked for replacement.

Choose a diagram type

Sponsors

Details

Repository
github.com/imxv/pretty-mermaid-skills
Categories
Code Review & Quality, Automation & Workflows, Sales & Marketing, CLI & Terminal
1grafana avatarinfrastructuregrafana/skillsShip Kubernetes, host, container, and cloud-provider telemetry into Grafana Cloud — `k8s-monitoring` Helm chart for K8s clusters (metrics + logs + traces + even4.6Kskills.sh installs
2trailofbits avatardiagramming-codetrailofbits/skillsGenerates Mermaid diagrams from Trailmark code graphs. Produces call graphs, class hierarchies, module dependency maps, containment diagrams, complexity heatmap4.6Kskills.sh installs
3minimax-ai avatarminimax-docxminimax-ai/skillsProfessional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit con4.6Kskills.sh installs
4dotnet avatarcsharp-scriptsdotnet/skillsRun file-based C# apps with the .NET CLI when the user explicitly wants C#/.NET code without creating a project. Use for C# language/API experiments, one-file C4.5Kskills.sh installs
5cursor avatarreflectcursor/pluginsSpawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill.4.5Kskills.sh installs
6grafana avataradaptive-metricsgrafana/skillsCut Grafana Cloud Metrics cost by shrinking active-series count with Adaptive Metrics aggregation rules — auto-recommendations from query history, custom exact/4.5Kskills.sh installs