From rp1-base
Validates and repairs Mermaid diagrams in Markdown files by scanning code blocks, validating syntax with rp1 CLI, and auto-fixing common errors up to 3 iterations.
npx claudepluginhub rp1-run/rp1 --plugin rp1-baseThis skill uses the workspace's default tool permissions.
This command validates and repairs Mermaid.js diagrams in markdown files.
Validates and repairs Mermaid diagrams in markdown files by scanning code blocks, validating syntax, and auto-fixing common errors. Useful for documentation with broken diagrams.
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.
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.
Share bugs, ideas, or general feedback.
This command validates and repairs Mermaid.js diagrams in markdown files.
Extract these parameters from the user's input:
| Parameter | Required | Default | Description |
|---|---|---|---|
FILE_PATH | Yes | - | Path to markdown file, or - for stdin diagram |
/fix-mermaid path/to/file.md # Process markdown file in-place
/fix-mermaid - # Process diagram from stdin (stdout output)
Task tool: subagent_type: rp1-base:mermaid-fixer prompt: "INPUT_PATH: {FILE_PATH}, OUTPUT_MODE: in-place"
The agent will:
agent-tools mmd-validate command)