Mermaid — генерация диаграмм по описанию

★ 7.1 · design

mermaid-diagram is a Claude Code skill that generates Mermaid diagram code from a plain-language description, covering flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18+ additional diagram types. For every request it writes two files into a figures/ directory: a raw .mmd source file and a .md file with the diagram wrapped in a mermaid fenced block, complete with a title and description. Syntax is verified by running the Mermaid CLI (mmdc), which renders a PNG; if validation fails, the skill auto-corrects and retries up to three times. After a successful render, Claude reads the PNG and runs a strict visual checklist covering arrow correctness, block content, and file consistency. It suits database design, API documentation, system architecture, and any workflow where technical diagrams need to be created and validated automatically inside a repository.