c4-model
c4-model produces LikeC4 specifications that enforce Simon Brown's canonical C4 model, generating context and container views alongside architecture decisions. It scaffolds the necessary DSL files and validates against a strict checklist, refusing component views, dynamic diagrams, custom element kinds, and nested systems that fall outside canonical C4 scope.
c4-model creates canonical C4 context and container diagrams for architecture decisions using LikeC4.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-06-18
c4-model creates canonical C4 context and container diagrams for architecture decisions using LikeC4. c4-model produces LikeC4 specifications that enforce Simon Brown's canonical C4 model, generating context and container views alongside architecture decisions. It scaffolds the necessary DSL files and validates against a strict checklist, refusing component views, dynamic diagrams, custom element kinds, and nested systems that fall outside canonical C4 scope.
Use it when
- Yes.
- c4-model visualizes system architecture alongside architectural decision records (ADRs).
Verify before relying
Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.
Install
JosiahSiegel/claude-plugin-marketplace/c4-model · repository language: Shell
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does c4-model do?
c4-model produces LikeC4 specifications that enforce Simon Brown's canonical C4 model, generating context and container views alongside architecture decisions. It scaffolds the necessary DSL files and validates against a strict checklist, refusing component views, dynamic diagrams, custom element kinds, and nested systems that fall outside canonical C4 scope.
Can c4-model draw C4 context and container views?
Yes. c4-model specializes in creating canonical C4 context and container diagrams for architecture documentation. It generates LikeC4 DSL model files with strict C4 compliance, ensuring your diagrams follow Simon Brown's standard structure rather than custom or non-standard variations.
How does c4-model visualize system architecture with C4?
c4-model visualizes system architecture alongside architectural decision records (ADRs), allowing you to document both your design decisions and their corresponding C4 diagrams together. It detects drift between ADR component names and C4 model definitions to keep your documentation synchronized.
What diagram types does c4-model support?
c4-model enforces canonical C4 structure and refuses non-standard diagram types. It supports context and container views only, rejecting component views, dynamic diagrams, custom element kinds, and nested systems that fall outside the canonical C4 scope defined by Simon Brown.
Is c4-model open source?
Yes. c4-model is released under the MIT license, making it freely available for commercial and personal use with minimal restrictions.
Can c4-model generate LikeC4 model files for my system?
Yes. c4-model generates LikeC4 DSL model files with strict C4 compliance. It scaffolds the necessary files and validates your architecture against a strict checklist to ensure canonical C4 structure before output.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
c4-model
Produces a canonical-C4 LikeC4 model — Context and Container views by default, Deployment optional. Refuses every LikeC4 feature that would push the diagram beyond Simon Brown's canonical C4. The canonical-C4 features used here are stable across LikeC4 versions; re-validate with npx likec4 validate to confirm against your installed version.
What this skill makes
- A
model.c4file containing the specification + the model - A
<system>.c4file scoped to the single system in focus - A
views.c4file with one Context view and one Container view (optionally one Deployment view) - A
likec4.config.jsfile
(truncated - see the full file via the links below)
File tree — 3 files
plugins/doc-master/skills/c4-model/SKILL.md
plugins/doc-master/skills/c4-model/references/canonical-c4-refusals.md
plugins/doc-master/skills/c4-model/references/likec4-dsl-cheatsheet.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Create canonical C4 context and container diagrams for architecture documentation”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
ADR Discovery walks you through pre-flight context gathering before drafting an architecture decision record. It scans your repo for signals, confirms your domain and components one at a time, maps relationships, and classifies existing ADRs—outputting a human-verified discovery brief and an open-questions register. Hand off to adr-drafting once five required confirmations are locked.
adr-critique systematically reviews existing or inherited ADRs to identify violations of shared rules, gaps in business-to-architecture reasoning, and conflicts with neighboring decisions or LikeC4 models. Each issue surfaces as a single flag requiring architect sign-off before moving to the next, ensuring quality without bulk rewrites.
Guides you through seven-phase ADR drafting via focused dialogue, asking one question per turn and pressure-testing your reasoning before self-critique. Enforces specificity on components, deciders, and architectural characteristics, then routes to discovery if foundations are shallow.
Create software architecture documentation using C4 model diagrams rendered in Mermaid. The skill guides you through selecting the right abstraction level—from system context through deployment—and generates properly structured diagrams with clear relationships and technology labels.
Build architecture diagrams following Simon Brown's C4 model, which organizes system structure into focused maps at different abstraction levels—each designed for a specific audience. Choose between Mermaid (default, renders natively on GitHub), Structurizr DSL (for multi-level models), or D2/PlantUML. Start with System Context and Container diagrams; add Component and Code layers only when they clarify design.
adr-backfill lets you record decisions that shipped long ago but were never written up as ADRs—typically surfaced by doc audits or code archaeology. It enforces stricter honesty than forward drafting by requiring a visible backfill marker so future readers know the record was reconstructed, not contemporaneous. The skill demands two independent evidence sources and refuses to draft when confidence in the reasoning is too low.