design-doc-mermaid

The skill first determines which type of diagram the user wants (flowchart, deployment, architecture, sequence, class, ER, state, C4), then loads the corresponding syntax guide and templates. It can also generate architecture diagrams from code by referencing examples from frameworks like FastAPI, or write entire documents using design document templates. The recommended workflow is to save each diagram as a .mmd file and export it to PNG / SVG, validate it using the Mermaid command-line tool (mmdc), and if errors occur, first consult the built-in troubleshooting guide before using search tools. The repository includes Python scripts for extracting diagrams, batch converting images, and generating diagrams with validation.

The skill first determines which type of diagram the user wants (flowchart, deployment, architecture, sequence, class, ER, state, C4), then loads the corresponding syntax guide and templates. It can also generate architecture diagrams from code by referencing examples from frameworks like FastAPI, or write entire documents using design document templates. The recommended workflow is to save each diagram as a .mmd file and export it to PNG / SVG, validate it using the Mermaid command-line tool (mmdc), and if errors occur, first consult the built-in troubleshooting guide before using search tools. The repository includes Python scripts for extracting diagrams, batch converting images, and generating diagrams with validation.

Why it matters Diagrams are not written into documents until they pass validation via the Mermaid command-line tool; platforms like Confluence that do not render Mermaid will also export images.

skills.sh install count 113661 (+1043 / 24h)

Security Audit: Not audited

  • Not yet scanned

Reasoning

  • skills.sh 24-hour installs 1043, cumulative 113661 (indicates attention only)

Usage

  • Tell the agent "Draw this login flow as a sequence diagram and add it to design.md"; to export images, you must first install the Python and Node versions of the Mermaid command-line tool mmdc

Risks

  • Not audited: The agent will run Python scripts and mmdc from the repository, and create a diagrams/ directory in the project to write files
  • If validation fails, it will call your installed search tools like perplexity and brave, sending the erroneous diagram code to these services

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates