mermaid-visualizer
Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.
Security Assessment
About mermaid-visualizer
Mermaid-visualizer transforms text content into clean, professional Mermaid diagrams for presentations and documentation. It solves a common and frustrating problem: Mermaid diagrams frequently fail to render because of subtle syntax pitfalls, so the skill builds in error prevention to ensure output renders correctly in Obsidian, GitHub, and other Mermaid-compatible platforms.
The skill provides a short workflow — analyze the content, choose the most appropriate diagram type, select layout/detail/style, generate syntactically correct code, and output it in a fenced code block. It supports a range of diagram types including process flows, circular/feedback loops, side-by-side comparisons, mindmaps, sequence diagrams, and state diagrams, each with guidance on when to use it and which features apply. Its distinctive value is a set of critical syntax rules that head off the most common parse errors: avoiding the "Unsupported markdown: list" error caused by `number. space` patterns (offering circled numbers, parentheses, or prefixes as fixes), correct subgraph ID-plus-display-name naming, referencing nodes by ID rather than display text, safe handling of special characters, and correct arrow types. A companion reference expands this into a comprehensive guide covering node shapes, nested subgraphs, connections, styling and color patterns, layout directions, and reusable advanced patterns like swimlanes, hub-and-spoke, and decision trees.
It targets writers, presenters, educators, and developers — particularly Obsidian users — who want to turn concepts and processes into diagrams without fighting Mermaid's parser. It is purely content-generation guidance with no code execution or system access.
FAQ
What does the skill produce?
Syntactically correct Mermaid diagram code wrapped in a markdown code fence, ready to render in Obsidian, GitHub, and other Mermaid-compatible tools.
Which diagram types are supported?
Process flows, circular/feedback loops, comparison diagrams, mindmaps, sequence diagrams, and state diagrams, with guidance on choosing among them.
How does it prevent broken diagrams?
It applies critical syntax rules — for example avoiding `number. space` list-conflict errors, naming subgraphs with an ID plus quoted display name, referencing nodes by ID, and escaping special characters — backed by a detailed syntax reference.
Can I control layout and style?
Yes. It supports vertical or horizontal layouts, simple/standard/detailed levels, and minimal/professional/colorful styling, plus inline color styling patterns documented in the reference.
Does it run any code or access my system?
No. It only generates diagram text; there is no execution or system/network access involved.
Install mermaid-visualizer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
axtonliu/axton-obsidian-visual-skills