architecture-diagram
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Architecture Diagram Generator
IDE-based workflow. Do not assume you know the architecture — derive it from the code every time.
Diagrams live in diagrams/ (committed). The generation script is in scripts/generate_diagrams.py.
Vercel serves the committed PNGs. Never wire diagram generation into npm run build.
Supporting files
- scripts/generate_diagrams.py — Python script using the
diagramslibrary. Edit this file when the architecture has changed before running it. - requirements.txt — pinned Python deps (
diagrams==0.25.1)
Pre-flight context (injected before you start)
Last diagram commit (git is the state store — committing diagrams/ sets the reference point):
!git log --oneline --follow -- diagrams/ | head -1