What problem does it solve?
This skill reads ORM models, migrations, and raw DDL from backend repositories to automatically generate ER diagrams in Draw.io using IE notation, providing both a comprehensive overview and domain-split views for readability.
Core Features & Use Cases
- Automatically detects sources (Django, SQLAlchemy, Rails, Prisma, TypeORM, GORM, Sequelize, Mongoose for reference) and extracts tables, primary keys, foreign keys, unique constraints, and indexes.
- Always outputs a single comprehensive overview diagram; for schemas with many tables, also generates domain-specific diagrams (targeting ~30 tables per diagram) to maintain readability.
- Produces diagrams in mxGraph XML for direct opening in Draw.io, with a legend and clear notation for 1:1, 1:N, and many-to-many relationships; supports self-references and associative tables.
Quick Start
Run the ER diagram skill against your backend repository to generate the initial overview diagram and, if necessary, domain-based splits.