Skip to content
Back to skills

Common Architecture Diagramming

ASecurity

Use a C4 Container view when the question is “What are the main deployable parts of this system, and how do they communicate?” The following example is intentionally small and shows one story. **Title:** Order submission — C4 Container view **Scope:** Order system and its immediate integrations **Audience:** Architects and developers **Status:** Proposed **Version/date:** v1.0, 2026-07-11 **Author:** Architecture team ```mermaid graph LR Customer((Person: Customer)) Web[Internal container: We...

  • 584 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentrustgosqlnodeapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-architecture-diagramming --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Architecture Diagramming?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Common Architecture Diagramming
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-common-architecture-diagramming-663d14c4/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-architecture-diagramming-663d14c4)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Quick-start: a governed Mermaid container diagram

Use a C4 Container view when the question is “What are the main deployable parts of this system, and how do they communicate?” The following example is intentionally small and shows one story.

**Title:** Order submission — C4 Container view  
**Scope:** Order system and its immediate integrations  
**Audience:** Architects and developers  
**Status:** Proposed  
**Version/date:** v1.0, 2026-07-11  
**Author:** Architecture team

```mermaid
graph LR
    Customer((Person: Customer))
    Web[Internal container: Web App]
    API[Internal container: Order API]
    DB[(Database: Orders)]
    Bus[Internal container: Event Bus]
    Payment[External system: Payment Provider]

    Customer -->|HTTPS/JSON: submits order| Web
    Web -->|HTTPS/JSON: creates order| API
    API -->|SQL: stores order| DB
    API -.->|Pub/Sub: publishes OrderCreated| Bus
    API -->|HTTPS: authorizes payment| Payment

    subgraph Legend
        PersonKey((Person shape = user/actor))
        ContainerKey[Rectangle = internal deployable container]
        DatabaseKey[(Cylinder = database)]
        ExternalKey[Gray-style box = external system]
        SyncKey[Solid arrow = synchronous call]
        AsyncKey[Dashed arrow = asynchronous message]
    end

    classDef person fill:#dcfce7,stroke:#15803d,color:#14532d
    classDef internal fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a
    classDef database fill:#fef3c7,stroke:#b45309,color:#78350f
    classDef external fill:#e5e7eb,stroke:#4b5563,color:#1f2937
    class Customer person
    class Web,API,Bus internal
    class DB database
    class Payment external
```

How to adapt it:

1. Replace the example nodes with the system’s real actors, containers, and immediate external systems. Keep this view at container level; do not add table columns or classes.
2. Label every relationship with the action plus protocol or transport. Keep arrows directional so a reader can distinguish calls from published events.
3. Apply a consistent visual style in the renderer: for example, blue internal containers, gray external systems, green people, and a cylinder for databases. The legend must define those choices.
4. Add deployment information in a separate C4 Deployment view if the question includes hosts, clusters, VPCs, firewalls, or regions. Add a sequence diagram instead if the question is timing, retries, or race conditions.
5. Recheck the finished diagram for connected nodes, readable whitespace, defined acronyms, security/trust boundaries, and current metadata.

This is a proposed architecture, so it should be reviewed with its audience and updated with a new version/status when the implementation changes.

Files in this skill

  • eval-1.baseline.md3.2 KB
  • eval-1.with-skill.md4.1 KB
  • eval-2.baseline.md3.3 KB
  • eval-2.with-skill.md4.2 KB
  • eval-3.baseline.md2 KB
  • eval-3.with-skill.md2.7 KB
  • trigger-1.md110 B
  • trigger-2.md141 B
  • trigger-3.md110 B
  • trigger-4.md133 B
  • trigger-5.md152 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.