What problem does it solve? It prevents uncontrolled or destructive database changes by enforcing a single set of rules for MySQL schema design, SQL writing, migrations, and data access in the CodeAgent project, keeping Entity, Mapper, and Service layers consistent with the actual database structure. ## Core Features & Use Cases - Schema Design Standards: Enforces snake_case naming, BIGINT auto-increment primary keys, DATETIME(3) time columns, meaningful NULL/default semantics, and business-driven unique constraints and indexes. - Safe Change Management: Routes all structural changes through the single migration carrier sql/schema.sql with idempotent DDL, and forbids destructive operations (DROP, TRUNCATE, mass DELETE) without human confirmation. - Data Access Discipline: Defines the Controller → Service → Mapper layering, parameterized SQL, transaction boundaries, pagination, batch operations, and N+1 avoidance. - Use Case: When adding a cancel-order feature, use this Skill to check the existing schema, design new columns or tables, write the idempotent SQL in sql/schema.sql, and update the Mapper and Entity consistently. ## Quick Start Ask the AI to design a new MySQL table or modify an existing one for your feature, following the database skill's schema and migration rules.