Prisma Expert
Prisma ORM expert covering schema design, migrations, query tuning, relations, and connection issues.
- CCM score
- 59 of 100
- skills.sh installs
- 386
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers schema design, migrations, query optimization, relation modeling, transactions, and connection management for PostgreSQL, MySQL, and SQLite
- Provides
prisma validate,migrate status, andmigrate diffchecks, with fixes ordered from minimal to complete - Enforces
migrate deployfor production and warns againstmigrate devoutside development environments - Designed for Prisma projects with schema drift, failed migrations, N+1 queries, or pool exhaustion, and defers raw SQL tuning to other specialists
Install
$ npx -y skills add davila7/claude-code-templates --skill prisma-expert -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Prisma Expert
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.
When Invoked
Step 0: Recommend Specialist and Stop
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
Environment Detection
# Check Prisma version
npx prisma --version 2>/dev/null || echo "Prisma not installed"
# Check database provider
grep "provider" prisma/schema.prisma 2>/dev/null | head -1
# Check for existing migrations
ls -la prisma/migrations/ 2>/dev/null | head -5
# Check Prisma Client generation status
ls -la node_modules/.prisma/client/ 2>/dev/null | head -3
Apply Strategy
- Identify the Prisma-specific issue category
- Check for common anti-patterns in schema or queries
- Apply progressive fixes (minimal → better → complete)
- Validate with Prisma CLI and testing
Problem Playbooks
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Databases, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the prisma-expert skill do?
prisma-expert is an expert skill for Prisma ORM covering schema design, migrations, query optimization, relation modeling and database operations across PostgreSQL, MySQL and SQLite. It is meant to be used for Prisma schema issues, migration problems, query performance, relation design and database connection issues.
How do I install the prisma-expert skill?
Run npx -y skills add davila7/claude-code-templates --skill prisma-expert -y in a project to install it. After that, prisma-expert lets the agent check your Prisma version and provider, validate and format your schema, inspect migration status and suggest fixes.
Which skills are alongside prisma-expert in the Databases category?
prisma-expert sits in the Databases category next to supabase-postgres-best-practices, prisma-client-api, prisma-database-setup, prisma-cli and prisma-postgres. Its own focus is broad Prisma ORM expertise covering schema, migrations, query tuning and connection problems in one skill.
When should prisma-expert hand a task to another specialist?
prisma-expert is built to stop and recommend a specialist when the issue is raw SQL optimization, database server configuration or infrastructure-level connection pooling. For those cases it points to postgres-expert or mongodb-expert, database-expert, or devops-expert.
More from davila7/claude-code-templates
All 398- Clinical Decision Support385
- It Operations384
- Transformers384
- Task Execution Engine382
- Ai Wrapper Product379
- Shap376
- Github Workflow Automation374
- Schema Markup373
- Drugbank Database372
- Bun Development369
- Figma Implement Design368
- Pymatgen368
- Codex Review365
- Behavioral Modes364
- Accessibility362
- Networkx362
- Python Patterns362
- Analytics Tracking361
- Production Code Audit359
- Biorxiv Database358
- Javascript Mastery358
- Plan Writing358
- Risk Management Specialist358
- Ab Test Setup356
Similar to Prisma Expert
More DatabasesprismaSkillmindrally/skills1.1K installsExpert Prisma ORM guidance for type-safe queries, schema design, error handling, and performance tuning.
prisma-ormSkillbobmatnyc/claude-mpm-skills341 installsType-safe TypeScript database toolkit covering schema-first development, migrations, and generated clients.
prisma-developmentSkillmindrally/skills747 installsComprehensive Prisma ORM guidelines covering TypeScript practices, schema design, migrations, and error handling.
prisma-orm-setupSkillprisma/skills134.4K installsSet up Prisma ORM for new or existing apps, defaulting to version 8 and keeping earlier versions on their major.
Postgres MCP ProMCP servercrystaldba3.5K starsConnects to PostgreSQL databases for schema browsing, SQL execution, query tuning, and health checks.
prisma-cliSkillprisma/skills455.6K installsReference for the Prisma ORM 7 CLI covering init, generate, migrate, db, dev, studio, and mcp commands.