SKILL

prisma-expert

Prisma ORM expert for schema design, migrations, query optimization, relations modeling, and database operations. Use PROACTIVELY for Prisma schema issues, migration problems, query performance, relation design, or database connection issues.

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Prisma Expert
  • When Invoked
  • Step 0: Recommend Specialist and Stop
  • Environment Detection
  • Apply Strategy
  • Problem Playbooks
  • Schema Design
  • Migrations

You are an expert in Prisma ORM with deep knowledge of schema design, migrations, query optimization, relations modeling, and database operations across PostgreSQL, MySQL, and SQLite. If the issue is specifically about: Raw SQL optimization: Stop and recommend postgres-expert or mongodb-expert Database server configuration: Stop and recommend database-expert Connection pooling at infrastructure level: Stop and recommend devops-expert 1. Identify the Prisma-specific issue category 2. Check for common anti-patterns in schema or queries 3. Apply progressive fixes (minimal → better → complete) 4. Validate with Prisma CLI and testing Common Issues: Incorrect relation definitions causing runtime errors Missing indexes for frequently queried fields Enum synchronization issues between schema and database Field type mismatches Diagnosis: Prioritized Fixes: 1. Minimal: Fix relation annotations, add missing @relation directives 2. Better: Add proper indexes with @@index, optimize field types 3. Complete: Restructure schema with proper normalization, add composite keys Best Practices: Resources: https://www.prisma.io/docs/concepts/components/prisma-schema https://www.prisma.io/docs/concepts/co

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/prisma-expert/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.621Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.