スキル一覧に戻る
romain325

mermaid-diagram

by romain325

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: mermaid-diagram description: Generate well-structured Mermaid diagrams for visual documentation. Use when designing systems, documenting workflows, creating architecture diagrams, or any task requiring visual representation of processes, relationships, or structures. Triggers include requests like "create a diagram", "visualize this", "show the flow", "draw the architecture", or when explaining complex systems that benefit from visual aids.

Mermaid Diagram

Generate proper, well-structured Mermaid diagrams for visual documentation and design presentations.

Diagram Selection

NeedDiagramReference
Process flow, decisionsFlowchartflowchart.md
API/service interactionsSequencesequence.md
Object-oriented designClassclass.md
Database schemaER Diagramer.md
State machines, lifecyclesStatestate.md
Software architecture (C4)C4c4.md
Cloud/infrastructureArchitecturearchitecture.md
Brainstorming, conceptsMindmapmindmap.md
Timelines, charts, gitOtherother-diagrams.md

Quick Examples

Flowchart

flowchart TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[Other]
    C --> E[End]
    D --> E

Sequence

sequenceDiagram
    Client->>+API: Request
    API->>DB: Query
    DB-->>API: Data
    API-->>-Client: Response

Class

classDiagram
    class Animal {
        +String name
        +makeSound()
    }
    Animal <|-- Dog
    Animal <|-- Cat

ER

erDiagram
    USER ||--o{ ORDER : places
    ORDER ||--|{ ITEM : contains

Best Practices

  1. Choose the right diagram - Match diagram type to what you're representing
  2. Keep it readable - Limit nodes, use clear labels, avoid crossing lines
  3. Use direction - LR for wide diagrams, TD for tall ones
  4. Group related items - Use subgraphs, boundaries, or namespaces
  5. Add context - Use notes and labels to explain non-obvious elements
  6. Style sparingly - Only highlight what needs attention

Output Format

Always wrap diagrams in fenced code blocks:

```mermaid
flowchart LR
    A --> B
```

Consult the appropriate reference file for detailed syntax before generating complex diagrams.

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です