prisma-client-api (Prisma Official)

Prisma's official Prisma Client API quick reference: When agents write database queries, look up client construction, CRUD operations, select / include / omit, filtering, relations, transactions, raw SQL, and client method syntax by category.

Prisma's official Prisma Client API quick reference: When agents write database queries, look up client construction, CRUD operations, select / include / omit, filtering, relations, transactions, raw SQL, and client method syntax by category.

skills.sh installs 395639 (+2825 / 24h)

Security Audit: Risk warnings present

  • Reads environment variables or requires API Keys / Tokens
  • Audit scope: GitHub prisma/skills/prisma-client-api/SKILL.md (scans only the SKILL.md text)

Rationale

  • Written for Prisma 7.9.1: Examples import PrismaClient from the generated directory and connect via the @prisma/adapter-pg driver adapter
  • Prioritized 8 categories by impact; model queries, transactions, and raw SQL are marked CRITICAL; details are split into 8 documents under references/ for on-demand reading
  • The same repository lists 9 other skills (CLI, ORM initialization, Prisma Postgres, v7 upgrades, etc.); skills.sh shows 2825 installs in the last 24 hours, with a cumulative total of 395639 (indicating attention only)

Usage

  • npx skills add https://github.com/prisma/skills --skill prisma-client-api
  • Automatically triggered when writing queries such as findMany or $transaction; requires an existing Prisma project and database connection string

Risks

  • The environment variable read mentioned in the audit comes from process.env.DATABASE_URL in the example code; the skill itself does not read secrets or execute commands, which aligns with its purpose
  • Pure API reference with no new workflows; examples follow Prisma 7 syntax, so older project versions must be adjusted according to official documentation

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates