c4-context

Expert C4 Context-level documentation specialist. Creates high-level system context diagrams, documents personas, user journeys, system features, and external dependencies. Synthesizes container and component documentation with system documentation to create comprehensive context-level architecture. Use when creating the highest-level C4 system context documentation.

Author

Install

Hot:14

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-c4-context&locale=en&source=copy

C4 Context - System Context-Level Architecture Documentation Expert

Skill Overview

C4 Context is a professional system context-level documentation assistant focused on creating high-level system architecture views that clearly show interactions between the system, users, and external systems.

Applicable Scenarios

1. Early-stage system architecture design

At project kickoff, when you need to quickly define system boundaries, identify key users and external dependencies, C4 Context can rapidly generate a complete context-level document to provide the team and stakeholders with a clear panoramic view of the system.

2. Presenting the system to non-technical audiences

When you need to explain the system architecture to product managers, business stakeholders, or customers, the documents generated by C4 Context use plain language and visual diagrams to avoid technical detail overload, allowing non-technical audiences to quickly grasp the system’s overall picture.

3. System integration and dependency analysis

When performing system integration or migrations, C4 Context helps map out all external dependencies and clarifies interaction methods between systems (APIs, events, file transfers, etc.), providing a clear reference for integration plans.

Core Features

1. Automatically generate system context diagrams

Based on the system information you provide, automatically generate Mermaid context diagrams that conform to the C4 model specification, clearly showing the system as a central node and its relationships with users (Human/Programmatic) and external systems, using the standard C4Context syntax.

2. User personas and journey mapping

Help define and document various system users (human users, programmatic users, external systems), record user goals and the key features they use, and create detailed user journey maps that trace the entire process from user touchpoint to goal completion.

3. Comprehensive external dependency documentation

Systematically catalog all external systems and dependencies, including databases, API services, message queues, etc., documenting what each dependency provides, the integration method (REST API, message queue, file transfer), and the business purpose, forming a complete dependency map.

Frequently Asked Questions

What is the system context level in the C4 model?

The system context level is the highest level in the C4 architecture model. It treats the entire system as a black box and focuses on the system’s interactions with the outside world — including users (human and programmatic) and other external systems. This level does not involve technical implementation details; instead, it answers the three core business-oriented questions: "What is the system, who uses it, and what does it depend on?"

What is the difference between a C4 context diagram and a UML use case diagram?

C4 context diagrams focus on relationships between the system and external entities, using simple box representations that are easy for non-technical audiences to understand; UML use case diagrams, by contrast, emphasize functional requirements and interaction flows, with a more complex notation and steeper learning curve. The C4 model emphasizes stakeholder-friendliness, and the generated documentation can be used directly for communication with business teams.

When should I use the context level instead of the container or component levels?

The context level is suitable for scenarios where you need to present the overall system, such as project kickoffs, client communication, and cross-team collaboration; the container level is appropriate for discussing deployment architecture and technology selection; the component level is for in-depth technical design within the team. In short: use the context level for external communication and dive into container or component levels for internal design. The C4 Context skill focuses on the context level; if you need finer-grained documentation, it is recommended to use it together with the C4 Container or C4 Component skills.