/db-architect-skills:prisma-expertfrom db-architect-skills
Prisma ORM: schema.prisma review, migrations, query patterns, connection pooling. Read when the project contains schema.prisma.
Ships in db-architect-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
First read prisma/schema.prisma, prisma/migrations/, and check the provider and Prisma version in package.json. Combine with skills/postgresql/SKILL.md when the provider is Postgres.
prisma migrate dev is for local development only. Production runs prisma migrate deploy. Never migrate reset on anything shared.onDelete explicitly. Prisma's default is not always what the domain wants.@@index for every field used in where or orderBy that is not already @id or @unique. Prisma does not index relation scalar fields automatically.select to fetch only needed fields; include only the relations the caller uses. Deep include trees are the usual N+1 and over-fetch source.take + cursor). No unbounded findMany.connection_limit in the URL to a small number per instance.$transaction, no external API calls and no long computation. Keep it short to avoid lock contention.@relation only for the trivial case.@@map / @map to keep snake_case in the database while using camelCase in code.@id, relations without fields/references, missing onDelete.@@index; composite queries without composite indexes.String columns that should be Decimal (money) or DateTime with @db.Timestamptz.Json fields holding structured, queried data.findMany calls in loops or without take in the codebase.What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/database-adminDatabase operations: backups and restore testing, roles and privileges, destructive commands, maintenance. Read when the task touches a running database rather than its schema design./database-architectChoosing a database and ORM, planning scaling, sharding, caching or replication. Entry point for greenfield data-layer design and for architecture-level audits of an existing system./database-designSchema modeling and schema review: tables, keys, relationships, constraints, indexes, normalization. Use when designing a new schema or auditing an existing one for integrity and performance problems.Other plugins' skills for the same job
Generated from the plugin's indexed repository (mulosbron/db-architecture-skills) — no native marketplace selected
npx claudepluginhub p/mulosbron-db-architect-skills