c4-model

Document software architecture as validated C4 model Markdown deliverables.

140|20|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/zekiriabd/SDD-Pro --skill c4-model-zekiriabd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4-model
Source: https://github.com/zekiriabd/SDD-Pro/tree/main/.sdd/skills/c4-model
Command: npx skills add https://github.com/zekiriabd/SDD-Pro --skill c4-model-zekiriabd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams make software architecture understandable by transforming system ideas, existing codebases, or architecture prose into validated C4 model documentation instead of producing ambiguous or overly detailed diagrams.

Core Features & Use Cases

  • Interactive architecture design: Co-build Context, Container, Component, and Code-level views through structured dialogue and explicit validation.
  • Retro-documentation: Derive architecture diagrams from repositories, README files, specifications, or other prose while clearly separating confirmed facts from assumptions.
  • Review and evolution: Critique existing C4 diagrams, identify modeling and readability issues, and update architecture documentation while preserving its format and destination.
  • Standards-driven output: Produce Mermaid C4, Structurizr DSL, PlantUML, or negotiated alternatives with legends, technology details, concrete relationship intents, protocols, assumptions, and accompanying Markdown documents.
  • Use Case: Give the Skill a repository and ask it to document the system architecture, then review the discovered containers and flows before generating Context and Container diagrams.

Quick Start

Ask the c4-model skill to design, document, review, or update a software architecture and specify the repository or diagram, expected detail level, output format, and destination.

Frequently Asked Questions about c4-model

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

FAQPage Schema
How do I document software architecture from an existing repository?

To document software architecture from a repository, provide the codebase or README to derive Context, Container, and Component diagrams. The process separates confirmed facts from assumptions, validating structure and dependencies to produce self-standing Markdown deliverables with Mermaid or PlantUML diagrams.

What is the best way to generate C4 diagrams from prose specifications?

Generating C4 diagrams from prose specifications involves applying abstraction-level discipline to clarify system structure. The process transforms ambiguous text into validated C4 model documentation, outputting Mermaid C4, Structurizr DSL, or PlantUML formats with legends, technology details, and documented assumptions.

Can I review and update existing architecture diagrams without losing their format?

Yes, you can review and update existing architecture diagrams while preserving their format and destination. The process critiques current C4 diagrams to identify modeling and readability issues, then updates the architecture documentation through structured dialogue and explicit validation.

Does the C4 model support deployment and dynamic views for system design?

Yes, the C4 model supports deployment and dynamic views alongside Context, Container, and Component levels. It applies these views to greenfield architecture design and repository retro-documentation, requiring explicit validation, technology annotations, and protocol details for clear system structure.

How do I design greenfield software architecture using the C4 model?

Designing greenfield software architecture using the C4 model involves co-building views through structured dialogue. It enforces abstraction-level discipline and explicit validation, generating Mermaid or Structurizr outputs with concrete relationship intents, protocols, and documented assumptions.

What output formats are supported for architecture diagrams?

Supported output formats for architecture diagrams include Mermaid C4, Structurizr DSL, PlantUML, or negotiated alternatives. The deliverables feature legends, technology details, concrete relationship intents, and accompanying Markdown documents to ensure the architecture documentation is self-standing.