What problem does it solve? Legacy projects often lack up-to-date database documentation, forcing developers to reverse-engineer schemas from scattered DDL files, migrations, and ORM models before making any change. ## Core Features & Use Cases - Full Schema Inventory: Catalogs every table with columns, types, keys, indexes, and constraints, grouped by business domain. - Relationship & ERD Generation: Maps all cardinalities (1:1, 1:N, N:M), junction tables, and polymorphic relations, then renders Mermaid ERDs per domain plus a global overview. - Business Rule Extraction: Documents triggers, stored procedures, views, and check constraints with a confidence scale (direct DDL, inferred from ORM, or inaccessible). - Use Case: When onboarding onto a legacy system with only Laravel migrations and a few DBeaver screenshots, run this Skill to produce a complete data dictionary, ERD, and business-rules report under _reversa_sdd/database/. ## Quick Start Ask the agent to document the legacy database by analyzing the available DDL files, migrations, and ORM models and writing the ERD and data dictionary into the output folder.