Architecture diagrams

From aj-geddes/useful-ai-prompts · View interactive version

Architecture diagrams is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Create system architecture diagrams using Mermaid, PlantUML, C4 model, flowcharts, and sequence diagrams. Use when documenting architecture, system design, data flows, or technical workflows.

How to use this skill

Skill file

Architecture Diagrams

Table of Contents

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

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:

| Guide | Contents |

|---|---|

| System Architecture Diagram | System Architecture Diagram |

| Sequence Diagram | Sequence Diagram |

| C4 Context Diagram | C4 Context Diagram |

| Component Diagram | Component Diagram |

| Deployment Diagram | Deployment Diagram |

| Data Flow Diagram | Data Flow Diagram |

| Class Diagram | Class Diagram |

| Component Diagram | Component Diagram |

| Deployment Diagram | Deployment Diagram |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.