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 ...
Scanned 9/3/2026
Install to Claude Code
npx -y skills add aiskillstore/marketplace --skill backend-models --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Backend Models?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aiskillstore-backend-models-marketplace)More formats (shields.io, HTML) on the badges page.
---
name: backend-models
description: 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.
---
# 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](../../../agent-os/standards/backend/models.md)
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!