c4-architecture-c4-architecture

Generate C4 architecture documentation from codebases via bottom-up analysis.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ClaudioCeppi83/kora-os-kernel --skill c4-architecture-c4-architecture-claudioceppi83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4-architecture-c4-architecture
Source: https://github.com/ClaudioCeppi83/kora-os-kernel/tree/main/.agent/skills/c4-architecture-c4-architecture
Command: npx skills add https://github.com/ClaudioCeppi83/kora-os-kernel --skill c4-architecture-c4-architecture-claudioceppi83

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the generation of comprehensive C4 architecture documentation for codebases, streamlining the process of documenting complex systems.

Core Features & Use Cases

  • Automated Documentation: Generates C4 architecture documentation from codebases using a bottom-up analysis approach.
  • Code-Level Documentation: Analyzes subdirectories and creates detailed code-level documentation.
  • Component-Level Synthesis: Synthesizes code documentation into logical components within containers.
  • Container-Level Mapping: Maps components to deployment containers with API documentation.
  • Context-Level Documentation: Creates high-level system context with personas and user journeys.
  • Use Case: Ideal for teams looking to document their codebases following the C4 model, ensuring all stakeholders have a clear understanding of the system architecture.

Quick Start

Run the c4-architecture-c4-architecture skill to generate C4 architecture documentation for your codebase.

Frequently Asked Questions about c4-architecture-c4-architecture

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

FAQPage Schema
How do I automate C4 architecture documentation generation for my codebase?

Automate C4 architecture documentation by running a bottom-up analysis that synthesizes code elements into components, containers, and system context. It outputs comprehensive documentation directly into a C4-Documentation directory.

What is bottom-up analysis in code documentation and how does it map to C4 architecture?

Bottom-up analysis examines subdirectories and code elements first, then synthesizes them into logical components. These components are mapped to deployment containers with APIs, and finally aggregated into a high-level system context.

Can I generate system context and user journey diagrams from source code automatically?

Yes, you can generate system context with personas and user journeys automatically. The skill analyzes code dependencies and relationships to create high-level context documentation for stakeholders.

Does this approach work for documenting complex codebases without manual component mapping?

Yes, it is designed to document complex codebases without manual mapping. The automated process analyzes subdirectories, extracts dependencies, and synthesizes code into logical components within containers automatically.

What is the best way to document deployment containers and their APIs using the C4 model?

The best way is using an automated bottom-up synthesis that maps logical components to deployment containers. It extracts API documentation directly from code relationships and outputs it into a structured C4-Documentation directory.