Back to list
DennisToma

diagram-gen

by DennisToma

0🍴 0📅 Jan 13, 2026

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

TypeBest For
ArchitectureSystem overview, onboarding
SequenceRequest flows, workflows
State MachineObject lifecycle
ERDDatabase structure
FlowchartAlgorithm logic
ClassOOP structure

Instructions

  1. Scope - What specific part needs visualization?
  2. Gather - Read entry points, key functions, data models
  3. Generate - Use Mermaid syntax (see {baseDir}/references/mermaid-templates.md)
  4. 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

Score

Total Score

50/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon