Prisma Cli

🏢Official
by prisma · vlatest · Repository

Manage and interact with your Prisma databases using command-line tools for schema management, migrations, and introspection.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add prisma-cli npx -- -y @trustedskills/prisma-cli
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "prisma-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/prisma-cli"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Prisma CLI enables developers to interact with databases using a high-level, type-safe API. It supports generating database schemas from code and executing queries in a safe and efficient manner.

When to use it

  • When setting up or modifying a database schema based on your application's data model
  • When you need to run database operations like migrations or query execution without writing raw SQL
  • During development for rapid iteration of database models and queries

Key capabilities

  • Generate database schemas from TypeScript/JavaScript code
  • Execute type-safe queries against databases
  • Support for multiple database systems (e.g., PostgreSQL, MySQL)
  • Integration with Prisma ORM for seamless data operations

Example prompts

  • "Generate a Prisma schema for a user model with name and email fields."
  • "Run a query to fetch all users from the database using Prisma CLI."
  • "Create a migration script for adding an age field to the User table."

Tips & gotchas

  • Ensure you have a valid Prisma configuration file (prisma/schema.prisma) before running commands.
  • The CLI requires a compatible database connection string configured in your project.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
prisma
Installs
1.2k

🏢 Official

Published by the company or team that built the technology.