TorbenMerrald avatar

backend-models

Define and structure database models and entities following data modeling best practices. Use this s

by TorbenMerrald|Open Source

Backend Models

When to use this skill

  • When creating or modifying database model classes or entity definitions
  • When defining relationships between models (one-to-many, many-to-many, belongs-to, etc.)
  • When implementing model-level validations and database constraints
  • When adding or modifying model attributes and choosing appropriate data types
  • When adding timestamps (created_at, updated_at) to models
  • When creating indexes on model fields for query performance
  • When establishing foreign key relationships and cascade behaviors
  • When working with ORM model files or database entity classes
  • When naming models and corresponding database tables
  • When balancing database normalization with query performance needs

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

backend-models - AI Agent Skill for Claude Code & Cursor | Agent Skills