What problem does it solve? Broken Mermaid syntax often goes unnoticed until a diagram fails to render in Markdown documentation, READMEs, or wikis. This Skill catches parse errors before publication by validating diagrams with the official Mermaid CLI. ## Core Features & Use Cases - Syntax Validation: Parses and renders .mmd files with @mermaid-js/mermaid-cli, surfacing the parser's exact error messages. - ASCII Preview: Renders a text-based preview of the diagram via beautiful-mermaid so you can sanity-check layout without opening a browser. - Optional SVG Output: Renders the diagram to an SVG file when an output path is provided. - Use Case: Before embedding a flowchart in a project README, draft it as diagram.mmd, run the validation script, fix any reported errors, then copy the verified Mermaid block into your Markdown file. ## Quick Start Ask the agent to validate your Mermaid diagram file, for example: "Validate my diagram.mmd file with the mermaid skill and fix any syntax errors."