prisma-cli

Reference Prisma CLI commands for migrations, generation, and database operations.

1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/salafidurus/salafi-audios --skill prisma-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-cli
Source: https://github.com/salafidurus/salafi-audios/tree/main/packages/db/.opencode/skills/prisma-cli
Command: npx skills add https://github.com/salafidurus/salafi-audios --skill prisma-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and quick reference for all Prisma CLI commands, simplifying database management, schema migrations, and client generation.

Core Features & Use Cases

  • Command Reference: Detailed explanations of every Prisma CLI command, its options, and usage patterns.
  • Workflow Guidance: Step-by-step instructions for common tasks like project initialization, migrations, and database seeding.
  • Use Case: When you need to quickly generate Prisma Client after updating your schema, you can refer to this Skill for the exact command and any necessary flags.

Quick Start

Use the prisma-cli skill to generate the Prisma Client for your project.

Frequently Asked Questions about prisma-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Prisma migrations to update my database schema?

Run Prisma migrations using the Prisma CLI to apply schema changes to your database. The CLI provides specific commands for creating, applying, and managing migration files during development and production deployments.

What is the correct command to generate the Prisma Client after updating my schema?

Generate the Prisma Client using the dedicated Prisma CLI command after modifying your schema. This command reads your updated schema file and automatically produces the type-safe client code required for database operations.

How do I initialize a new Prisma ORM project from the command line?

Initialize a new Prisma ORM project by executing the initialization command in your terminal. This creates the base configuration files, the schema definition template, and sets up the database connection structure.

Can I use Prisma CLI commands for both development and production database scenarios?

Yes, the Prisma CLI supports both development and production database scenarios. It provides specific command options and best practices tailored for schema evolution, ensuring safe database management across different environments.

What Prisma CLI commands are available for database seeding and utility operations?

The Prisma CLI includes utility commands for database operations such as seeding your database with initial data. These commands facilitate efficient database management by automating repetitive setup and maintenance tasks.