Search

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 Repository stars6 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

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

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-28
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

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