arch-c4

Automate C4 diagram creation and arc42 table generation with Structurizr DSL.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/VictorHueni/homemade-claude-kit --skill arch-c4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arch-c4
Source: https://github.com/VictorHueni/homemade-claude-kit/tree/main/skills/arch-c4
Command: npx skills add https://github.com/VictorHueni/homemade-claude-kit --skill arch-c4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires structurizr, structurizr-dsl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and updating of C4 diagrams, which are essential for documenting software architecture, and generates the corresponding arc42 §3/§5/§7 tables, streamlining the process of producing comprehensive architecture documentation.

Core Features & Use Cases

  • C4 Diagram Authoring: Supports five modes to create context, container, component, deployment, and runtime views of a software system.
  • arc42 §3/§5/§7 Tables Generation: Automatically generates the tables required for arc42 documentation, saving time and reducing errors.
  • Use Case: When developing a complex software system, use this Skill to create C4 diagrams and arc42 tables, ensuring that all architecture decisions and design details are properly documented.

Quick Start

Use the arch-c4 skill to generate the context diagram for your system.

Frequently Asked Questions about arch-c4

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

FAQPage Schema
How do I generate C4 diagrams for arc42 documentation?

You can generate C4 diagrams for arc42 documentation by automating the creation of context, container, component, deployment, and runtime views using Structurizr DSL. This Skill outputs the required diagrams and automatically generates the corresponding arc42 §3, §5, and §7 tables.

Do I need Structurizr DSL files to create C4 architecture diagrams?

Yes, you need Structurizr and Structurizr DSL files present in your environment. The Skill requires these dependencies to parse your software architecture model and generate the C4 views and arc42 documentation tables.

What is the best way to update C4 diagrams for an existing software architecture?

The best way to update C4 diagrams is to automate the refresh process using Structurizr DSL. This Skill updates existing context, container, component, deployment, and runtime views while simultaneously refreshing the corresponding arc42 documentation tables.

Can I automatically generate arc42 §3, §5, and §7 tables from my architecture model?

Yes, you can automatically generate arc42 §3, §5, and §7 tables from your architecture model. The Skill processes your Structurizr DSL files to produce these specific documentation sections, reducing manual effort and errors.

What types of C4 views can I author for software architecture documentation?

You can author five types of C4 views for software architecture documentation: system context, container, component, deployment, and runtime views. The Skill supports all five modes to ensure comprehensive architecture documentation.

Why does my C4 diagram generation fail without Structurizr?

C4 diagram generation fails without Structurizr because the Skill depends on the Structurizr and Structurizr DSL libraries to process the architecture model. These files must be present in your environment for the diagram and arc42 table generation to execute successfully.