What problem does it solve?
Prisma users need reliable, provider-specific guidance to set up database connections, Prisma schema configuration, and Prisma Client generation without getting stuck on version quirks or incorrect provider/adapter combinations.
Core Features & Use Cases
- Provider-specific schema guidance: Configure
prisma/schema.prisma for PostgreSQL, MySQL, SQLite, MongoDB, SQL Server, CockroachDB, and Prisma Postgres with the correct provider settings.
- Adapter + driver setup for SQL workflows: Select and apply the appropriate Prisma driver adapter (for example,
@prisma/adapter-pg + pg) to instantiate PrismaClient correctly.
- MongoDB-safe configuration: Keeps MongoDB on the supported Prisma 6 MongoDB workflow by avoiding the Prisma 7 SQL adapter path and using
prisma-client-js plus the correct _id mapping.
- Client generation workflow: Ensures Prisma Client is installed, the generator block is configured with an output path, and
prisma generate is rerun after schema changes.
Use it when you are starting a new project, switching database providers, troubleshooting connection and generation issues, or preparing environment-specific deployment setups.
Quick Start
Run the prisma-database-setup skill for your target provider and then apply its provider reference plus the Prisma client generation instructions to your prisma/schema.prisma and prisma.config.ts.