What problem does it solve? Legacy projects often lack up-to-date database documentation, making reverse engineering, onboarding, and modernization risky and slow. This Skill analyzes whatever database evidence is available and produces a complete, structured documentation set. ## Core Features & Use Cases - Full schema inventory: Catalogs tables, columns, types, keys, indexes, and constraints, grouped by business domain. - Relationship and ERD generation: Maps cardinalities (1:1, 1:N, N:M), junction tables, and polymorphic relations, then renders Mermaid erDiagram output, including partial ERDs per domain for large databases. - Business rule extraction: Documents triggers, stored procedures, functions, views, and check constraints, with a confidence scale (direct DDL, inferred from ORM, or inaccessible). - Use Case: Given a legacy Laravel app with migrations and Eloquent models, generate erd.md, data-dictionary.md, relationships.md, business-rules.md, and procedures.md under the output folder for a reverse-engineering specification. ## Quick Start Ask the agent to document the legacy project's database by analyzing the available DDL files, migrations, or ORM models and generating the ERD and data dictionary.