ifixkart-admin/.agents/skills/mysql_schema_review/SKILL.md
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- Backend: FastAPI app with all models, services, schemas, routes
- Admin Panel: Next.js dashboard with all modules
  (CRM, POS, repairs, warranties, billing, notifications, etc.)
- Ecommerce: storefront (submodule) + product catalog
- AI Agents: .agents/ skill library for Antigravity IDE
- Docs: architecture, billing, notification gateway markdown
- Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
2026-10-13 12:59:47 +05:30

1 KiB

name description
MySQL Schema Review Reviews database tables, column types, default values, and foreign keys to enforce naming and structure standards.

Skill: MySQL Schema Review

1. Purpose

Enforce uniform database design rules, naming conventions, and integrity constraints.

2. When to Use

Before applying any migration or altering table columns.

3. Step-by-Step Checklist

  1. Review column types:
    • Verify proper limits (e.g. VARCHAR(255) instead of unbounded text where possible).
    • Ensure primary keys use appropriate types (e.g. BIGINT AUTO_INCREMENT or VARCHAR(36) UUIDs).
    • Check dates use TIMESTAMP or DATETIME with timezone awareness.
  2. Naming Standards:
    • Tables and columns must use lowercase snake_case.
    • Foreign key columns must follow parent_table_id naming pattern.
  3. Validate foreign key constraints are defined with correct cascade or restrict policies.
  4. Ensure audit fields (created_at, updated_at, deleted_at) are present on transactional tables.