c4-level2-container

Installation
SKILL.md

C4 Level 2: Container Diagram & Infrastructure Mapping

The Container diagram represents the high-level technical architecture (web apps, mobile apps, databases, background jobs).

🎯 Stakeholder Focus

  • Architects: High-level tech decisions and API boundaries.
  • Developers: High-level system structure and cross-app communication.
  • Ops/DevOps: Deployment strategy and infrastructure mapping.

🛠 Infrastructure Mapping

Level 2 should ideally map to actual infrastructure components:

  • Web App/Mobile App: Maps to a build artifact or deployment.
  • API/Service: Maps to a Docker container or K8s deployment.
  • Database: Maps to a managed cloud DB or persistent container.
  • Message Broker: Maps to Kafka, RabbitMQ, or Pub/Sub.

🚫 Anti-Patterns to Guard (Level 2)

  • NOT A FLOWCHART: Avoid modeling complex business logic; use a sequence diagram for that.
  • NO LIBRARIES: Shared libraries (DLL, JAR, NuGet) are NOT containers.
Related skills
Installs
6
Repository
kinhluan/skills
GitHub Stars
1
First Seen
Mar 15, 2026