← スキル一覧に戻る

diagram-gen
by DennisToma
⭐ 0🍴 0📅 2026年1月13日
SKILL.md
name: diagram-gen description: Generate architecture, sequence, state, and ERD diagrams for code understanding. Use when user wants to visualize code structure or document systems. allowed-tools: "Read,Grep,Glob,Write" version: 1.0.0
Diagram Generator
Generate Mermaid diagrams to understand and document code.
Diagram Types
| Type | Best For |
|---|---|
| Architecture | System overview, onboarding |
| Sequence | Request flows, workflows |
| State Machine | Object lifecycle |
| ERD | Database structure |
| Flowchart | Algorithm logic |
| Class | OOP structure |
Instructions
- Scope - What specific part needs visualization?
- Gather - Read entry points, key functions, data models
- Generate - Use Mermaid syntax (see
{baseDir}/references/mermaid-templates.md) - Save - Write to
docs/diagrams/[name].md
Output Format
# [Name] Diagram
[1-2 sentence description]
\`\`\`mermaid
[diagram]
\`\`\`
| Component | Purpose |
|-----------|---------|
| [Name] | [Role] |
Guidelines
- Focus on one aspect per diagram
- Match names to actual code
- Show happy path; add errors only if relevant
- Link to source files when helpful
Resources
Templates: {baseDir}/references/mermaid-templates.md
スコア
総合スコア
50/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
レビュー
💬
レビュー機能は近日公開予定です