mermaid-diagram-guide
Skill by brycewang-stanford
Creates flowcharts, sequence diagrams, class diagrams, Gantt charts and state diagrams using Mermaid syntax. It is built for researchers and developers who want diagrams stored as plain text alongside their documentation.
Install mermaid-diagram-guide
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/diagram/mermaid-diagram-guide ~/.claude/skills/mermaid-diagram-guideRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/tools/diagram/mermaid-diagram-guide ~/.gemini/antigravity-cli/skills/mermaid-diagram-guideAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mermaid-diagram-guide in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Mermaid Diagram Guide is a skill that teaches an AI assistant how to write Mermaid diagram code. It covers flowcharts, sequence diagrams, class diagrams, Gantt charts and state diagrams, with node shape and arrow reference tables and example templates. Each diagram type includes a template that can be copied and modified.
The source explains that Mermaid diagrams are plain text, so they can be version controlled and rendered in GitHub, GitLab, Notion or Obsidian. It also shows Mermaid CLI commands for exporting PNG, SVG or PDF files, and a LaTeX snippet for embedding SVG output. The guide is aimed at researchers writing papers, README files and architecture documentation.
Written from the project's SKILL.md and checked against it.
What it can do
- FlowchartsBuilds flowcharts with node shapes, subgraphs and direction options.
- Sequence diagramsModels interactions between components over time, with arrow types.
- Class diagramsDocuments code architecture and data models.
- Gantt chartsPlans project timelines with sections and task dependencies.
- State diagramsModels entity lifecycles, such as a paper moving from draft to published.
- Command-line renderingRenders diagram files to PNG, SVG or PDF with the Mermaid CLI.
- LaTeX embeddingShows how to include rendered SVG diagrams in a LaTeX figure.
What you need
- npm, to install the Mermaid CLI
- LaTeX with the svg package, for embedding SVG figures
Try asking
- Draw a flowchart of my data cleaning and model training pipeline in Mermaid.
- Create a sequence diagram for a user submitting an experiment to an API server.
- Make a Gantt chart for a four-month research plan with a literature review and writing.
Good to know
- Rendering to image files requires the Mermaid CLI, installed separately with npm.
- The guide advises keeping diagrams focused and splitting them if they exceed 15-20 nodes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/43-wentorai-research-plugins/skills/tools/diagram/mermaid-diagram-guide/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mermaid-diagram-guide
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mermaid-diagram-guide: common questions
Do I need to know Mermaid syntax first?
The guide includes syntax tables and a template for each diagram type that can be copied and modified. It is written to help users create diagrams from those examples.
Can Mermaid diagrams render directly in GitHub?
The source says GitHub and GitLab both render Mermaid natively in Markdown files. Diagrams are written inside a fenced mermaid code block.
Which export formats does the guide cover?
The CLI examples render to PNG, SVG and PDF. The guide recommends SVG for papers because it scales without losing quality.
How do I install mermaid-diagram-guide?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mermaid-diagram-guide free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is mermaid-diagram-guide safe to use?
It scores 77 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mermaid-diagram-guide?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
