Backend Models
When to use this skill
- When creating or editing ORM model files (e.g., ActiveRecord models, Django models, Sequelize models, Prisma schema)
- When defining database table structures and schemas
- When setting up model relationships (has_many, belongs_to, many-to-many)
- When adding database constraints (NOT NULL, UNIQUE, foreign keys)
- When implementing model-level validation rules
- When choosing appropriate data types for model attributes
- When adding created_at and updated_at timestamps
- When creating indexes on foreign keys or frequently queried fields
- When defining cascade behaviors for relationships
- When working in model directories or entity definition files
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