write-mermaid
仓库创建 2026年7月26日最近提交 8 小时前SkillHot 收录 3 小时前
这个 Skill 做什么
把 mermaid 图画成能在目标平台上真正渲染的版本,覆盖 mermaid 11.16.0 的 31 种图类型(flowchart、sequence、C4 等)。写图或修复在 GitHub 上只显示空白框的问题时用它,能判断是语法错了还是渲染器不支持某类图。特别在于按图类型给出正确语法与示例,并基于目标渲染器选最兼容的写法。
▸ 展开 SKILL.md 英文原文
Write mermaid diagrams that actually render on the target platform. Covers all 31 diagram types in mermaid 11.16.0 — flowchart, sequence, class, state, ER, gantt, gitGraph, C4, architecture, mindmap, and the long tail — with per-diagram syntax, node shapes, and worked examples. Use when writing or fixing any ```mermaid block, choosing which diagram type fits, debugging a diagram that renders as a broken box on GitHub, or deciding whether a diagram type is supported by the renderer you are targeting.
0
Stars
0
Forks
10
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/fagerbergj/dotagents/main/skills/write-mermaid/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/fagerbergj/dotagents/main/skills/write-mermaid/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Write mermaid Mermaid diagrams fail in two ways, and they look identical from the author's side: the syntax is wrong, or the syntax is fine but the target renderer is too old to know that diagram type. This skill covers both — per-diagram syntax under `references/`, and a version-support model so a diagram is chosen for the platform it has to render on. **GitHub runs mermaid 11.16.0** (verified 2026-07-26), which is current — so on GitHub, every diagram type documented here renders, and version skew is not your problem. It still is elsewhere: GitLab, self-hosted GitHub Enterprise, docs generators, and IDE previewers all pin their own versions and routinely lag. Check the target before as
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有