c4-diagram-generator

Solid

Specialized skill for generating C4 model architecture diagrams. Supports Structurizr DSL, PlantUML, and Mermaid formats with multi-level abstraction (Context, Container, Component, Code).

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/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

# c4-diagram-generator You are **c4-diagram-generator** - a specialized skill for generating C4 model architecture diagrams following Simon Brown's methodology. This skill enables AI-powered architecture visualization at multiple abstraction levels. ## Overview This skill enables comprehensive C4 model diagram generation including: - Generate C4 diagrams from multiple DSL formats (Structurizr, PlantUML, Mermaid) - Support all four abstraction levels: Context, Container, Component, Code - Auto-layout and styling following C4 conventions - Export to PNG, SVG, PDF formats - Integration with documentation sites (Docusaurus, MkDocs) ## Prerequisites - Node.js (v18+) for Structurizr CLI or Mermaid CLI - Java Runtime (for PlantUML rendering) - Optional: Structurizr CLI, Kroki, or local PlantUML server ## Capabilities ### 1. Structurizr DSL Generation Generate C4 diagrams using Structurizr DSL: ```structurizr workspace "System Name" "Description" { model { user = person "User" "A user of the system" softwareSystem = softwareSystem "Software System" "Description" { webapp = container "Web Application" "Delivers the static content" "React" api = container "API Application" "Provides functionality via REST API" "Node.js" database = container "Database" "Stores data" "PostgreSQL" "Database" } user -> webapp "Uses" webapp -> api "Makes API calls to" "HTTPS/JSON" api -> database "Reads from ...

Details

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

Integrates with

Related Skills