diagram-generation

Solid

Multi-format diagram generation from text descriptions. Create Mermaid, PlantUML, D2, and Graphviz diagrams including flowcharts, sequence diagrams, architecture diagrams (C4), and data models.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 98/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Diagram Generation Skill Multi-format diagram generation from text descriptions. ## Capabilities - Mermaid diagram generation (flowcharts, sequence, class, ER) - PlantUML diagram creation and rendering - D2 diagram generation - Graphviz DOT language support - Architecture diagram generation (C4 model) - Excalidraw integration for hand-drawn style - Diagram accessibility analysis - SVG/PNG export with optimization ## Usage Invoke this skill when you need to: - Create architecture diagrams - Generate sequence diagrams - Build data model visualizations - Create flowcharts and decision trees - Export diagrams in various formats ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | type | string | Yes | mermaid, plantuml, d2, graphviz, c4 | | diagramType | string | Yes | flowchart, sequence, class, er, architecture | | source | string | No | Diagram source code | | inputPath | string | No | Path to diagram source file | | outputPath | string | Yes | Output file path | | format | string | No | svg, png, pdf (default: svg) | | theme | string | No | Theme for styling | ### Input Example ```json { "type": "mermaid", "diagramType": "sequence", "source": "sequenceDiagram\n Client->>API: Request\n API-->>Client: Response", "outputPath": "docs/diagrams/api-flow.svg", "format": "svg" } ``` ## Mermaid Diagrams ### Flowchart ```mermaid flowchart TD A[Start] --> B{Is valid?} B -->|Yes| C[Process] B -->|No|...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills