mdnaimul22/human-skills/mermaid-view

Claude Code and agent skill by mdnaimul22/human-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Convert Mermaid diagram code into high-fidelity SVG or PNG preview. Generate diagrams for architecture, flowcharts, sequence diagrams, and class models directly from CLI.

Install

npx vskill@latest install mdnaimul22/human-skills/mermaid-view

SKILL.md

The same SKILL.md was published earlier as mdnaimul22/human-skills/mermaid-view.

mermaid-view — Diagram Renderer & Preview Generator

"Turn Mermaid code into crisp, high-fidelity PNG and SVG images instantly."

Overview

mermaid_view is a standalone tool that converts any Mermaid diagram code (flowcharts, sequence diagrams, class diagrams, state machines, entity-relationship diagrams, Gantt charts, etc.) into high-resolution PNG or SVG image files.


Tool Reference: mermaid_view

📝 Arguments
ArgumentTypeRequiredDescription
diagram_codestringYesThe raw Mermaid code to render (e.g. flowchart TD\n A --> B). Markdown code fences (\\\`mermaid) are automatically stripped if present.
pathstringNoTarget directory or explicit file path (e.g. /home/user/my-project or /home/user/my-project/arch.png). Defaults to current directory.
previewstringNoOutput format: "png" (default) or "svg".
file_namestringNoOptional custom file name (e.g. architecture.png). Defaults to diagram.<preview>.
themestringNoMermaid theme: "default", "dark", "neutral", "forest", or "base". Default: "default".

Supported Diagram Types

  • Flowcharts (flowchart TD, graph LR)
  • Sequence Diagrams (sequenceDiagram)
  • Class Diagrams (classDiagram)
  • State Diagrams (stateDiagram-v2)
  • Entity Relationship Diagrams (erDiagram)
  • User Journey (journey)
  • Git Graphs (gitGraph)
  • Mindmaps (mindmap)
  • Timelines (timeline)

Usage Examples

Render PNG, SVG Flowchart, Vector Diagram, Architecture Diagram
bash
human-skills '{
"tool_name": "mermaid_view",
"tool_args": {
"path": "/home/username/my-project", # e.g. `/home/user/my-project/arch.png`, default is `path`
"preview": "png", # e.g. `svg`, default is `png`
"file_name": "diagram.png", # e.g. `architecture.png`, default is `diagram.<preview>`
"theme": "neutral", # e.g. `dark`, `neutral`, `forest`, `base`, default is `dark`
"diagram_code": "flowchart TD\n A[Client] --> B[API Gateway]\n B --> C[Auth Service]\n B --> D[Data Service]\n D --> E[(PostgreSQL)]"
}
}'

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mdnaimul22/human-skills/mermaid-view/badge)](https://verified-skill.com/skills/mdnaimul22/human-skills/mermaid-view)

Something wrong with this skill or its page? Tell us.