From antigravity-awesome-skills
Guides creation of C4 container-level diagrams and deployment documentation, including container definitions, interfaces, dependencies, and infrastructure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity-awesome-skills:c4-containerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Working on c4 container level: system deployment tasks or workflows
resources/implementation-playbook.md.[Detailed description of what this container does and how it's deployed]
This container deploys the following components:
GET /api/resource - [Description]POST /api/resource - [Description]Use proper Mermaid C4Container syntax:
C4Container
title Container Diagram for [System Name]
Person(user, "User", "Uses the system")
System_Boundary(system, "System Name") {
Container(webApp, "Web Application", "Spring Boot, Java", "Provides web interface")
Container(api, "API Application", "Node.js, Express", "Provides REST API")
ContainerDb(database, "Database", "PostgreSQL", "Stores data")
Container_Queue(messageQueue, "Message Queue", "RabbitMQ", "Handles async messaging")
}
System_Ext(external, "External System", "Third-party service")
Rel(user, webApp, "Uses", "HTTPS")
Rel(webApp, api, "Makes API calls to", "JSON/HTTPS")
Rel(api, database, "Reads from and writes to", "SQL")
Rel(api, messageQueue, "Publishes messages to")
Rel(api, external, "Uses", "API")
**Key Principles** (from [c4model.com](https://c4model.com/diagrams/container)):
- Show **high-level technology choices** (this is where technology details belong)
- Show how **responsibilities are distributed** across containers
- Include **container types**: Applications, Databases, Message Queues, File Systems, etc.
- Show **communication protocols** between containers
- Include **external systems** that containers interact with
For each container API, create an OpenAPI/Swagger specification:
openapi: 3.1.0
info:
title: [Container Name] API
description: [API description]
version: 1.0.0
servers:
- url: https://api.example.com
description: Production server
paths:
/api/resource:
get:
summary: [Operation summary]
description: [Operation description]
parameters:
- name: param1
in: query
schema:
type: string
responses:
'200':
description: [Response description]
content:
application/json:
schema:
type: object
When synthesizing containers, provide:
npx claudepluginhub sickn33/antigravity-awesome-skills --plugin antigravity-bundle-aas-mobile-app-builderGenerates C4 Container-level documentation and Mermaid diagrams for system deployments, detailing containers, interfaces, dependencies, infrastructure, and components.
Generates C4 model architecture diagrams and documentation using Mermaid syntax for system context, containers, components, and code levels.
Generates C4 models and Structurizr DSL workspaces from codebases for system context, container, component, and deployment diagrams; renders as images.