Architecture Diagrams

SkillMedia

Your AI can turn a description of your system into an architecture diagram you can use for documentation. This skill covers Mermaid, PlantUML, the C4 model, flowcharts, and sequence diagrams, and is meant for documenting architecture, system design, data flows, and technical workflows.

Available today. Use it from your connected AI after setup.

Describe the system, workflow, or data flow you want to document and ask your AI to turn it into a diagram. You can name a format such as Mermaid or a sequence diagram, or let the AI choose one that fits.

Then ask your AI: use the Architecture Diagrams skill

What your AI can do with it

  • Draw diagrams that show how a system is structured
  • Create flowcharts for processes and technical workflows
  • Build sequence diagrams showing how parts of a system interact
  • Model systems using the C4 model
  • Write diagrams in Mermaid or PlantUML
  • Document how data flows through a system

What this skill tells your AI

The instructions your AI receives, as published by aj-geddes/useful-ai-prompts in skills/architecture-diagrams/SKILL.md and read by ahel’s review.

Table of Contents

  • Overview
  • When to Use
  • Quick Start
  • Reference Guides
  • Best Practices

Overview

Create clear, maintainable architecture diagrams using code-based diagramming tools like Mermaid and PlantUML for system design, data flows, and technical documentation.

When to Use

  • System architecture documentation
  • C4 model diagrams
  • Data flow diagrams
  • Sequence diagrams
  • Component relationships
  • Deployment diagrams
  • Infrastructure architecture
  • Microservices architecture
  • Database schemas (visual)
  • Integration patterns

Quick Start

Minimal working example:

graph TB
    subgraph "Client Layer"
        Web[Web App]
        Mobile[Mobile App]
        CLI[CLI Tool]
    end

    subgraph "API Gateway Layer"
        Gateway[API Gateway<br/>Rate Limiting<br/>Authentication]
    end

    subgraph "Service Layer"
        Auth[Auth Service]
        User[User Service]
        Order[Order Service]
        Payment[Payment Service]
        Notification[Notification Service]
    end

    subgraph "Data Layer"
        UserDB[(User DB<br/>PostgreSQL)]
        OrderDB[(Order DB<br/>PostgreSQL)]
        Cache[(Redis Cache)]
        Queue[Message Queue<br/>RabbitMQ]
    end
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

GuideContents
System Architecture DiagramSystem Architecture Diagram
Sequence DiagramSequence Diagram
C4 Context DiagramC4 Context Diagram
Component DiagramComponent Diagram
Deployment DiagramDeployment Diagram
Data Flow DiagramData Flow Diagram
Class DiagramClass Diagram
Component DiagramComponent Diagram
Deployment DiagramDeployment Diagram

Best Practices

✅ DO

  • Use consistent notation and symbols
  • Include legends for complex diagrams
  • Keep diagrams focused on one aspect
  • Use color coding meaningfully
  • Include titles and descriptions
  • Version control your diagrams
  • Use text-based formats (Mermaid, PlantUML)
  • Show data flow direction clearly
  • Include deployment details
  • Document diagram conventions
  • Keep diagrams up-to-date with code
  • Use subgraphs for logical grouping

❌ DON'T

  • Overcrowd diagrams with details
  • Use inconsistent styling
  • Skip diagram legends
  • Create binary image files only
  • Forget to document relationships
  • Mix abstraction levels in one diagram
  • Use proprietary formats

Signals

GitHub stars
339
Forks
55
Last commit
Mar 2026
Advanced
Catalog kind
skill
Gateway key
architecture-diagrams
Source
github.com/aj-geddes/useful-ai-prompts