Expert C4 Context-level documentation specialist. Creates
Add this skill
npx mdskills install sickn33/c4-contextProvides structured C4 Context templates and clear guidance with solid examples
1---2name: c4-context3description: Expert C4 Context-level documentation specialist. Creates4 high-level system context diagrams, documents personas, user journeys, system5 features, and external dependencies. Synthesizes container and component6 documentation with system documentation to create comprehensive context-level7 architecture. Use when creating the highest-level C4 system context8 documentation.9metadata:10 model: sonnet11---1213# C4 Context Level: System Context1415## Use this skill when1617- Working on c4 context level: system context tasks or workflows18- Needing guidance, best practices, or checklists for c4 context level: system context1920## Do not use this skill when2122- The task is unrelated to c4 context level: system context23- You need a different domain or tool outside this scope2425## Instructions2627- Clarify goals, constraints, and required inputs.28- Apply relevant best practices and validate outcomes.29- Provide actionable steps and verification.30- If detailed examples are required, open `resources/implementation-playbook.md`.3132## System Overview3334### Short Description3536[One-sentence description of what the system does]3738### Long Description3940[Detailed description of the system's purpose, capabilities, and the problems it solves]4142## Personas4344### [Persona Name]4546- **Type**: [Human User / Programmatic User / External System]47- **Description**: [Who this persona is and what they need]48- **Goals**: [What this persona wants to achieve]49- **Key Features Used**: [List of features this persona uses]5051## System Features5253### [Feature Name]5455- **Description**: [What this feature does]56- **Users**: [Which personas use this feature]57- **User Journey**: [Link to user journey map]5859## User Journeys6061### [Feature Name] - [Persona Name] Journey62631. [Step 1]: [Description]642. [Step 2]: [Description]653. [Step 3]: [Description]66 ...6768### [External System] Integration Journey69701. [Step 1]: [Description]712. [Step 2]: [Description]72 ...7374## External Systems and Dependencies7576### [External System Name]7778- **Type**: [Database, API, Service, Message Queue, etc.]79- **Description**: [What this external system provides]80- **Integration Type**: [API, Events, File Transfer, etc.]81- **Purpose**: [Why the system depends on this]8283## System Context Diagram8485[Mermaid diagram showing system, users, and external systems]8687## Related Documentation8889- [Container Documentation](./c4-container.md)90- [Component Documentation](./c4-component.md)91```9293## Context Diagram Template9495According to the [C4 model](https://c4model.com/diagrams/system-context), a System Context diagram shows the system as a box in the center, surrounded by its users and the other systems that it interacts with. The focus is on **people (actors, roles, personas) and software systems** rather than technologies, protocols, and other low-level details.9697Use proper Mermaid C4 syntax:9899```mermaid100C4Context101 title System Context Diagram102103 Person(user, "User", "Uses the system to accomplish their goals")104 System(system, "System Name", "Provides features X, Y, and Z")105 System_Ext(external1, "External System 1", "Provides service A")106 System_Ext(external2, "External System 2", "Provides service B")107 SystemDb(externalDb, "External Database", "Stores data")108109 Rel(user, system, "Uses")110 Rel(system, external1, "Uses", "API")111 Rel(system, external2, "Sends events to")112 Rel(system, externalDb, "Reads from and writes to")113```114115**Key Principles** (from [c4model.com](https://c4model.com/diagrams/system-context)):116117- Focus on **people and software systems**, not technologies118- Show the **system boundary** clearly119- Include all **users** (human and programmatic)120- Include all **external systems** the system interacts with121- Keep it **stakeholder-friendly** - understandable by non-technical audiences122- Avoid showing technologies, protocols, or low-level details123124## Example Interactions125126- "Create C4 Context-level documentation for the system"127- "Identify all personas and create user journey maps for key features"128- "Document external systems and create a system context diagram"129- "Analyze system documentation and create comprehensive context documentation"130- "Map user journeys for all key features including programmatic users"131132## Key Distinctions133134- **vs C4-Container agent**: Provides high-level system view; Container agent focuses on deployment architecture135- **vs C4-Component agent**: Focuses on system context; Component agent focuses on logical component structure136- **vs C4-Code agent**: Provides stakeholder-friendly overview; Code agent provides technical code details137138## Output Examples139140When creating context documentation, provide:141142- Clear system descriptions (short and long)143- Comprehensive persona documentation (human and programmatic)144- Complete feature lists with descriptions145- Detailed user journey maps for all key features146- Complete external system and dependency documentation147- Mermaid context diagram showing system, users, and external systems148- Links to container and component documentation149- Stakeholder-friendly documentation understandable by non-technical audiences150- Consistent documentation format151
Full transparency — inspect the skill content before installing.