From antigravity-awesome-skills
Creates C4 Component-level architecture diagrams and specifications from code-level documentation, defining component boundaries, interfaces, relationships, and dependencies for a single container.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity-awesome-skills:c4-componentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Working on c4 component level: [component name] tasks or workflows
resources/implementation-playbook.md.[Detailed description of what this component does and what problems it solves]
This component contains the following code-level elements:
operationName(params): ReturnType - [Description]Use proper Mermaid C4Component syntax. Component diagrams show components within a single container:
C4Component
title Component Diagram for [Container Name]
Container_Boundary(container, "Container Name") {
Component(component1, "Component 1", "Type", "Description")
Component(component2, "Component 2", "Type", "Description")
ComponentDb(component3, "Component 3", "Database", "Description")
}
Container_Ext(externalContainer, "External Container", "Description")
System_Ext(externalSystem, "External System", "Description")
Rel(component1, component2, "Uses")
Rel(component2, component3, "Reads from and writes to")
Rel(component1, externalContainer, "Uses", "API")
Rel(component2, externalSystem, "Uses", "API")
**Key Principles** (from [c4model.com](https://c4model.com/diagrams/component)):
- Show components **within a single container** (zoom into one container)
- Focus on **logical components** and their responsibilities
- Show **component interfaces** (what they expose)
- Show how components **interact** with each other
- Include **external dependencies** (other containers, external systems)
# C4 Component Level: System Overview
## System Components
### [Component 1]
- **Name**: [Component name]
- **Description**: [Short description]
- **Documentation**: c4-component-name-1.md
### [Component 2]
- **Name**: [Component name]
- **Description**: [Short description]
- **Documentation**: c4-component-name-2.md
## Component Relationships
[Mermaid diagram showing all components and their relationships]
When synthesizing components, provide:
npx claudepluginhub sickn33/antigravity-awesome-skills --plugin antigravity-bundle-aas-mobile-app-builderSynthesizes C4 code-level docs into component-level architecture docs and Mermaid diagrams defining boundaries, interfaces, dependencies, and relationships.
Generates C4 model architecture diagrams and documentation using Mermaid syntax for system context, containers, components, and code levels.
Generates architecture documents using markdown templates with C4 diagram integration (context, container, component). Creates viewpoint docs, technical overviews, and executive summaries for stakeholders.