Database 658 installs

Prisma CLI Reference

by prisma/skills

Prisma CLI commands reference covering all available commands, options, and usage patterns. Use when running Prisma CLI commands, setting up projects,…

Skill content

Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations.

- Covers 20+ commands organized by priority: setup (init), generation (generate), development (dev), database operations (db pull/push/seed/execute), and migrations (migrate dev/deploy/reset/status/diff/resolve)

- Includes Prisma 7.x changes: new prisma.config.ts configuration file, removed flags (--skip-generate, --skip-seed, --schema, --url), and explicit environment variable loading via dotenv

- Supports local Prisma Postgres development (prisma dev), schema introspection (db pull), direct schema application (db push), and database seeding

- Provides Bun runtime support with --bun flag and utility commands for schema validation, formatting, and Prisma Studio access

Prisma CLI Reference

Complete reference for all Prisma CLI commands. This skill provides guidance on command usage, options, and best practices for current Prisma releases.

When to Apply

Reference this skill when:

- Setting up a new Prisma project (prisma init)

- Generating Prisma Client (prisma generate)

- Running database migrations (prisma migrate)

- Managing database state (prisma db push/pull)

- Using local development database (prisma dev)

- Debugging Prisma issues (prisma debug)

Rule Categories by Priority