C4 Architecture Documentation Workflow
Generate comprehensive C4 architecture documentation for an existing repository/codebase using a bottom-up analysis approach.
[Extended thinking: This workflow implements a complete C4 architecture documentation process following the C4 model (Context, Container, Component, Code). It uses a bottom-up approach, starting from the deepest code directories and working upward, ensuring every code element is documented before synthesizing into higher-level abstractions. The workflow coordinates four specialized C4 agents (Code, Component, Container, Context) to create a complete architectural documentation set that serves both technical and non-technical stakeholders.]
Overview
This workflow creates comprehensive C4 architecture documentation following the official C4 model by:
- Code Level: Analyzing every subdirectory bottom-up to create code-level documentation
- Component Level: Synthesizing code documentation into logical components within containers
- Container Level: Mapping components to deployment containers with API documentation (shows high-level technology choices)
- Context Level: Creating high-level system context with personas and user journeys (focuses on people and software systems, not technologies)
Note: According to the C4 model, you don't need to use all 4 levels of diagram - the system context and container diagrams are sufficient for most software development teams. This workflow generates all levels for completeness, but teams can choose which levels to use.
All documentation is written to a new C4-Documentation/ directory in the repository root.
Phase 1: Code-Level Documentation (Bottom-Up Analysis)
1.1 Discover All Subdirectories
- Use codebase search to identify all subdirectories in the repository
- Sort directories by depth (deepest first) for bottom-up processing
- Filter out common non-code directories (node_modules, .git, build, dist, etc.)
- Create list of directories to process
1.2 Process Each Directory (Bottom-Up)
For each directory, starting from the deepest:
Use Task tool with subagent_type="c4-architecture::c4-code"
Prompt: |
Analyze the code in directory: [directory_path]
Create comprehensive C4 Code-level documentation following this structure:
- Overview Section:
- Name: [Descriptive name for this code directory]
- Description: [Short description of what this code does]
- Location: [Link to actual directory path relative to repo root]
- Language: [Primary programming language(s) used]
- Purpose: [What this code accomplishes]
- Code Elements Section:
- Document all functions/methods with complete signatures:
- Function name, parameters (with types), return type
- Description of what each function does
- Location (file path and line numbers)
- Dependencies (what this function depends on)
- Document all classes/modules:
- Class name, description, location
- Methods and their signatures
- Dependencies
- Dependencies Section:
- Internal dependencies (other code in this repo)
- External dependencies (libraries, frameworks, services)
- Relationships Section:
- Optional Mermaid diagram if relationships are complex
Save the output as: C4-Documentation/c4-code-[directory-name].md
Use a sanitized directory name (replace / with -, remove special chars) for the filename.
Ensure the documentation includes:
- Complete function signatures with all parameters and types
- Links to actual source code locations
- All dependencies (internal and external)
- Clear, descriptive names and descriptions
Expected output: c4-code-.md file in C4-Documentation/
Context: All files in the directory and its subdirectories
Repeat for every subdirectory until all directories have corresponding c4-code-*.md files.
Phase 2: Component-Level Synthesis
2.1 Analyze All Code-Level Documentation
- Collect all c4-code-*.md files created in Phase 1
- Analyze code structure, dependencies, and relationships
- Identify logical component boundaries based on:
- Domain boundaries (related business functionality)
- Technical boundaries (shared frameworks, libraries)
- Organizational boundaries (team ownership, if evident)
2.2 Create Component Documentation
For each identified component:
Use Task tool with subagent_type="c4-architecture::c4-component"
Prompt: |
Synthesize the following C4 Code-level documentation files into a logical component:
Code files to analyze:
[List of c4-code-*.md file paths]
Create comprehensive C4 Component-level documentation following this structure:
- Overview Section:
- Name: [Component name - descriptive and meaningful]
- Description: [Short description of component purpose]
- Type: [Application, Service, Library, etc.]
- Technology: [Primary technologies used]
- Purpose Section:
- Detailed description of what this component does
- What problems it solves
- Its role in the system
- Software Features Section:
- List all software features provided by this component
- Each feature with a brief description
- Code Elements Section:
- List all c4-code-*.md files contained in this component
- Link to each file with a brief description
- Interfaces Section:
- Document all component interfaces:
- Interface name
- Protocol (REST, GraphQL, gRPC, Events, etc.)
- Description
- Operations (function signatures, endpoints, etc.)
- Dependencies Section:
- Components used (other components this depends on)
- External systems (databases, APIs, services)
- Component Diagram:
- Mermaid diagram showing this component and its relationships
Save the output as: C4-Documentation/c4-component-[component-name].md
Use a sanitized component name for the filename.
Expected output: c4-component-.md file for each component
Context: All relevant c4-code-*.md files for this component
2.3 Create Master Component Index
Use Task tool with subagent_type="c4-architecture::c4-component"
Prompt: |
Create a master component index that lists all components in the system.
Based on all c4-component-*.md files created, generate:
- System Components Section:
- List all components with:
- Component name
- Short description
- Link to component documentation
- Component Relationships Diagram:
- Mermaid diagram showing all components and their relationships
- Show dependencies between components
- Show external system dependencies
Save the output as: C4-Documentation/c4-component.md
Expected output: Master c4-component.md file
Context: All c4-component-*.md files
Phase 3: Container-Level Synthesis
3.1 Analyze Components and Deployment Definitions
- Review all c4-component-*.md files
- Search for deployment/infrastructure definitions:
- Dockerfiles
- Kubernetes manifests (deployments, services, etc.)
- Docker Compose files
- Terraform/CloudFormation configs
- Cloud service definitions (AWS Lambda, Azure Functions, etc.)
- CI/CD pipeline definitions
3.2 Map Components to Containers
Use Task tool with subagent_type="c4-architecture::c4-container"
Prompt: |
Synthesize components into containers based on deployment definitions.
Component documentation:
[List of all c4-component-*.md file paths]
Deployment definitions found:
[List of deployment config files: Dockerfiles, K8s manifests, etc.]
Create comprehensive C4 Container-level documentation following this structure:
- Containers Section (for each container):
- Name: [Container name]
- Description: [Short description of container purpose and deployment]
- Type: [Web Application, API, Database, Message Queue, etc.]
- Technology: [Primary technologies: Node.js, Python, PostgreSQL, etc.]
- Deployment: [Docker, Kubernetes, Cloud Service, etc.]
- Purpose Section (for each container):
- Detailed description of what this container does
- How it's deployed
- Its role in the system
- Components Section (for each container):
- List all components deployed in this container
- Link to component documentation
- Interfaces Section (for each container):
- Document all container APIs and interfaces:
- API/Interface name
- Protocol (REST, GraphQL, gRPC, Events, etc.)
- Description
- Link to OpenAPI/Swagger/API Spec file
- List of endpoints/operations
- API Specifications:
- For each container API, create an OpenAPI 3.1+ specification
- Save as: C4-Documentation/apis/[container-name]-api.yaml
- Include:
- All endpoints with methods (GET, POST, etc.)
- Request/response schemas
- Authentication requirements
- Error responses
- Dependencies Section (for each container):
- Containers used (other containers this depends on)
- External systems (databases, third-party APIs, etc.)
- Communication protocols
- Infrastructure Section (for each container):
- Link to deployment config (Dockerfile, K8s manifest, etc.)
- Scaling strategy
- Resource requirements (CPU, memory, storage)
- Container Diagram:
- Mermaid diagram showing all containers and their relationships
- Show communication protocols
- Show external system dependencies
Save the output as: C4-Documentation/c4-container.md
Expected output: c4-container.md with all containers and API specifications
Context: All component documentation and deployment definitions
Phase 4: Context-Level Documentation
4.1 Analyze System Documentation
- Review container and component documentation
- Search for system documentation:
- README files
- Architecture documentation
- Requirements documents
- Design documents
- Test files (to understand system behavior)
- API documentation
- User documentation
4.2 Create Context Documentation
Use Task tool with subagent_type="c4-architecture::c4-context"
Prompt: |
Create comprehensive C4 Context-level documentation for the system.
Container documentation: C4-Documentation/c4-container.md
Component documentation: C4-Documentation/c4-component.md
System documentation: [List of README, architecture docs, requirements, etc.]
Test files: [List of test files that show system behavior]
Create comprehensive C4 Context-level documentation following this structure:
- System Overview Section:
- Short Description: [One-sentence description of what the system does]
- Long Description: [Detailed description of system purpose, capabilities, problems solved]
- Personas Section:
- For each persona (human users and programmatic "users"):
- Persona name
- Type (Human User / Programmatic User / External System)
- Description (who they are, what they need)
- Goals (what they want to achieve)
- Key features used
- System Features Section:
- For each high-level feature:
- Feature name
- Description (what this feature does)
- Users (which personas use this feature)
- Link to user journey map
- User Journeys Section:
- For each key feature and persona:
- Journey name: [Feature Name] - [Persona Name] Journey
- Step-by-step journey:
- ...
- Include all system touchpoints
- For programmatic users (external systems, APIs):
- Integration journey with step-by-step process
- External Systems and Dependencies Section:
- For each external system:
- System name
- Type (Database, API, Service, Message Queue, etc.)
- Description (what it provides)
- Integration type (API, Events, File Transfer, etc.)
- Purpose (why the system depends on this)
- System Context Diagram:
- Mermaid C4Context diagram showing:
- The system (as a box in the center)
- All personas (users) around it
- All external systems around it
- Relationships and data flows
- Use C4Context notation for proper C4 diagram
- Related Documentation Section:
- Links to container documentation
- Links to component documentation
Save the output as: C4-Documentation/c4-context.md
Ensure the documentation is:
- Understandable by non-technical stakeholders
- Focuses on system purpose, users, and external relationships
- Includes comprehensive user journey maps
- Identifies all external systems and dependencies
Expected output: c4-context.md with complete system context
Context: All container, component, and system documentation
Configuration Options
target_directory: Root directory to analyze (default: current repository root)
exclude_patterns: Patterns to exclude (default: node_modules, .git, build, dist, etc.)
output_directory: Where to write C4 documentation (default: C4-Documentation/)
include_tests: Whether to analyze test files for context (default: true)
api_format: Format for API specs (default: openapi)
Success Criteria
- ✅ Every subdirectory has a corresponding c4-code-*.md file
- ✅ All code-level documentation includes complete function signatures
- ✅ Components are logically grouped with clear boundaries
- ✅ All components have interface documentation
- ✅ Master component index created with relationship diagram
- ✅ Containers map to actual deployment units
- ✅ All container APIs documented with OpenAPI/Swagger specs
- ✅ Container diagram shows deployment architecture
- ✅ System context includes all personas (human and programmatic)
- ✅ User journeys documented for all key features
- ✅ All external systems and dependencies identified
- ✅ Context diagram shows system, users, and external systems
- ✅ Documentation is organized in C4-Documentation/ directory
Output Structure
C4-Documentation/
├── c4-code-*.md # Code-level docs (one per directory)
├── c4-component-*.md # Component-level docs (one per component)
├── c4-component.md # Master component index
├── c4-container.md # Container-level docs
├── c4-context.md # Context-level docs
└── apis/ # API specifications
├── [container]-api.yaml # OpenAPI specs for each container
└── ...
Coordination Notes
- Bottom-up processing: Process directories from deepest to shallowest
- Incremental synthesis: Each level builds on the previous level's documentation
- Complete coverage: Every directory must have code-level documentation before synthesis
- Link consistency: All documentation files link to each other appropriately
- API documentation: Container APIs must have OpenAPI/Swagger specifications
- Stakeholder-friendly: Context documentation should be understandable by non-technical stakeholders
- Mermaid diagrams: Use proper C4 Mermaid notation for all diagrams
Example Usage
/c4-architecture:c4-architecture
This will:
- Walk through all subdirectories bottom-up
- Create c4-code-*.md for each directory
- Synthesize into components
- Map to containers with API docs
- Create system context with personas and journeys
All documentation written to: C4-Documentation/
1---2name: c4-overview3description: Generate comprehensive C4 architecture documentation for an existing repository/codebase using a bottom-up analysis approach.4---5# C4 Architecture Documentation Workflow67Generate comprehensive C4 architecture documentation for an existing repository/codebase using a bottom-up analysis approach.89[Extended thinking: This workflow implements a complete C4 architecture documentation process following the C4 model (Context, Container, Component, Code). It uses a bottom-up approach, starting from the deepest code directories and working upward, ensuring every code element is documented before synthesizing into higher-level abstractions. The workflow coordinates four specialized C4 agents (Code, Component, Container, Context) to create a complete architectural documentation set that serves both technical and non-technical stakeholders.]1011## Overview1213This workflow creates comprehensive C4 architecture documentation following the [official C4 model](https://c4model.com/diagrams) by:14151. **Code Level**: Analyzing every subdirectory bottom-up to create code-level documentation162. **Component Level**: Synthesizing code documentation into logical components within containers173. **Container Level**: Mapping components to deployment containers with API documentation (shows high-level technology choices)184. **Context Level**: Creating high-level system context with personas and user journeys (focuses on people and software systems, not technologies)1920**Note**: According to the [C4 model](https://c4model.com/diagrams), you don't need to use all 4 levels of diagram - the system context and container diagrams are sufficient for most software development teams. This workflow generates all levels for completeness, but teams can choose which levels to use.2122All documentation is written to a new `C4-Documentation/` directory in the repository root.2324## Phase 1: Code-Level Documentation (Bottom-Up Analysis)2526### 1.1 Discover All Subdirectories2728- Use codebase search to identify all subdirectories in the repository29- Sort directories by depth (deepest first) for bottom-up processing30- Filter out common non-code directories (node_modules, .git, build, dist, etc.)31- Create list of directories to process3233### 1.2 Process Each Directory (Bottom-Up)3435For each directory, starting from the deepest:3637- Use Task tool with subagent_type="c4-architecture::c4-code"38- Prompt: |39 Analyze the code in directory: [directory_path]4041 Create comprehensive C4 Code-level documentation following this structure:42 1. **Overview Section**:43 - Name: [Descriptive name for this code directory]44 - Description: [Short description of what this code does]45 - Location: [Link to actual directory path relative to repo root]46 - Language: [Primary programming language(s) used]47 - Purpose: [What this code accomplishes]48 2. **Code Elements Section**:49 - Document all functions/methods with complete signatures:50 - Function name, parameters (with types), return type51 - Description of what each function does52 - Location (file path and line numbers)53 - Dependencies (what this function depends on)54 - Document all classes/modules:55 - Class name, description, location56 - Methods and their signatures57 - Dependencies58 3. **Dependencies Section**:59 - Internal dependencies (other code in this repo)60 - External dependencies (libraries, frameworks, services)61 4. **Relationships Section**:62 - Optional Mermaid diagram if relationships are complex6364 Save the output as: C4-Documentation/c4-code-[directory-name].md65 Use a sanitized directory name (replace / with -, remove special chars) for the filename.6667 Ensure the documentation includes:68 - Complete function signatures with all parameters and types69 - Links to actual source code locations70 - All dependencies (internal and external)71 - Clear, descriptive names and descriptions7273- Expected output: c4-code-<directory-name>.md file in C4-Documentation/74- Context: All files in the directory and its subdirectories7576**Repeat for every subdirectory** until all directories have corresponding c4-code-\*.md files.7778## Phase 2: Component-Level Synthesis7980### 2.1 Analyze All Code-Level Documentation8182- Collect all c4-code-\*.md files created in Phase 183- Analyze code structure, dependencies, and relationships84- Identify logical component boundaries based on:85 - Domain boundaries (related business functionality)86 - Technical boundaries (shared frameworks, libraries)87 - Organizational boundaries (team ownership, if evident)8889### 2.2 Create Component Documentation9091For each identified component:9293- Use Task tool with subagent_type="c4-architecture::c4-component"94- Prompt: |95 Synthesize the following C4 Code-level documentation files into a logical component:9697 Code files to analyze:98 [List of c4-code-*.md file paths]99100 Create comprehensive C4 Component-level documentation following this structure:101 1. **Overview Section**:102 - Name: [Component name - descriptive and meaningful]103 - Description: [Short description of component purpose]104 - Type: [Application, Service, Library, etc.]105 - Technology: [Primary technologies used]106 2. **Purpose Section**:107 - Detailed description of what this component does108 - What problems it solves109 - Its role in the system110 3. **Software Features Section**:111 - List all software features provided by this component112 - Each feature with a brief description113 4. **Code Elements Section**:114 - List all c4-code-\*.md files contained in this component115 - Link to each file with a brief description116 5. **Interfaces Section**:117 - Document all component interfaces:118 - Interface name119 - Protocol (REST, GraphQL, gRPC, Events, etc.)120 - Description121 - Operations (function signatures, endpoints, etc.)122 6. **Dependencies Section**:123 - Components used (other components this depends on)124 - External systems (databases, APIs, services)125 7. **Component Diagram**:126 - Mermaid diagram showing this component and its relationships127128 Save the output as: C4-Documentation/c4-component-[component-name].md129 Use a sanitized component name for the filename.130131- Expected output: c4-component-<name>.md file for each component132- Context: All relevant c4-code-\*.md files for this component133134### 2.3 Create Master Component Index135136- Use Task tool with subagent_type="c4-architecture::c4-component"137- Prompt: |138 Create a master component index that lists all components in the system.139140 Based on all c4-component-\*.md files created, generate:141 1. **System Components Section**:142 - List all components with:143 - Component name144 - Short description145 - Link to component documentation146 2. **Component Relationships Diagram**:147 - Mermaid diagram showing all components and their relationships148 - Show dependencies between components149 - Show external system dependencies150151 Save the output as: C4-Documentation/c4-component.md152153- Expected output: Master c4-component.md file154- Context: All c4-component-\*.md files155156## Phase 3: Container-Level Synthesis157158### 3.1 Analyze Components and Deployment Definitions159160- Review all c4-component-\*.md files161- Search for deployment/infrastructure definitions:162 - Dockerfiles163 - Kubernetes manifests (deployments, services, etc.)164 - Docker Compose files165 - Terraform/CloudFormation configs166 - Cloud service definitions (AWS Lambda, Azure Functions, etc.)167 - CI/CD pipeline definitions168169### 3.2 Map Components to Containers170171- Use Task tool with subagent_type="c4-architecture::c4-container"172- Prompt: |173 Synthesize components into containers based on deployment definitions.174175 Component documentation:176 [List of all c4-component-*.md file paths]177178 Deployment definitions found:179 [List of deployment config files: Dockerfiles, K8s manifests, etc.]180181 Create comprehensive C4 Container-level documentation following this structure:182 1. **Containers Section** (for each container):183 - Name: [Container name]184 - Description: [Short description of container purpose and deployment]185 - Type: [Web Application, API, Database, Message Queue, etc.]186 - Technology: [Primary technologies: Node.js, Python, PostgreSQL, etc.]187 - Deployment: [Docker, Kubernetes, Cloud Service, etc.]188 2. **Purpose Section** (for each container):189 - Detailed description of what this container does190 - How it's deployed191 - Its role in the system192 3. **Components Section** (for each container):193 - List all components deployed in this container194 - Link to component documentation195 4. **Interfaces Section** (for each container):196 - Document all container APIs and interfaces:197 - API/Interface name198 - Protocol (REST, GraphQL, gRPC, Events, etc.)199 - Description200 - Link to OpenAPI/Swagger/API Spec file201 - List of endpoints/operations202 5. **API Specifications**:203 - For each container API, create an OpenAPI 3.1+ specification204 - Save as: C4-Documentation/apis/[container-name]-api.yaml205 - Include:206 - All endpoints with methods (GET, POST, etc.)207 - Request/response schemas208 - Authentication requirements209 - Error responses210 6. **Dependencies Section** (for each container):211 - Containers used (other containers this depends on)212 - External systems (databases, third-party APIs, etc.)213 - Communication protocols214 7. **Infrastructure Section** (for each container):215 - Link to deployment config (Dockerfile, K8s manifest, etc.)216 - Scaling strategy217 - Resource requirements (CPU, memory, storage)218 8. **Container Diagram**:219 - Mermaid diagram showing all containers and their relationships220 - Show communication protocols221 - Show external system dependencies222223 Save the output as: C4-Documentation/c4-container.md224225- Expected output: c4-container.md with all containers and API specifications226- Context: All component documentation and deployment definitions227228## Phase 4: Context-Level Documentation229230### 4.1 Analyze System Documentation231232- Review container and component documentation233- Search for system documentation:234 - README files235 - Architecture documentation236 - Requirements documents237 - Design documents238 - Test files (to understand system behavior)239 - API documentation240 - User documentation241242### 4.2 Create Context Documentation243244- Use Task tool with subagent_type="c4-architecture::c4-context"245- Prompt: |246 Create comprehensive C4 Context-level documentation for the system.247248 Container documentation: C4-Documentation/c4-container.md249 Component documentation: C4-Documentation/c4-component.md250 System documentation: [List of README, architecture docs, requirements, etc.]251 Test files: [List of test files that show system behavior]252253 Create comprehensive C4 Context-level documentation following this structure:254 1. **System Overview Section**:255 - Short Description: [One-sentence description of what the system does]256 - Long Description: [Detailed description of system purpose, capabilities, problems solved]257 2. **Personas Section**:258 - For each persona (human users and programmatic "users"):259 - Persona name260 - Type (Human User / Programmatic User / External System)261 - Description (who they are, what they need)262 - Goals (what they want to achieve)263 - Key features used264 3. **System Features Section**:265 - For each high-level feature:266 - Feature name267 - Description (what this feature does)268 - Users (which personas use this feature)269 - Link to user journey map270 4. **User Journeys Section**:271 - For each key feature and persona:272 - Journey name: [Feature Name] - [Persona Name] Journey273 - Step-by-step journey:274 1. [Step 1]: [Description]275 2. [Step 2]: [Description]276 ...277 - Include all system touchpoints278 - For programmatic users (external systems, APIs):279 - Integration journey with step-by-step process280 5. **External Systems and Dependencies Section**:281 - For each external system:282 - System name283 - Type (Database, API, Service, Message Queue, etc.)284 - Description (what it provides)285 - Integration type (API, Events, File Transfer, etc.)286 - Purpose (why the system depends on this)287 6. **System Context Diagram**:288 - Mermaid C4Context diagram showing:289 - The system (as a box in the center)290 - All personas (users) around it291 - All external systems around it292 - Relationships and data flows293 - Use C4Context notation for proper C4 diagram294 7. **Related Documentation Section**:295 - Links to container documentation296 - Links to component documentation297298 Save the output as: C4-Documentation/c4-context.md299300 Ensure the documentation is:301 - Understandable by non-technical stakeholders302 - Focuses on system purpose, users, and external relationships303 - Includes comprehensive user journey maps304 - Identifies all external systems and dependencies305306- Expected output: c4-context.md with complete system context307- Context: All container, component, and system documentation308309## Configuration Options310311- `target_directory`: Root directory to analyze (default: current repository root)312- `exclude_patterns`: Patterns to exclude (default: node_modules, .git, build, dist, etc.)313- `output_directory`: Where to write C4 documentation (default: C4-Documentation/)314- `include_tests`: Whether to analyze test files for context (default: true)315- `api_format`: Format for API specs (default: openapi)316317## Success Criteria318319- ✅ Every subdirectory has a corresponding c4-code-\*.md file320- ✅ All code-level documentation includes complete function signatures321- ✅ Components are logically grouped with clear boundaries322- ✅ All components have interface documentation323- ✅ Master component index created with relationship diagram324- ✅ Containers map to actual deployment units325- ✅ All container APIs documented with OpenAPI/Swagger specs326- ✅ Container diagram shows deployment architecture327- ✅ System context includes all personas (human and programmatic)328- ✅ User journeys documented for all key features329- ✅ All external systems and dependencies identified330- ✅ Context diagram shows system, users, and external systems331- ✅ Documentation is organized in C4-Documentation/ directory332333## Output Structure334335```336C4-Documentation/337├── c4-code-*.md # Code-level docs (one per directory)338├── c4-component-*.md # Component-level docs (one per component)339├── c4-component.md # Master component index340├── c4-container.md # Container-level docs341├── c4-context.md # Context-level docs342└── apis/ # API specifications343 ├── [container]-api.yaml # OpenAPI specs for each container344 └── ...345```346347## Coordination Notes348349- **Bottom-up processing**: Process directories from deepest to shallowest350- **Incremental synthesis**: Each level builds on the previous level's documentation351- **Complete coverage**: Every directory must have code-level documentation before synthesis352- **Link consistency**: All documentation files link to each other appropriately353- **API documentation**: Container APIs must have OpenAPI/Swagger specifications354- **Stakeholder-friendly**: Context documentation should be understandable by non-technical stakeholders355- **Mermaid diagrams**: Use proper C4 Mermaid notation for all diagrams356357## Example Usage358359```bash360/c4-architecture:c4-architecture361```362363This will:3643651. Walk through all subdirectories bottom-up3662. Create c4-code-\*.md for each directory3673. Synthesize into components3684. Map to containers with API docs3695. Create system context with personas and journeys370371All documentation written to: C4-Documentation/