Pular para o conteúdo
Kitbay
Skill

beautiful-mermaid

AGPL-3.0Atualizado em 16 de nov. de 202681.782Estrelas no GitHubInclui scripts

A skill kept in the OpenMontage repository that turns Mermaid diagram code, or a plain description the agent first converts to Mermaid, into SVG and PNG files with the Beautiful Mermaid library.

O que a skill ensina

A skill kept in the OpenMontage repository that turns Mermaid diagram code, or a plain description the agent first converts to Mermaid, into SVG and PNG files with the Beautiful Mermaid library. It handles flowcharts and sequence, state, class and entity-relationship diagrams. A TypeScript script renders the SVG with one of 13 colour themes, a second wraps it in a simple HTML page, and the agent-browser skill takes a high-resolution screenshot for the PNG before the temporary files are deleted. It runs with bun by default, or npx tsx or deno, and includes a Mermaid syntax reference plus tips for diagrams that come out cut off or empty.

O que faz

  • Write Mermaid code from a description
  • Render Mermaid diagrams to themed SVG
  • Capture a high-resolution PNG of a diagram