LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

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

Tags

Updated: 2026-10-02
C4 modelarchitecture documentationrepository analysiscode analysisOpenAPIMermaid

Capabilities

Analyze repository directoriesGenerate code documentationSynthesize component documentationMap components to containers

Typical Inputs

Existing repositorySource code filesDeployment definitions

Typical Outputs

C4-Documentation directoryC4 Markdown documentsOpenAPI YAML specifications

What this skill does

  • Analyze repository directories
  • Generate code documentation
  • Synthesize component documentation
  • Map components to containers
  • Create API specifications
  • Document system context

Inputs

  • Existing repository
  • Source code files
  • Deployment definitions
  • Infrastructure configuration
  • CI/CD definitions

Outputs

  • C4-Documentation directory
  • C4 Markdown documents
  • OpenAPI YAML specifications
  • Mermaid architecture diagrams

Requirements

  • Repository file access
  • Task tool
  • Specialized C4 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.