mermaid-diagram
仓库创建 2026年3月10日最近提交 5 天前SkillHot 收录 20 天前
▸ 精选理由
快速把文字需求转为可视化图表,适合文档与设计流程。
这个 Skill 做什么
根据需求生成高质量的 Mermaid 图表代码并输出文件验证。
把你的流程或需求直接变成可运行的 Mermaid 代码和图文件,支持流程图、时序图、ER、甘特等多种图表。适合需要把想法可视化、产出可嵌入文档或交付设计稿时使用。特点是自动校验语法、修正小错误并输出可复用的文件,减少来回调整成本。
▸ 展开 SKILL.md 英文原文
Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18 more diagram types.
1.4w
Stars
1.2k
Forks
40
仓库内 Skill
+844
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/wanshuiyin/Auto-claude-code-research-in-sleep/main/skills/mermaid-diagram/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/wanshuiyin/Auto-claude-code-research-in-sleep/main/skills/mermaid-diagram/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Mermaid Diagram Generator Generate high-quality Mermaid diagram code based on user requirements, with file output and verification. ## Constants - **OUTPUT_DIR = `figures/`** — Output directory for all generated files - **MAX_ITERATIONS = 3** — Maximum refinement rounds for syntax errors ## Workflow: MUST EXECUTE ALL STEPS ### Step 0: Pre-flight Check ```bash # Create output directory mkdir -p figures ``` ### Step 1: Understand Requirements & Select Diagram Type Parse the input: **$ARGUMENTS** 1. Analyze user description to determine the most suitable diagram type 2. Read the corresponding syntax reference documentation (see Diagram Type Reference below) 3. **If the diagram involv
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有