From antigravity-awesome-skills
Synthesizes C4 Code-level documentation into Component-level architecture docs and Mermaid diagrams, defining boundaries, interfaces, and relationships.
npx claudepluginhub sickn33/antigravity-awesome-skillsThis skill uses the workspace's default tool permissions.
- Working on c4 component level: [component name] tasks or workflows
Synthesizes C4 Code-level documentation into Component-level architecture docs and Mermaid diagrams, defining boundaries, interfaces, and relationships.
Synthesizes C4 code-level docs into component-level architecture defining boundaries, interfaces, relationships. Creates Mermaid diagrams and documentation for components.
Generates C4 model architecture diagrams and documentation using Mermaid syntax for system context, containers, components, and code levels.
Share bugs, ideas, or general feedback.
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: