Skip to main content

Architecture Documentation

Generate architecture documentation with C4 diagrams and ADRs

Complexity: Complex | Duration: 30m+ | Category: Documentation

Tags: architecture c4 adr diagrams

Workflow Diagram

Steps

Step 1: Architecture analysis

Agent: senior

architect - Understand system architecture

Step 2: C4 diagram creation

Agent: senior

architect - Create Context, Container, Component diagrams

Step 3: ADR creation

Agent: senior

architect - Document key architecture decisions

Step 4: Documentation writing

Agent: codi

documentation-writer - Write architecture overview

Step 5: Diagram generation

Agent: senior

architect - Generate diagrams as code (Mermaid, PlantUML)

Step 6: Review

Agent: component

qa-reviewer - Architecture review for accuracy

Usage

To execute this workflow:

/workflow documentation/architecture-documentation.workflow

See other workflows in this category for related automation patterns.