← Back to list

mermaid-diagrams
by rstacruz
⭐ 6🍴 1📅 Jan 24, 2026
SKILL.md
name: mermaid-diagrams description: > Has guidelines for creating Mermaid diagrams and fixing its syntax errors. Use this before creating or updating Mermaid diagrams.
Mermaid diagram guidelines
-
Quote the labels. Doing so avoids issues with special characters like
/and[and more.graph TD %% avoid: A[app/[workspace]/layout.tsx] -->|imports| B[generateDescription] %% ok: C["app/[workspace]/layout.tsx"] -->|imports| D["generateDescription"] -
Don't start labels with
-. These are interpreted as markdown. Use an alternate bullet instead.%% avoid: B["- Title here"] B["* Title here"] %% ok: B["· Title here"] -
Use
<br>for line breaks.%% avoid: B["Long title here \n subtext here"] %% ok: B["Long title here <br> subtext here"] -
Use double quotes and backticks "
text" to enclose Markdown text. Consider**(bold) and_(italic) for flowchart labels. Note that this is only supported in flowchart mode.flowchart LR A["`**hello** _world`"] -
Consider using different shapes when appropriate.
flowchart TD id1(Title here) %% rounded edges id2([Title here]) %% pill id2[(Title here)] %% cylinder (database) A@{ shape: cloud, label: "Cloud" } B@{ shape: lean-r, label: "Skewed rectangle (Input/Output)" } C@{ shape: lean-l, label: "Skewed rectangle (Output/Input)" } D@{ shape: processes, label: "Stacked rectangles (Multiple processes)" }
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon