Skip to content
Back to skills

Backend Models Aiskillstore Marketplace

ASecurity

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 ...

  • 755 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 31, 2026
databasessqlrefactoringdatabasebackend

Works with

  • claude code

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add majiayu000/claude-skill-registry --skill backend-models-aiskillstore-marketplace --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backend Models Aiskillstore Marketplace?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backend Models Aiskillstore Marketplace
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-backend-models-aiskillstore-marketplace/badge)](https://www.skillsdirectory.com/skills/majiayu000-backend-models-aiskillstore-marketplace)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
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)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.