生成 Mermaid 源码或包含 Mermaid fence 的 Markdown 图表,适用于用户明确要求 Mermaid、Markdown 图表、文档即代码或可 diff 图形。支持 flowchart、sequence、class、ER、state、gantt、gitGraph、journey、pie、mindmap、timeline、quadrant、xy、sankey 和 block。优先保证类型选择、语法、自动布局和文档可维护性,不用于 Draw.io 可编辑 XML、精确坐标 SVG 或照片插画。
$npx -y skills add bewatermyfriend7/skill-project --skill mermaid-genInstalls into the current project.
Run `npx skills use "https://github.com/bewatermyfriend7/skill-project" --skill "bewatermyfriend7/skill-project/mermaid-gen"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/bewatermyfriend7/skill-project" that are relevant to the current task. Run `npx skills add "https://github.com/bewatermyfriend7/skill-project"` and select the relevant skills, then follow their instructions.