cyberneticlibrary

Convert diagrams to high-res images

convert-mermaidskillsetup L23
richfrem/agent-plugins-skills
What it does

Convert Mermaid diagrams to PNG with configurable resolution

Best for

Rasterizing diagrams to images when live rendering is unavailable.

Inputs
  • · Mermaid .mmd file
  • · Scale factor
Outputs
  • · PNG binary image
Requires
  • · Python 3.8+
  • · Puppeteer
  • · ImageMagick
Preconditions
  • · Valid Mermaid syntax
  • · Verification script
Failure modes
  • · Puppeteer crash
  • · Invalid syntax
Trust signals
  • · Two-phase: convert then verify_png
  • · Binary validation