Back to Skills

architecture-diagrams

Create system architecture diagrams using Mermaid, PlantUML, C4 model, flowcharts, and sequence diagrams. Use when documenting architecture, system design, data flows, or technical workflows.

293stars45forksUpdated 7/16/2026

Security Assessment

Safe(100/100)
Security Score100/100

About architecture-diagrams

Architecture-diagrams helps create clear, maintainable system architecture diagrams using code-based diagramming tools including Mermaid, PlantUML, the C4 model, flowcharts, and sequence diagrams. It solves the problem of documenting architecture, system design, data flows, and technical workflows in text-based, version-controllable formats rather than as opaque binary images, so diagrams stay in sync with code and can be reviewed like any other source.

The skill provides a quick-start Mermaid example showing a layered architecture with client, API gateway, service, and data layers, plus a set of detailed reference guides in the references/ directory covering a system architecture diagram, sequence diagram, C4 context diagram, component diagrams, deployment diagrams, data flow diagram, and class diagram. It applies to use cases such as system architecture documentation, C4 model diagrams, data flow diagrams, sequence diagrams, component relationships, deployment diagrams, infrastructure and microservices architecture, visual database schemas, and integration patterns. The skill also codifies best practices: use consistent notation and legends, keep each diagram focused on one aspect, use meaningful color coding, group with subgraphs, show data-flow direction clearly, version-control diagrams, and prefer text-based formats; and it lists anti-patterns to avoid such as overcrowding diagrams, mixing abstraction levels, skipping legends, and creating binary image files only.

The skill targets engineers, architects, and technical writers who need to produce and maintain architecture documentation. It centers on open, text-based tooling so diagrams can be diffed and kept current alongside the codebase. Detailed implementations live in the referenced guides, which the user reads for full examples beyond the minimal quick-start snippet.

FAQ

Which diagramming tools and formats does this skill cover?

It covers code-based diagramming tools including Mermaid, PlantUML, the C4 model, flowcharts, and sequence diagrams, and emphasizes using text-based formats over binary image files.

What diagram types are documented in the references?

The references/ directory includes detailed guides for a system architecture diagram, sequence diagram, C4 context diagram, component diagrams, deployment diagrams, data flow diagram, and class diagram.

When should I use this skill?

Use it for system architecture documentation, C4 model diagrams, data flow and sequence diagrams, component relationships, deployment diagrams, infrastructure and microservices architecture, visual database schemas, and integration patterns.

What are the key best practices it recommends?

Use consistent notation and legends, keep diagrams focused on one aspect, use color coding meaningfully, group with subgraphs, show data-flow direction clearly, keep diagrams under version control, and prefer text-based formats. It advises against overcrowding diagrams, mixing abstraction levels in one diagram, skipping legends, and creating binary-image-only files.

All Files

12 files
references/c4-context-diagram.md0.8 KB
View
references/class-diagram.md0.8 KB
View
references/sequence-diagram.md1.0 KB
View
references/component-diagram-2.md0.9 KB
View
references/system-architecture-diagram.md1.3 KB
View
references/component-diagram.md1.1 KB
View
scripts/validate-schema.sh0.4 KB
View
references/data-flow-diagram.md0.6 KB
View
SKILL.md3.1 KB
View
references/deployment-diagram-2.md0.8 KB
View
templates/migration-template.sql0.3 KB
View
references/deployment-diagram.md1.3 KB
View

Install architecture-diagrams

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill