Fix mermaid

From rp1-run/rp1 · View interactive version

Fix mermaid is an AI agent skill from the GitHub repository rp1-run/rp1. Validates and repairs mermaid diagrams in markdown files. Scans for mermaid blocks, validates syntax, and auto-repairs common errors.

How to use this skill

Skill file

Mermaid Diagram Fixer

This command validates and repairs Mermaid.js diagrams in markdown files.

Usage

/fix-mermaid path/to/file.md    # Process markdown file in-place
/fix-mermaid -                   # Process diagram from stdin (stdout output)

Invocation

{% dispatch_agent "rp1-base:mermaid-fixer", "INPUT_PATH: {FILE_PATH}, OUTPUT_MODE: in-place" %}

The agent will:

Requirements

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.