architecture-diagram

Installation
SKILL.md

Architecture Diagram

Overview

Draw diagrams from the code, not from imagination. Pick the one view that answers the reader's question, keep it to what fits on a screen, and render it as Mermaid so it lives in the repo and shows on GitHub.

Method

  1. Ask what question the diagram answers (or infer it): "what are the parts?", "what happens when a user checks out?", "how is data stored?", "where does it run?".
  2. Pick the view:
Question Diagram Mermaid type
What are the main parts and how do they talk? Container / component flowchart LR
What happens step by step in one request? Sequence sequenceDiagram
What does the data look like? ERD erDiagram
Which states can an object be in? State stateDiagram-v2
Where does it run? Deployment flowchart TB with subgraphs per environment
Installs
2
GitHub Stars
4
First Seen
Oct 18, 2026