What problem does it solve?
This skill provides a comprehensive, consistent set of MySQL table naming, indexing, and data-type conventions to streamline database design, review, and maintenance across projects.
Core Features & Use Cases
- Naming conventions: enforce snake_case for tables and columns, singular table names, and avoidance of mixed-language or pinyin naming.
- Indexing and constraints guidance: standardized primary keys, index naming with prefixes (idx_, uk_), and guidelines to minimize index count while preserving query performance.
- Field design and auditing: guidance on primary keys, status enums, numeric counters, and timestamp columns (created_at, updated_at) with proper defaults; longtext usage for large content.
- DDL templates and comments: provide a ready-to-use create table template with engine/charset and robust COMMENT annotations.
- Real-world workflows: used when designing new schemas, auditing existing schemas, or documenting database design standards for peer reviews.
Quick Start
Consult the MySQL DDL conventions to draft your next table using snake_case naming, proper primary key, indexed fields, and a compliant DDL template.