structurizr-c4

Installation
SKILL.md

structurizr-c4

Author and maintain C4 architecture models as code with the Structurizr DSL, entirely local and Docker-free. The bundled strz CLI wraps Structurizr vNext for validation, export and a live local viewer.

When to use

  • Create/update a C4 model: System Context, Container, Component, Deployment or Dynamic views.
  • Write or fix a workspace.dsl (Structurizr DSL).
  • Export diagrams to Mermaid, PlantUML or C4-PlantUML.
  • Run a local viewer to inspect diagrams in the browser.

Do NOT use for freeform boxes-and-lines diagrams unrelated to the C4 model, or when the user explicitly wants a different tool (draw.io, pure Mermaid, etc.).

Prerequisites

  • Java 21+ and git.
  • The strz CLI. Prefer the strz command if it is on PATH; otherwise call the bundled script directly: bash <skill-dir>/scripts/strz.sh <command>.
  • First run only: strz setup (clones and compiles Structurizr vNext into ~/.local/share/structurizr/; takes a few minutes once).
Installs
17
First Seen
Aug 7, 2026