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.
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
# 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
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
- Use
prisma-clientprovider (NOTprisma-client-js) - ALWAYS set
outputpath in generator - Import from generated path, not
@prisma/client - Use singleton pattern in Next.js
- Use TypedSQL for complex queries
- Use Omit API for sensitive fields
Documentation Reference
mcp__context7__get-library-docs with context7CompatibleLibraryID="/prisma/docs"
Official site: https://www.prisma.io/docs
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?