Back to skills
extension
Category: Development & EngineeringNo API key required

db-table-best-practice

Best practices for validation and automatic correction of database and table naming conventions. Applicable to "Is the database compliant with standards?", "Table naming conventions", "Check table names", "Optimize table names", "Database naming", "Check this file", "Are the table names compliant with standards?"

personAuthor: jakexiaohubgithub

数据库与数据表表名规范验证最佳实践

使用说明

  1. 阅读 检查清单 了解所有命名规范规则
  2. 参照 best-practice-examples/ 中的合规示例
  3. 验证目标文件中数据库名、表名、列字段命名是否符合规范
  4. 自动修正不规范的命名(默认行为:直接修改文件)

规范摘要: 数据库名全小写+下划线分隔;表名复数形式+snake_case;TS 层使用 camelCase 通过 Drizzle 自动映射