likec4-dsl

Construct and validate LikeC4 DSL architecture models with exact syntax.

11|Updated May 3, 2026
One-click install
npx skills add https://github.com/janmohammadi/adr-explorer --skill likec4-dsl-janmohammadi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: likec4-dsl
Source: https://github.com/janmohammadi/adr-explorer/tree/main/.agents/skills/likec4-dsl
Command: npx skills add https://github.com/janmohammadi/adr-explorer --skill likec4-dsl-janmohammadi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to generate exact LikeC4 syntax and relationships for architecture modeling, ensuring precise and replicable diagrams.

Core Features & Use Cases

  • DSL Syntax Guidance: Provides strict, rule-based syntax for creating architectures, relationships, and views.
  • Relationship Matching: Validates exact relationships by source, target, kind, and title to prevent ambiguities.
  • View Configuration: Craft complex include/exclude predicates, scoped views, and dynamic sequence diagrams with precise syntax.
  • Example Scenario: A user wants to define a scoped view that only shows cloud.backend and its incoming connections, with specific relationship filters.

Quick Start

Use the likec4-dsl skill to validate a model containing a system, containers, and relationships, ensuring exact syntax and semantics are met.

Frequently Asked Questions about likec4-dsl

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

FAQPage Schema
How do I validate architecture model relationships using LikeC4 DSL syntax?

To validate architecture model relationships, LikeC4 DSL enforces strict pattern matching by source, target, kind, and title to prevent ambiguities and ensure precise syntax for structural connections.

What is the syntax for creating scoped views in architecture diagrams?

Scoped views in architecture diagrams are configured using precise include and exclude predicates, allowing you to filter elements like cloud.backend and their incoming connections within the LikeC4 DSL.

Can I define dynamic sequence diagrams with LikeC4 DSL?

Yes, you can define dynamic sequence diagrams by applying exact DSL syntax for view predicates and extend operations, ensuring formal modeling tasks capture precise architectural interactions.

How do I filter incoming connections for a specific container in a scoped view?

Filter incoming connections by crafting complex include or exclude predicates within your scoped view, targeting the specific container path like cloud.backend to isolate its relationships.

Why does strict relationship matching matter in architecture diagram scripting?

Strict relationship matching matters because it validates exact relationship definitions by source, target, kind, and title, preventing ambiguities and ensuring your architecture models remain replicable.

What are the limitations of using LikeC4 DSL for formal architecture modeling?

The primary limitation is the requirement for strict pattern matching and exact syntax; any deviation in dynamic views or extend operations will break architecture model validation.