LogoClawIndex
CasesSkillsAbout
LogoClawIndex

c4-architecture-c4-architecture - Generate C4 architecture documentation

Analyzes an existing repository bottom-up and generates C4 documentation for code, components, containers, and system context.

Tags

Updated: 2026-10-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Discover repository directories
  • Analyze code bottom-up
  • Document code elements
  • Synthesize logical components
  • Map components to containers
  • Generate C4 diagrams
  • Create API specifications
  • Validate documentation outputs

Inputs

  • Existing repository
  • Source code
  • Deployment definitions
  • Infrastructure configurations
  • CI/CD definitions

Outputs

  • C4-Documentation directory
  • Code-level Markdown files
  • Component documentation
  • Container documentation
  • System context documentation
  • Mermaid diagrams
  • OpenAPI YAML files

Requirements

  • Repository access
  • Repository write permission
  • Task tool
  • C4 specialized subagents

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
C4 model
architecture documentation
code analysis
component architecture
container architecture
repository analysis
Discover repository directories
Analyze code bottom-up
Document code elements
Synthesize logical components
Existing repository
Source code
Deployment definitions
C4-Documentation directory
Code-level Markdown files
Component documentation