Back to Marketplace

Run this helper free

Answer 3 questions. Get a result in 2 minutes. Preview free.

Start free →
FREE
Scanned
Grow Business

Mermaid Validator

Catch diagram errors instantly, save documentation review cycles

Developers waste time debugging invalid Mermaid diagrams that fail silently or render incorrectly in documentation.

Users get instant validation feedback on Mermaid diagrams before committing, ensuring GitHub-compatible rendering every time.

  • Automated Mermaid diagram validation across markdown files
  • GitHub-compatible rendering verification using @probelabs/maid
  • Integration with git workflows and code review processes

👁 1 views · 📦 0 installs

Install in one line

mfkvault install mermaid-validator

Requires the MFKVault CLI. Prefer MCP?

No reviews yet
🤖 Claude Code Cursor💻 Codex 🏄 Windsurf
FREE

Free to install — no account needed

Copy the command below and paste into your agent.

Instant access • No coding needed • No account needed

What you get in 5 minutes

  • Full skill code ready to install
  • Works with 5 AI agents
  • Lifetime updates included
SecureBe the first
Ready to run

Run this helper

Answer a few questions and let this helper do the work.

Advanced: use with your AI agent

Description

--- name: mermaid-validator description: Validate Mermaid diagrams in markdown files using @probelabs/maid. Use when user asks to validate mermaid, check diagrams, or validate markdown documentation. version: 1.0.2 author: dt418 license: MIT tags: - mermaid - diagram - validation - markdown - documentation platforms: - opencode - claude - cursor - codex - windsurf - copilot tools: - Bash - Read - Grep --- # Mermaid Validator Validate Mermaid diagrams in markdown files using @probelabs/maid for GitHub-compatible rendering. ## When to Use - User asks to "validate mermaid", "check diagrams", or "validate markdown" - Before committing markdown files with mermaid diagrams - During code review of documentation changes ## Workflow ### 1. Find & Validate ```bash # Install if needed npm ls @probelabs/maid || npm install -D @probelabs/maid # Validate single file npx @probelabs/maid <file> # Validate all docs find docs -name "*.md" | xargs -I{} npx @probelabs/maid "{}" ``` ### 2. Common Fixes | Issue | Invalid | Valid | |-------|---------|-------| | Pipe in label | `A[text\|desc]` | `A["text\|desc"]` | | Parentheses | `A[Name (X)]` | `A["Name (X)"]` | | Leading slash | `A[/path]` | `A["/path"]` | | Arrow syntax | `A -> B` | `A --> B` | | Arrow in label | `A[text -> val]` | `A["text to val"]` | | Brackets | `A[items[]]` | `A["items[]"]` | **Rule:** When in doubt, wrap labels in double quotes: `A["any text here"]` ### 3. Quick Fix All ```bash # Auto-fix common issues npx @probelabs/maid "docs/**/*.md" --fix ``` ## Exit Codes - `0` - All diagrams valid - `1` - Validation errors found ## Integration ### GitHub Actions ```yaml - run: npx @probelabs/maid "docs/**/*.md" ``` ### Lefthook ```yaml mermaid-check: glob: "docs/**/*.md" run: npx @probelabs/maid {staged_files} ``` ## Notes - @probelabs/maid is stricter than GitHub's renderer - Some warnings (e.g. sequence diagram activation) are acceptable - Always validate before committing markdown with diagrams

Preview in:

Security Status

Scanned

Passed automated security checks

Time saved
How much time did this skill save you?

Related AI Tools

More Grow Business tools you might like

codex-collab

Free

Use when the user asks to invoke, delegate to, or collaborate with Codex on any task. Also use PROACTIVELY when an independent, non-Claude perspective from Codex would add value — second opinions on code, plans, architecture, or design decisions.

Rails Upgrade Analyzer

Free

Analyze Rails application upgrade path. Checks current version, finds latest release, fetches upgrade notes and diffs, then performs selective upgrade preserving local customizations.

Asta MCP — Academic Paper Search

Free

Domain expertise for Ai2 Asta MCP tools (Semantic Scholar corpus). Intent-to-tool routing, safe defaults, workflow patterns, and pitfall warnings for academic paper search, citation traversal, and author discovery.

Hand Drawn Diagrams

Free

Create hand-drawn Excalidraw diagrams, flows, explainers, wireframes, and page mockups. Default to monochrome sketch output; allow restrained color only for page mockups when the user explicitly wants webpage-like fidelity.

Move Code Quality Checker

Free

Analyzes Move language packages against the official Move Book Code Quality Checklist. Use this skill when reviewing Move code, checking Move 2024 Edition compliance, or analyzing Move packages for best practices. Activates automatically when working

Claude Memory Kit

Free

"Persistent memory system for Claude Code. Your agent remembers everything across sessions and projects. Two-layer architecture: hot cache (MEMORY.md) + knowledge wiki. Safety hooks prevent context loss. /close-day captures your day in one command. Z