Agent skill · Frontend

c4-diagram-generator

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

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill c4-diagram-generator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: Bash(*)ReadWriteEditGlobGrepWebFetch
Path: library/specializations/software-architecture/skills/c4-diagram-generator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 function

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Capabilities
  4. 1. Structurizr DSL Generation
  5. 2. PlantUML C4 Generation
  6. 3. Mermaid C4 Generation
  7. 4. Multi-Level Diagram Generation
  8. 5. Rendering and Export
  9. MCP Server Integration
  10. Best Practices
  11. C4 Model Guidelines
  12. Styling Conventions
  13. Notation
  14. Process Integration
Ships with 1 file
  • README.md
Commands it runs
Using Structurizr CLI
structurizr-cli export -workspace workspace.dsl -format plantuml -output ./diagrams
Using PlantUML
java -jar plantuml.jar -tsvg diagram.puml
Using Mermaid CLI
mmdc -i diagram.mmd -o diagram.svg -t neutral
Using Kroki (cloud service)
curl -X POST https://kroki.io/plantuml/svg --data-binary @diagram.puml -o diagram.svg
More from babysitter
All skills →
About this skill
What does the c4-diagram-generator skill do?

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

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill c4-diagram-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going