What problem does it solve?
Architecture diagrams become outdated the moment code changes, creating dangerous misalignment between documentation and reality. This Skill treats architecture as code: you describe systems in .c4 or .likec4 files and LikeC4 generates interactive, always-current C4 diagrams.
Core Features & Use Cases
- Exact DSL Syntax: Author
.c4/.likec4 files with precise rules for identifiers, FQNs, typed relationships, and scoped view predicates.
- CLI Command Precision: Run validation, export PNG/Draw.io/JSON, and serve previews using canonical commands and flags.
- View Engineering: Build scoped element views, dynamic sequence diagrams, and deployment views with predicate-based inclusion and styling.
- Use Case: A platform team maintains
system-model.c4 alongside microservices; this Skill ensures they validate syntax, export deployment diagrams, and extend cross-file relationships without ambiguity.
Quick Start
Use the likec4-dsl skill to validate your .c4 file and export a PNG diagram of your architecture.