likec4-dsl

Validate .c4 and .likec4 files and generate interactive C4 diagrams.

Updated Jan 11, 2026
One-click install
npx skills add https://github.com/stickleprojects/azure_devops_analyzer --skill likec4-dsl-stickleprojects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: likec4-dsl
Source: https://github.com/stickleprojects/azure_devops_analyzer/tree/main/.claude/skills/likec4-dsl
Command: npx skills add https://github.com/stickleprojects/azure_devops_analyzer --skill likec4-dsl-stickleprojects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of creating and maintaining architecture diagrams by treating system design as code. Instead of drawing diagrams by hand and losing them when systems change, you describe your architecture in .c4 or .likec4 files and LikeC4 generates accurate, interactive C4 model diagrams that stay in sync with your codebase.

Core Features & Use Cases

  • Architecture-as-Code: Define systems, containers, components, and relationships in a DSL that lives alongside your source code.
  • Multi-File Projects: Organize large architectures across multiple .c4 files with lexical scoping, imports, and FQN references.
  • Dynamic & Deployment Views: Create flow diagrams, UML sequence diagrams, and infrastructure deployment views from the same model.
  • Use Case: A platform team documenting a microservices architecture can version-control their C4 model, validate it in CI with the LikeC4 CLI, and publish an interactive diagram site.

Quick Start

Use the likec4-dsl skill to validate your .c4 architecture files and generate interactive C4 diagrams from your model.

Frequently Asked Questions about likec4-dsl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is architecture-as-code for C4 diagrams and how does it work?

Architecture-as-code for C4 diagrams means defining systems, containers, and relationships in .c4 or .likec4 files that generate interactive diagrams. LikeC4 DSL enforces strict syntax so your model stays synchronized with your codebase automatically.

How do I validate and export C4 model files in a CI pipeline?

You validate and export C4 model files using deterministic LikeC4 CLI commands. The DSL generates strict validation checks for syntax and relationship identity matching, enabling automated export workflows for interactive diagram publication.

Can I organize a large C4 model across multiple files?

Yes, you can organize large C4 architectures across multiple .c4 files. The DSL supports lexical scoping, imports, and fully-qualified name cross-file references to maintain model integrity without monolithic file structures.

Does the LikeC4 DSL support deployment topology and sequence views?

Yes, the LikeC4 DSL supports infrastructure deployment views, dynamic flow diagrams, and UML sequence views. You define these different perspectives from the same underlying model using predicate-based view filtering.

What is the best way to keep software architecture diagrams in sync with code?

The best way to keep software architecture diagrams in sync is treating them as code. You describe your architecture in .c4 files, version-control them alongside source, and use the LikeC4 CLI to validate changes in CI.

How does predicate-based view filtering work for C4 diagrams?

Predicate-based view filtering generates specific diagram perspectives by matching conditions against your model elements. This allows you to create targeted dynamic flow and deployment views from a single source architecture definition.