c4-level1-context
C4 Level 1: System Context & User Journeys
Level 1 focuses on the Big Picture. It bridges the gap between Business Value and Technology by mapping User Journeys to System Scope.
🎯 Stakeholder Focus
- Executives: Value delivery and cost.
- Product Managers: Feature scope and external dependencies.
- Developers: High-level system context and data flow.
🚶 User Journey Integration
Instead of a static diagram, frame Level 1 around a Primary User Journey:
- Identify the Primary User (Person).
- Trace their Happy Path across the systems (e.g., "Customer buys a product").
- Label arrows with Action Verbs reflecting the journey (e.g., "Places order using", "Receives invoice from").
🚫 Anti-Patterns to Guard (Level 1)
- NO TECH NAMES: Forbid "React", "PostgreSQL", "Kafka".
- NO CONTAINERS: Don't draw "Web App" or "Database".
- UNDER 20 ELEMENTS: Keep the diagram high-level and readable.
Mermaid Template (Enhanced C4Context)
C4Context
title [System Name] - System Context Diagram
Person(customer, "Customer", "Uses the system to buy products.")
System(my_system, "System Name", "Provides product browsing and order management.")
System_Ext(bank, "Bank API", "Handles payments and refunds.")
System_Ext(logistics, "Logistics Service", "Manages shipping and tracking.")
Rel(customer, my_system, "Browses and places orders", "HTTPS/Web")
Rel(my_system, bank, "Requests payment processing", "REST API")
Rel(my_system, logistics, "Sends shipping info", "Webhooks")
Level 1 Success Criteria
- Is it clear who the primary user is?
- Does it answer "What value does this system provide?"
- Are all external systems (Third-party) identified?
- STRICT: Is it free from all technical/implementation details?
More from kinhluan/skills
scheduling-algorithms
Job scheduling algorithms for parallel and distributed systems
5ddd-core
Professional Strategic Domain-Driven Design (DDD) Hub. Use this skill for Event Storming, identifying Subdomains, defining Bounded Contexts, and mapping Domain Models to the heart of your architecture.
4c4-model
Professional C4 model architecture hub for "Design-to-Code Sync". Use this skill to navigate the C4 hierarchy, map diagrams to stakeholders, avoid architectural anti-patterns, and choose the right level for designing or documenting existing codebases.
4ddd-tactical
Tactical Domain-Driven Design (DDD) with Scoring Rubric. Use this skill when designing internal domain models or performing architectural reviews to ensure domain logic is isolated and rich.
4ddd-patterns
Advanced Domain-Driven Design (DDD) Integration Patterns. Use this skill for implementing CQRS, Event Sourcing, the Outbox Pattern, and Anti-Corruption Layers (ACL) in distributed systems.
4c4-level4-code
Specialized in Code diagrams (Level 4) of the C4 model. Use this skill when the user needs to describe the internal implementation of a component using UML class diagrams or database ER diagrams.
4