systems-architecture
Installation
SKILL.md
systems-architecture
Goal
Maintain the holistic, high-level structural map of the software system using the C4 model (Context, Container, Component, Code).
Steps
- Context Mapping: Define the System Context (users and external systems).
- Container Design: Break the system into deployable containers (Web apps, APIs, Databases).
- Component Breakdown: Detail the macro components within each container.
- Output Verification: Generate proper
C4_ARCHITECTURE_TEMPLATE.mddiagrams and ensure the Mermaid syntax compiles.
Security & Guardrails
1. Skill Security
- Diagram Bomb: Prevent the generation of massively interconnected Mermaid diagrams that will crash Markdown renderers. Implement a node/edge limit.
- Source of Truth Mutation: The agent must never override existing architecture diagrams without explicitly writing an ADR justifying the change.
2. System Integration Security
- Boundary Identification: External, untrusted systems must always be explicitly marked with dashed boundaries or designated red-flag colors.
- Data Flow Security: Every edge on the diagram connecting an external client to an internal container must specify its encryption protocol (e.g., TLS 1.3).