Back to Skills

prisma-cli

Prisma CLI commands reference covering all available commands, options, and usage patterns. Use when running Prisma CLI commands, setting up projects, generating client, running migrations, managing databases, or starting Prisma's MCP server. Triggers on "prisma init", "prisma generate", "prisma migrate", "prisma db", "prisma studio", "prisma mcp".

33stars2forksUpdated 4/25/2026

Security Assessment

Low Risk(80/100)

Detected risks:

Sensitive File Access([references/db-seed.md] .env, [references/init.md] .env)
Security Score80/100

About prisma-cli

The prisma-cli skill serves as a comprehensive reference for all commands associated with the Prisma CLI, providing users with the necessary guidance to effectively manage their Prisma projects. It addresses common challenges faced by developers when setting up projects, generating clients, running migrations, and managing databases. By offering a structured approach to command usage, this skill simplifies the process of working with Prisma, ensuring that users can leverage its full potential without confusion or errors.

FAQ

What commands are available in prisma-cli?

Prisma CLI includes commands for project setup, client generation, database operations, migrations, and utility functions.

Is prisma-cli compatible with all databases?

Prisma CLI supports multiple databases including PostgreSQL, MySQL, and SQLite.

What are the system requirements for using prisma-cli?

Prisma CLI requires Node.js and is compatible with Bun runtime when specified.

Can I run migrations in a production environment?

Yes, prisma-cli provides commands specifically for applying migrations in production.

How do I start a local development database?

You can start a local Prisma Postgres instance using the command 'prisma dev'.

All Files

19 files
references/migrate-deploy.md2.6 KB
View
references/migrate-dev.md3.1 KB
View
references/db-execute.md1.8 KB
View
references/migrate-diff.md2.0 KB
View
references/db-pull.md3.5 KB
View
references/migrate-reset.md1.5 KB
View
references/db-push.md2.7 KB
View
references/migrate-resolve.md1.6 KB
View
references/db-seed.md3.2 KB
View
references/migrate-status.md1.5 KB
View
references/debug.md1.0 KB
View
references/studio.md2.6 KB
View
references/dev.md2.6 KB
View
references/validate.md0.9 KB
View
references/format.md1.0 KB
View
SKILL.md6.1 KB
View
references/generate.md3.4 KB
View
references/init.md2.9 KB
View
references/mcp.md1.1 KB
View

Install prisma-cli

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

prisma/skills