Agent skill · software engineering · aiskillstore
prisma-client-api
Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".
Why this skill is useful
Provides detailed guidance on Prisma Client API methods and patterns for database queries that the AI wouldn't reliably generate on its own.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Prisma Client API Reference Complete API reference for Prisma Client. This skill provides guidance on model queries, filtering, relations, and client methods for current Prisma projects. When to Apply Reference this skill when: Writing database queries with Prisma Client Performing CRUD operations (create, read, update, delete) Filtering and sorting data Working with relations Using transactions Configuring client options Rule Categories by Priority Priority Category Impact Prefix ---------- ---------- -------- -------- 1 Client Construction HIGH constructor 2 Model Queries CRITICAL model-queries 3 Query Shape HIGH query-options 4 Filtering HIGH filters 5 Relations HIGH relations 6 Transactions CRITICAL transactions 7 Raw SQL CRITICAL raw-queries 8 Client Methods MEDIUM client-methods Quick Reference constructor - PrismaClient setup, adapter wiring, logging, and SQL commenter plugins model-queries - CRUD operations and bulk operations query-options - select, include, omit, sort, pagination filters - scalar and logical filter operators relations - relation reads and nested writes transactions - array and interactive transaction patterns raw-queries - $queryRaw and $executeRaw safety client-methods - lifecycle methods, extensions, and satisfies patterns for prisma-client Client Instantiation Model Query Methods Method Description -------- ------------- findUnique() Find one record by unique field findUniqueOrThrow() Find one or throw error findFirst() Find first matching record findFirstOrThrow() Find first or throw error findMany() Find multiple records create() Create a new record createMany() Create multiple records createManyAndReturn() Create multiple and return them update() Update one record updateMany() Update multiple records updateManyAndReturn() Update multiple and return them upsert() Update or create record delete() Delete one record deleteMany() Delete multiple records count() Count matching records aggregate() Aggregate values (sum, avg, etc.) groupBy() …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/prisma-client-api