用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/trungdo9/ClauKit --skill mermaidjs-v11命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | mermaidjs-v11 |
| description | Create flowcharts, diagrams, Gantt, timeline diagrams |
| category | Design & Frontend |
| status | active |
Create diagrams, flowcharts, sequence charts, Gantt timelines, and technical visualizations using text-based markdown-inspired syntax. Mermaid renders code into SVG diagrams, enabling version control integration and programmatic diagram generation for documentation.
Do NOT use when: Requiring hand-drawn casual aesthetic (use Excalidraw), needing pixel-perfect publication layout (use tech-graph), or building interactive custom graph visualizations (use D3.js directly).
<pre class="mermaid"> tags in HTML/Markdown or use CLI tools.md files containing Mermaid syntax to git; GitHub/GitLab render automaticallymmdc) for embedding in PDFs, presentations, or static sitesMermaid diagrams are defined in human-readable DSL syntax. Example flowchart:
flowchart TD
A[User Request] --> B{Valid?}
B -->|Yes| C[Process]
B -->|No| D[Error]
Syntax resembles Markdown with graph structure declarations, avoiding proprietary binary formats.
Since diagrams are text files, they integrate with git workflows: diffs show syntax changes, branching/merging work as expected, code review comments directly reference diagram nodes. Solves "doc-rot" by keeping diagrams in sync with development.
Mermaid v11 supports 20+ diagram types: flowcharts, sequences, classes, states, ERD, user journeys, Gantt, pie, quadrant charts, requirement diagrams, Git graphs, C4 diagrams, block diagrams, mindmaps, timelines, Sankey, XY charts, and more.
Nodes and edges auto-position based on graph structure, reducing manual formatting overhead. Layout algorithms optimize for readability; configurable spacing and direction.
Sequence diagram showing request/response flow:
sequenceDiagram
participant Client
participant API
participant DB
Client->>API: GET /users
API->>DB: SELECT * FROM users
DB-->>API: User data
API-->>Client: JSON response
Gantt chart for project milestones:
gantt
title Project Timeline
section Development
Feature A :a1, 2025-05-16, 7d
Feature B :a2, after a1, 5d
section Testing
QA :b1, after a2, 3d