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
Install
JosiahSiegel/claude-plugin-marketplace/c4-model · repository language: Shell
git clone https://github.com/JosiahSiegel/claude-plugin-marketplace
cp -r claude-plugin-marketplace/plugins/doc-master/skills/c4-model ~/.claude/skills/c4-modelnpx skillfed install JosiahSiegel/claude-plugin-marketplace/c4-modelFrequently 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)
Read as markdown · JSON record · Browse the source repository
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