Prisma DB Table & Repository Generator
Automates database table creation, Prisma migrations, and repository layer generation for robust backend architectures.
This skill streamlines the process of modifying database schemas within a Prisma-based project by guiding Claude through an end-to-end workflow. It handles updating the schema.prisma file with strict naming conventions, executing migrations, and generating the necessary domain models and repository patterns. By enforcing a clean separation between the ORM and domain logic, it ensures that your database interactions remain maintainable, type-safe, and architecturally sound following Domain-Driven Design principles.
主な機能
01Automated migration management using prisma migrate dev
02Automatic timestamp and CUID configuration for new tables
0317 GitHub stars
04Standardized Prisma schema updates with snake_case mapping
05Decoupled Repository interface and infrastructure implementation
06Rich Domain Model generation with built-in validation logic
ユースケース
01Refactoring raw database access into a structured Repository pattern
02Adding a new feature that requires a new database entity and CRUD operations
03Modifying existing tables by adding columns while maintaining architectural consistency