mermaid
✓创建流程图、序列图、状态机、类图、甘特图、思维导图等。最适合流程、API 交互、系统架构和技术文档。不适用于数据驱动图表(使用 vega)或快速 KPI 视觉效果(使用信息图)。
SKILL.md
Quick Start: Identify diagram type (flowchart/sequence/state/class/ER/gantt/mindmap) → Define nodes with shapes → Connect with arrows → Wrap in `mermaid fence. Default: top-to-bottom (TD), use flowchart over graph, Unicode supported.
| Diagram won't render | Check unmatched brackets, quotes | | List syntax error | [1.Item] not [1. Item] | | Subgraph reference fails | Use ID not display name | | Too crowded | Split into multiple diagrams | | Crossing connections | Use different layout direction or invisible edges |
For diagram-specific syntax and advanced features, refer to references below:
创建流程图、序列图、状态机、类图、甘特图、思维导图等。最适合流程、API 交互、系统架构和技术文档。不适用于数据驱动图表(使用 vega)或快速 KPI 视觉效果(使用信息图)。 来源:xicilion/markdown-viewer-extension。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/xicilion/markdown-viewer-extension --skill mermaid- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 mermaid?
创建流程图、序列图、状态机、类图、甘特图、思维导图等。最适合流程、API 交互、系统架构和技术文档。不适用于数据驱动图表(使用 vega)或快速 KPI 视觉效果(使用信息图)。 来源:xicilion/markdown-viewer-extension。
如何安装 mermaid?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/xicilion/markdown-viewer-extension --skill mermaid 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/xicilion/markdown-viewer-extension