database-model
CommunityGenerate robust Prisma database models.
Authorxmark168
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of designing and implementing database schemas by generating Prisma schema models with correct relations, indexes, and conventions, preventing common errors and ensuring consistency.
Core Features & Use Cases
- Model Generation: Creates
prisma/schema.prismamodels following best practices. - Relation Definition: Supports one-to-many, one-to-one, and many-to-many relationships.
- Index Creation: Automatically adds necessary
@@indexdirectives for foreign keys and common query fields. - Use Case: When adding a new feature that requires storing user profiles and their associated posts, this Skill can generate the
User,Profile, andPostmodels with the correct relational links and indexes.
Quick Start
Use the database-model skill to create a Prisma schema model for a 'Category' with a 'name' field and a one-to-many relation to a 'Product' model.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: database-model Download link: https://github.com/xmark168/VibeSDLC/archive/main.zip#database-model Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.