
backend-models
Define and structure database models and entities with proper naming conventions, timestamps, data i
作者 maksimtereshin|オープンソース
Backend Models
This Skill provides Claude Code with specific guidance on how to adhere to coding standards for database models and entity design.
When to use this skill
- When creating or modifying ORM model/entity definition files
- When working with model files (models.ts, entities.py, schema.prisma, models.py, models.rb, etc.)
- When defining database table structures and column properties
- When setting up relationships between models (one-to-many, many-to-many, etc.)
- When implementing database constraints (NOT NULL, UNIQUE, foreign keys)
- When adding timestamps (createdAt, updatedAt) to models
- When choosing appropriate data types for model fields
- When creating indexes on frequently queried columns
- When implementing validation at the model layer
- When designing repository patterns for data access
- When balancing database normalization with query performance needs
- When defining cascade behaviors for related entities
Instructions
For details, refer to the information provided in this file: backend models