mermaid-correction

Community

Fix broken Mermaid diagrams

AuthorSwimmingLiu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically validates, diagnoses, and corrects syntax errors in Mermaid diagrams, ensuring they render correctly.

Core Features & Use Cases

  • Syntax Validation: Uses the official Mermaid CLI to check diagram validity.
  • Error Diagnosis: Clearly explains parse errors, including line numbers and expected syntax.
  • Iterative Correction: Rewrites Mermaid code up to three times to fix errors.
  • Use Case: You have a complex flowchart in Mermaid syntax that won't render. Use this Skill to automatically identify the syntax error, explain it, and provide a corrected version.

Quick Start

Use the mermaid-correction skill to fix the following Mermaid code block:

Dependency Matrix

Required Modules

@mermaid-js/mermaid-cli

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mermaid-correction
Download link: https://github.com/SwimmingLiu/easy-skills/archive/main.zip#mermaid-correction

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.