backend-models
Define database models with clear naming, appropriate data types, proper constraints, and well-defined relationships. Use this skill when creating new database models or entities, defining model schemas, implementing model validations, setting up model relationships (one-to-one, one-to-many, many-to-many), adding timestamps or audit fields, defining database constraints (NOT NULL, UNIQUE, foreign keys), choosing appropriate data types for fields, implementing model hooks or lifecycle methods, creating indexes on model fields, working with ORM model files, or refactoring existing model definitions. Use when working with model files in directories like models/, entities/, or schema/ for ORMs like Sequelize, TypeORM, Prisma, SQLAlchemy, ActiveRecord, Django models, or Mongoose.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Features and purpose
Define database models with clear naming, appropriate data types, proper constraints, and well-defined relationships. Use this skill when creating new database models or entities, defining model schemas, implementing model validations, setting up model relationships (one-to-one, one-to-many, many-to-many), adding timestamps or audit fields, defining database constraints (NOT NULL, UNIQUE, foreign keys), choosing appropriate data types for fields, implementing model hooks or lifecycle methods, creating indexes on model fields, working with ORM model files, or refactoring existing model definitions. Use when working with model files in directories like models/, entities/, or schema/ for ORMs like Sequelize, TypeORM, Prisma, SQLAlchemy, ActiveRecord, Django models, or Mongoose.
Quick start
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
Guides ↗Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!