← All skills

Diagram

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

Class skillID skill/diagramVersion 1.0.0Lifecycle stableAuthor convergent-systems-key
/diagram
documentationarchitecturediagrammermaid
Inputs
NameTypeDescription
subject stringCode, system, or concept to diagram.
diagram_type optionalstringflowchart | sequence | state | class | ER | gantt
Outputs
NameTypeDescription
diagramstringMermaid 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.