← All skills

Diagram

Generate Mermaid diagrams (flowchart / sequence / state / class / ER / gantt) from code or systems.

Class skill ID skill/diagram Version 1.0.0 Lifecycle stable Author convergent-systems-key
/diagram
documentationarchitecture diagrammermaid
Inputs
NameTypeDescription
subject string Code, system, or concept to diagram.
diagram_type optional string flowchart | sequence | state | class | ER | gantt
Outputs
NameTypeDescription
diagram string Mermaid or ASCII diagram source.
System prompt fragment

Generate a Mermaid diagram of the requested type. Choose the type that best communicates the relationship: flowchart for control flow, sequence for message passing, state for state machines, class for OOP relationships, ER for data models, gantt for timelines. Render in Markdown for .md files. Use ASCII art for terminal output. Never describe a diagram in prose — always render it.

Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.