create-prisma-model
CommunityDefine Prisma models with relations and repo
AuthorPeterCowling
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps teams consistently design Prisma models with proper relations, indexes, and a reusable repository pattern, reducing boilerplate and migration errors.
Core Features & Use Cases
- Model design guidance: generate Prisma schema snippets with typed fields, relations, and indexes.
- Repository scaffolding: create TypeScript repository helpers to query and mutate models.
- Migration readiness: provide schema changes aligned with Prisma migrate workflow and versioning.
- Use Case: when adding a new model to packages/platform-core/prisma/schema.prisma, this skill ensures correct relations and indexes and produces a ready-to-migrate patch.
Quick Start
Create a new model using the provided schema blueprint in packages/platform-core/prisma/schema.prisma and run Prisma migrate to apply changes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: create-prisma-model Download link: https://github.com/PeterCowling/base-shop/archive/main.zip#create-prisma-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.