← スキル一覧に戻る

mermaid
by laulauland
⭐ 0🍴 0📅 2026年1月22日
SKILL.md
name: mermaid description: Mermaid diagram generation guidelines. Use when creating flowcharts, sequence diagrams, class diagrams, or other visual documentation.
Mermaid Graph Generation
Basic Syntax
Use triple backticks with 'mermaid' language specifier:
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Process]
B -->|No| D[End]
Principles
- Prefer clear, concise diagrams that explain the core concept
- Use different node shapes and colors to distinguish different types of elements
- Ensure readability by using meaningful node labels
- Use subgraphs or clusters to show hierarchical or grouped relationships
Node Shapes
| Syntax | Shape |
|---|---|
[text] | Rectangle |
(text) | Rounded rectangle |
{text} | Diamond (decision) |
([text]) | Stadium |
[[text]] | Subroutine |
[(text)] | Cylinder (database) |
((text)) | Circle |
Supported Diagram Types
Flowchart
graph LR
A[Input] --> B[Process] --> C[Output]
Sequence Diagram
sequenceDiagram
participant A as Client
participant B as Server
A->>B: Request
B-->>A: Response
Class Diagram
classDiagram
class User {
+String name
+login()
}
State Diagram
stateDiagram-v2
[*] --> Idle
Idle --> Processing
Processing --> Done
Done --> [*]
Styling
graph TD
A[Node]:::highlight --> B[Node]
classDef highlight fill:#f9f,stroke:#333,stroke-width:2px
Subgraphs
graph TD
subgraph Frontend
A[React] --> B[Components]
end
subgraph Backend
C[API] --> D[Database]
end
B --> C
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です