Agent skill

prisma-7

Expert Prisma 7 ORM with Rust-free client, 90% smaller bundles, 3x faster queries, TypedSQL, Omit API, and ESM-first architecture. Use when working with databases, Prisma schemas, queries, migrations, relations, or database optimization.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/prisma-7-fusengine-agents

SKILL.md

Prisma 7 Expert

Overview

Prisma 7 (released November 19, 2025) removes Rust dependency for ~90% smaller bundles, up to 3x faster queries, and ESM-first architecture.

Quick Start

bash
# Install dependencies
bun add @prisma/client dotenv
bun add -d prisma

# Initialize Prisma
bunx prisma init

# Generate client after schema changes
bunx prisma generate

# Run migrations
bunx prisma migrate dev --name init

Key Features

1. Rust-Free Client

  • ~90% smaller bundles
  • Up to 3x faster queries
  • ESM-first

2. Required Output Path

prisma
generator client {
  provider = "prisma-client"
  output   = "../src/generated/prisma"
}

3. TypedSQL (Stable)

4. Omit API

5. Client Extensions

Documentation Structure

  • 100-getting-started - Quick start guides
  • 200-orm - ORM reference (schema, client, queries, migrations)
  • 250-postgres - PostgreSQL specific features
  • 300-accelerate - Prisma Accelerate
  • 500-platform - Prisma Platform
  • 700-optimize - Query optimization
  • 800-guides - Guides (Next.js, Auth.js, etc.)
  • 900-ai - AI integration

Version Requirements

Requirement Version
Node.js 18.18+
TypeScript 5.1+

Instructions

  1. Use prisma-client provider (NOT prisma-client-js)
  2. ALWAYS set output path in generator
  3. Import from generated path, not @prisma/client
  4. Use singleton pattern in Next.js
  5. Use TypedSQL for complex queries
  6. Use Omit API for sensitive fields

Documentation Reference

mcp__context7__get-library-docs with context7CompatibleLibraryID="/prisma/docs"

Official site: https://www.prisma.io/docs

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results