What problem does it solve?
This Skill automates the rendering and analysis of Mermaid.JS diagrams, ensuring that they meet visual clarity requirements and adhere to accessibility standards, saving time and reducing the potential for human error.
Core Features & Use Cases
- Automated Rendering: Converts Mermaid.JS diagrams within markdown files into high-quality PNG/SVG images.
- Complexity Analysis: Checks diagrams for cognitive load and complexity to ensure they are accessible and easy to understand.
- Contrast Audit: Validates color contrast compliance with WCAG standards, ensuring diagrams are readable in all themes.
- Use Case: If you're developing documentation for a software project, use this Skill to create and maintain Mermaid.JS diagrams that are both visually appealing and accessible to all users.
Quick Start
To render a Mermaid.JS diagram in a markdown file, use the following command:
bash .claude/skills/mermaidjs_diagrams/scripts/render_mermaid.sh path/to/document.md