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.

13.5K
Installs
5
Use cases
5/10
Quality

Is prisma-database-setup safe to install?

Review before installing

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?

SKILL.md
# 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.

Data sourced from prisma/skills on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills