/c4-skills:c4-reviewfrom c4-skills
Review C4 architecture models for notation compliance, completeness, and common mistakes. Use when reviewing architecture PRs, auditing existing models, validating model quality, or before publishing architecture documentation.
Ships in c4-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Review C4 architecture models for notation compliance, completeness, and common mistakes.
architecture/workspace.dslarchitecture/workspace.dsl)Run structurizr/structurizr to catch syntax errors before manual review:
Run Structurizr with the most native OCI runtime available, written $RUNTIME below: container on Apple Silicon macOS (after container system start), wslc on Windows where available, otherwise podman (Docker works too). Pin a dated image tag rather than latest, which moves: a newer release can reject a model an older one accepted. On a Linux host with SELinux, add :z to the volume.
$RUNTIME run --rm \
-v "$(pwd):/work" \
structurizr/structurizr:2026.09.19 validate -w /work/architecture/workspace.dsl
Mount the project root (not just architecture/) so !adrs / !docs symlinks resolve.
If validation fails, fix syntax errors first. Do not proceed with review until the model parses cleanly.
Run the inspect subcommand to surface Checkstyle-style violations (missing descriptions, duplicate names, duplicate view keys, duplicate relationship descriptions, etc.):
$RUNTIME run --rm \
-v "$(pwd):/work" \
structurizr/structurizr:2026.09.19 inspect -w /work/architecture/workspace.dsl -s error,warning
The exit code equals the number of violations. Severity levels can be tuned per element via structurizr.inspection.* workspace properties (ignore, info, warning, error).
Check every element in the model against these criteria:
Check every relationship:
Suggest specific alternatives for vague labels:
| Vague | Ask | Better Example |
|---|---|---|
| "Uses" | What does it use it for? | "queries order history from" |
| "Connects to" | What data flows? | "sends email notifications via" |
| "Interacts with" | What's the interaction? | "submits search queries to" |
| "Communicates with" | What's communicated? | "publishes order events to" |
Check each view:
include * or explicitly includes all relevant elementsshape Personshape Cylinder!identifiers hierarchical is used (recommended for non-trivial models)api, database, not c1, c2)!adrs directive points to ADR directory (if ADRs exist)!docs directive points to documentation (if applicable)Produce a review summary with:
validateinspectWhen reviewing a C4 model for an Elixir/OTP system, check these additional items:
The review is complete when:
validate passes (the model parses cleanly) and the inspect violation count has been triagedc4-model — C4 abstractions and diagram typesstructurizr-dsl — DSL syntax referencec4-deployment — Deployment modeling specificsWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
c4-skills@jrjsmrtn-skills is listed by jrjsmrtn/jrjsmrtn-skills — review the source before installing
npx claudepluginhub jrjsmrtn/jrjsmrtn-skills --plugin c4-skills4 skills in this plugin
/c4-deploymentModel deployment environments using C4 deployment diagrams and Structurizr DSL. Use when adding deployment views, modeling infrastructure, documenting production/staging environments, or mapping containers to infrastructure./c4-modelCreate and evolve C4 architecture models with proper abstractions, diagram types, and notation. Use when adding elements to a C4 model, choosing diagram types, modeling relationships, or making architecture modeling decisions./structurizr-dslStructurizr DSL syntax reference and patterns for writing C4 architecture models. Use when writing or editing workspace.dsl files, looking up DSL syntax, implementing specific patterns, or troubleshooting DSL errors.