From mermaid-validator
Validate and fix Mermaid diagram syntax in Markdown files. Use when editing or reviewing files with mermaid code blocks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mermaid-validator:checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate and fix Mermaid diagram syntax in Markdown files.
Validate and fix Mermaid diagram syntax in Markdown files.
$check # Check git changed .md files
$check README.md # Check specific file
$check --fix # Auto-fix common errors
$check --all # Check all .md files in project
mermaid-validator.md (in this skill directory)Use the companion mermaid-validator.md in this directory as the agent prompt. Provide it with:
--fix was requestednpx claudepluginhub shdennlin/agent-plugins --plugin mermaid-validatorValidates and repairs Mermaid diagrams in markdown files by scanning code blocks, validating syntax, and auto-fixing common errors. Useful for documentation with broken diagrams.
Validates Mermaid syntax in Markdown files or directories. Extracts diagrams from code blocks, checks validity with Node.js, and reports pass/fail summaries per file.
Enforces syntax rules for Mermaid diagrams in documentation: quote labels with special chars, avoid <br/> and hardcoded colors, use themes. Validates via check-mermaid.sh.