prisma-database-setup
The prisma-database-setup skill provides configuration guides for integrating Prisma ORM with various database providers, including PostgreSQL, MySQL, SQLite, MongoDB, SQL Server, and CockroachDB. It covers driver adapter selection, Prisma Client generation, and environment variable setup.
Is prisma-database-setup safe to install?
Review before installing: our audit of prisma-database-setup's source files found 4 shell commands, 0 external URLs, file reads and writes (medium risk). Every command and URL listed appears verbatim in the skill's source. The skill instructs the agent to run shell commands for package installation and Prisma Client generation, and it requires reading and writing to project configuration files like prisma/schema.prisma and prisma.config.ts.
How we audit skills: our security review methodology.
Who is this skill for?
Developers initializing new Prisma projects, switching database providers, or troubleshooting connection issues.
What can you do with it?
- Initializing a new Prisma project
- Switching database providers
- Configuring connection strings and environment variables
- Troubleshooting database connection issues
- Generating and instantiating Prisma Client
How good is this skill?
Quality score: 5/10. The skill provides clear, structured guidance for multiple database providers and includes specific instructions for runtime environments like Bun and version-specific requirements for MongoDB.
What does the skill file contain?
# Prisma Database Setup Comprehensive guides for configuring Prisma ORM with various database providers. ## When to Apply Reference this skill when: - Initializing a new Prisma project - Switching database providers - Configuring connection strings and environment variables - Troubleshooting database connection issues - Setting up database-specific features - Generating and instantiating Prisma Client ## Rule Categories by Priority | Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Provider Guides | CRITICAL | provider names | | 2 | Prisma Postgres |...
Frequently asked questions
How do I run Prisma commands if I am using the Bun runtime?
Run Prisma CLI commands with bunx --bun prisma to ensure Prisma uses the Bun runtime.
Should I use the SQL driver adapter workflow for MongoDB projects?
No. MongoDB projects should use the latest Prisma 6.x release and keep the connection URL in the schema.prisma file.
What are the system prerequisites for this skill?
The skill requires Node.js 20.19.0 or higher and TypeScript 5.4.0 or higher.
When should I re-run prisma generate?
Re-run prisma generate after every schema change.
Related skills
supabase-postgres-best-practices
264.3KDevelopers and database administrators working with Postgres and Supabase
This skill provides a structured set of Postgres performance optimization rules and best practices maintained by Supabase. It guides developers in writing, reviewing, and optimizing SQL queries, schema designs, and database configurations.
developing-genkit-js
50.1KDevelopers building AI agents, flows, and tools using the Genkit framework in JavaScript or TypeScript environments
This skill provides guidance for developing AI-powered applications using Genkit in Node.js and TypeScript. It enforces a strict troubleshooting protocol that prioritizes reading local documentation via the Genkit CLI over internal knowledge to account for recent breaking API changes.
turborepo
45.6KDevelopers and DevOps engineers managing JavaScript or TypeScript monorepos with Turborepo
The Turborepo skill provides guidance on configuring monorepo build systems, task pipelines, caching strategies, and architectural boundaries using Turborepo.
vue-best-practices
24.1KVue
This skill provides a structured workflow for Vue.js development, mandating the use of the Composition API, TypeScript, and specific architectural patterns. It requires developers to plan component boundaries, follow strict SFC structure, and apply core reactivity and data flow principles before implementing features.