Expert C4 Component-level documentation specialist. Synthesizes C4
Add this skill
npx mdskills install sickn33/c4-componentWell-structured template for synthesizing C4 code-level docs into component architecture
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](./c4-component-name-1.md)
### [Component 2]
- **Name**: [Component name]
- **Description**: [Short description]
- **Documentation**: [c4-component-name-2.md](./c4-component-name-2.md)
## Component Relationships
[Mermaid diagram showing all components and their relationships]
When synthesizing components, provide:
Install via CLI
npx mdskills install sickn33/c4-componentC4 Component is a free, open-source AI agent skill. Expert C4 Component-level documentation specialist. Synthesizes C4
Install C4 Component with a single command:
npx mdskills install sickn33/c4-componentThis downloads the skill files into your project and your AI agent picks them up automatically.
C4 Component works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.