搜索

PythonReactSEOPDF
GitHub Skill

backend-models

Define database models and ORM entities with proper naming, relationships, validation, and data integrity constraints. Use this skill when creating or modifying model classes, database table definitions, model relationships (one-to-many, many-to-many), data validation rules, database constraints, or model methods. Apply when working with ORM model files, ActiveRecord, SQLAlchemy, Sequelize, Prisma schemas, or any database model definitions that map objects to database tables and enforce data structure and relationships.

aiskillstore☆ 124 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Backend Models

When to use this skill

  • When creating new model classes or database table definitions
  • When modifying existing model files or ORM entity definitions
  • When defining model relationships (belongs_to, has_many, many-to-many)
  • When adding validation rules or constraints to model attributes
  • When implementing timestamps (created_at, updated_at) on models
  • When setting up foreign keys and database-level constraints
  • When choosing appropriate data types for model attributes
  • When creating indexes on model fields for query optimization
  • When defining cascade behaviors for related records
  • When implementing model methods, scopes, or query helpers
  • When refactoring model structure for better data integrity
  • When working with ORM configuration files or schema definitions

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle backend models.

Instructions

For details, refer to the information provided in this file: backend models

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!