← all publishers

prisma

@prisma source repo

62 published skills

  1. Prisma Database Setup · prisma bundle
    Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.). Use when setting up a new project, changing databases, or troubleshooting connection issues. Triggers on "configure postgres", "connect to mysql", "setup mongodb", "sqlite setup".
    0
    installs
  2. Prisma Platform Core Concepts · prisma
    Use when hosting, deploying, or operating an app on the Prisma Platform: projects, branches, preview environments, services and their versions, Prisma Postgres databases, object-store buckets, environment variables, custom domains, logs, or the GitHub integration. Triggers on "Prisma Platform", "Prisma Compute", "Prisma Postgres", "Prisma Storage", "preview environment", `prisma deploy`, `prisma dev`, `prisma auth`, `prisma project`, `prisma branch`, `prisma service`, `prisma postgres`, `prisma bucket`, `prisma git`, `prisma.config.ts`, promote, rollback.
    0
    installs
  3. Publish NPM Version · prisma
    Cuts the next minor release of Prisma Composer: bumps the root package.json version, propagates it to every workspace package in lockstep, and opens a PR titled "chore(release): v<next-version>". When a maintainer merges the PR, the `Publish to npm` workflow runs automatically and ships the new version to npm under dist-tag `latest`, plus a matching GitHub Release with auto-generated notes. Use when a maintainer asks to "cut the next minor", "bump to the next version", "open a release PR", or "prepare a publish PR".
    0
    installs
  4. Prisma Composer Core Concepts · prisma
    Use when deploying or managing an app that uses Prisma Composer (`@prisma/composer`): wiring its services and Modules, running it locally, testing composed services, or standing up / tearing down an environment. Triggers on "prisma composer", "@prisma/composer", "prisma app", the `prisma-composer` CLI, `compute()`, `module()`, `contract()`, `service.load()`, `mockService`, `bootstrapService`.
    0
    installs
  5. Upgrade Alchemy Effect · prisma
    How to upgrade `alchemy` and the `effect` constellation across this repo and keep them consistent for consumers: which packages pin what, why `effect` and every `@effect/*` companion move as one set, what breaks in a typical upgrade, and how to verify a standalone `npm install` still resolves a single `effect`. Use when asked to upgrade or bump alchemy or effect, when a deploy dies inside an alchemy provider with a `TypeError` naming a missing combinator, when `check:npm-effect-resolution` fails, or when deciding whether the alchemy patch is still needed.
    0
    installs
  6. Multiline Commit Messages · prisma
    Use single-quoted strings for multiline git commit messages in the Shell tool. Prevents heredoc escaping failures that produce garbled commit messages.
    0
    installs
  7. Prisma Upgrade V7 · prisma bundle
    Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required".
    0
    installs
  8. Prisma Next · prisma
    Route a vague Prisma Next prompt to the right specific skill. Use for "help me with Prisma Next", "what is Prisma Next", "explain Prisma Next", "I'm new to PN", "where do I start", "what can I do with Prisma Next", "what can I do next with Prisma", "just ran createprisma", "tour of Prisma Next", "Prisma Next overview", and comparison questions like "Prisma Next vs Prisma 7", "PN vs Drizzle", "PN vs Kysely", "PN vs TypeORM". Do NOT use when the prompt clearly matches a workflow skill — adoption / quickstart / first-touch orientation / brownfield introspection, schema / contract editing, migration authoring (db update / migration plan / migrate), migration review on deploy / concurrent migrations, queries / db.orm / db.sql / TypedSQL, runtime / db.ts / middleware wiring, build / Vite plugin / Next.js plugin, debug / structured error envelopes / PN-* error codes, or feedback / bug report / feature request — load that sibling skill directly.
    0
    installs
  9. Prisma Next Debug · prisma
    Read a Prisma Next structured error envelope and route to the right recovery — code, domain, severity, why, fix, meta. Use for error, exception, my emit failed, my query won't typecheck, my query crashed, my migration won't apply, MIGRATION.HASH_MISMATCH, BUDGET.ROWS_EXCEEDED, BUDGET.TIME_EXCEEDED, RUNTIME.ABORTED, PLAN.HASH_MISMATCH, CONTRACT.MARKER_MISSING, PN-RUN-3001, PN-RUN-3002, PN-RUN-3030, PN-MIG-2001, PN-CLI-4011, PN-SCHEMA-0001, drift, capability missing, planner conflict, prisma studio, EXPLAIN, query log, db.end, db.close, script won't exit, hangs, close connection, pool.end, client is closed.
    0
    installs
  10. Prisma Next Queries · prisma bundle
    Write Prisma Next queries for Postgres, SQLite, or Mongo — pick a lane (Postgres/SQLite `db.orm.<Model>` + `db.sql.<table>`; Mongo `db.orm.<root>` + `db.query.from(...)` pipeline builder), filter / project / sort / paginate, eager-load with `.include(...)`, Postgres/SQLite `db.transaction(...)`, Postgres/SQLite ORM `.aggregate(...)`, Mongo aggregations via query builder, namespace-aware accessors (`db.orm.<ns>.<Model>`, `db.sql.<ns>.<table>`). Triggers: query, where, match, select, project, orderBy, take, skip, include, lookup, first, all, count, aggregate, group, create, update, delete, upsert, returning, transaction, db.close, script teardown, variant, polymorphism, drizzle-style, kysely-style. Notes: `.all()` is a Thenable (just `await` it), iterators are single-use (`RUNTIME.ITERATOR_CONSUMED`), Postgres `count` is `number` while sum/avg/min/max are `number | null`, ranges use chained `.where()` or `and(...)` (no `.between(...)`).
    0
    installs
  11. Prisma Next Runtime · prisma
    Wire the Prisma Next runtime — `db.ts` setup using `postgres<Contract>(...)` from `@prisma-next/postgres/runtime`, `sqlite<Contract>(...)` from `@prisma-next/sqlite/runtime`, or `mongo<Contract>(...)` from `@prisma-next/mongo/runtime`; middleware composition (telemetry from `@prisma-next/middleware-telemetry`; lints and budgets), `DATABASE_URL` config, per-environment branching, switching between Postgres, SQLite, and Mongo façades. Use for db.ts, postgres(), sqlite(), mongo(), middleware, telemetry, lints, budgets, DATABASE_URL, .env, connection pool, poolOptions, dev vs prod config, transactions, db.transaction, read replicas, multi-database, script won't exit, hangs, close connection, db.end, db.close, pool.end, [Symbol.asyncDispose], await using.
    0
    installs
  12. Prisma Next Upgrade · prisma bundle
    Upgrade Prisma Next in your app. Bumps every `@prisma-next/*` dependency from the version pinned in the lockfile to the requested target (or npm `latest`), applies any required code-translation steps from the per-transition upgrade instructions, validates with the project's own typecheck + tests, and commits each minor step on its own. Use when the user asks to "upgrade Prisma Next", "bump Prisma Next", "move to Prisma Next X.Y", or asks an agent to deal with an `@prisma-next/*` minor bump in their app.
    0
    installs
  13. Prisma Next Contract · prisma
    Edit the Prisma Next data contract — add models, fields, relations, indexes, enums, value objects (composite types), type aliases, namespaces (Postgres schemas), cross-contract foreign keys (cross-space FK), polymorphic types (`@@discriminator` / `@@base`), use extension namespaces (`pgvector.Vector(...)`, `cipherstash.EncryptedString(...)`), wire `prisma-next.config.ts` with `defineConfig` from the `@prisma-next/<target>/config` façade, and run `prisma-next contract emit`. Use for schema, models, fields, attributes, soft delete, paranoid, scopes, validations, callbacks, prisma schema, PSL, contract.prisma, contract.ts, contract.json, contract.d.ts, façade imports, `@prisma-next/postgres/config`, `@prisma-next/postgres/contract-builder`, `@prisma-next/postgres/control`, `@prisma-next/mongo/config`, `@prisma-next/mongo/contract-builder`, `extensions:`, `extensionPacks`, pgvector, cipherstash, postgis, paradedb, supabase, `@prisma-next/extension-supabase`, `@@control`, control policy, managed, tolerated, extern
    0
    installs
  14. Prisma Next Migrations · prisma
    Author Prisma Next migrations — choose db update vs migration plan, edit the framework-rendered migration.ts (replace placeholder sentinels with dataTransform closures), recover from MIGRATION.HASH_MISMATCH or PN-MIG-2001 unfilled placeholder. Use for prisma migrate dev, prisma migrate deploy, prisma db push, db update, db update --dry-run, migration plan, migrate, migration new, migration show, db verify, db sign, data migration, this.dataTransform, dataTransform, placeholder, generated migration.ts, edit migration.ts, MIGRATION.HASH_MISMATCH, schema drift.
    0
    installs
  15. Prisma Next Quickstart · prisma
    Adopt Prisma Next into a new project, onto an existing database, or as the first move after a bootstrap tool dropped you into a scaffold. Use for "what can I do with Prisma Next", "what can I do next with Prisma", "where do I start", "what should I do first", "just ran createprisma", "createprisma", "npx createprisma", "npx create-prisma", "first steps", "first query", "I have a scaffolded Prisma Next project what now"; for `pnpm dlx prisma-next init` greenfield setup; and for `prisma-next contract infer` + `db sign` against an existing database. Also covers the connect-write-read first-arc orientation, the day-to-day commands (`contract emit`, `db init`, `db update`, `migration plan`, `migrate`, `db schema`, `db verify`), and routing to `prisma-next-contract` / `prisma-next-queries` / `prisma-next-runtime` for the next move. Flags: --target, --authoring, --schema-path, --probe-db, --output.
    0
    installs
  16. Prisma Next Migration Review · prisma
    Review what Prisma Next migrations will run on merge or deploy, render the migration graph, resolve concurrent / diamond-convergence conflicts, and configure environment refs for CI. Use for "what migrations are going to run", "what runs on deploy", merge conflict, diamond convergence, concurrent migrations, migration status, ref management, staging, production, MIGRATION.DIVERGED, MIGRATION.NO_MARKER, MIGRATION.MARKER_NOT_IN_HISTORY, prisma migrate status, prisma migrate diff, prisma migrate resolve.
    0
    installs
  17. Prisma Next Extension Upgrade · prisma bundle
    Upgrade Prisma Next in your extension. Bumps every `@prisma-next/*` dependency to the requested target (or npm `latest`), runs the per-transition upgrade instructions for the extension SPI (middleware lifecycle, codec / migration-tools / framework-components churn, seed-migration on-disk shape), verifies the pins are correctly exact via `prisma-next-check-pins`, runs the extension's own typecheck and tests, and commits each minor step on its own. Use when the user asks to "upgrade Prisma Next" in an extension package, or to update an extension's `@prisma-next/*` deps to a new minor.
    0
    installs
  18. Prisma CLI Dev · prisma bundle
    prisma dev. Reference when using this Prisma feature.
    0
    installs
  19. Prisma CLI Init · prisma bundle
    prisma init. Reference when using this Prisma feature.
    0
    installs
  20. Prisma CLI Debug · prisma bundle
    prisma debug. Reference when using this Prisma feature.
    0
    installs
  21. Prisma CLI Format · prisma bundle
    prisma format. Reference when using this Prisma feature.
    0
    installs
  22. Prisma CLI Studio · prisma bundle
    prisma studio. Reference when using this Prisma feature.
    0
    installs
  23. Prisma CLI DB Pull · prisma bundle
    prisma db pull. Reference when using this Prisma feature.
    0
    installs
  24. Prisma CLI DB Push · prisma bundle
    prisma db push. Reference when using this Prisma feature.
    0
    installs
  25. Prisma CLI DB Seed · prisma bundle
    prisma db seed. Reference when using this Prisma feature.
    0
    installs
  26. Prisma CLI Generate · prisma bundle
    prisma generate. Reference when using this Prisma feature.
    0
    installs
  27. Prisma CLI Validate · prisma bundle
    prisma validate. Reference when using this Prisma feature.
    0
    installs
  28. Prisma CLI DB Execute · prisma bundle
    prisma db execute. Reference when using this Prisma feature.
    0
    installs
  29. Prisma CLI Migrate Dev · prisma bundle
    prisma migrate dev. Reference when using this Prisma feature.
    0
    installs
  30. Prisma CLI Migrate Diff · prisma bundle
    prisma migrate diff. Reference when using this Prisma feature.
    0
    installs
  31. Prisma CLI Migrate Reset · prisma bundle
    prisma migrate reset
    0
    installs
  32. Prisma CLI Migrate Deploy · prisma bundle
    prisma migrate deploy
    0
    installs
  33. Prisma CLI Migrate Status · prisma bundle
    prisma migrate status
    0
    installs
  34. Prisma Client API Filters · prisma bundle
    Filter Conditions and Operators
    0
    installs
  35. Prisma CLI Migrate Resolve · prisma bundle
    prisma migrate resolve
    0
    installs
  36. Prisma Client API Relations · prisma bundle
    Relation Queries. Reference when using this Prisma feature.
    0
    installs
  37. Prisma Database Setup Mysql · prisma bundle
    MySQL Setup. Reference when using this Prisma feature.
    0
    installs
  38. Prisma Database Setup Sqlite · prisma bundle
    SQLite Setup. Reference when using this Prisma feature.
    0
    installs
  39. Prisma Client API Constructor · prisma bundle
    PrismaClient Constructor
    0
    installs
  40. Prisma Client API Raw Queries · prisma bundle
    Raw Queries. Reference when using this Prisma feature.
    0
    installs
  41. Prisma Database Setup Mongodb · prisma bundle
    MongoDB Setup. Reference when using this Prisma feature.
    0
    installs
  42. Prisma Upgrade V7 Esm Support · prisma bundle
    ESM Support. Reference when using this Prisma feature.
    0
    installs
  43. Prisma Client API Transactions · prisma bundle
    Transactions. Reference when using this Prisma feature.
    0
    installs
  44. Prisma Client API Model Queries · prisma bundle
    Model Queries. Reference when using this Prisma feature.
    0
    installs
  45. Prisma Client API Query Options · prisma bundle
    Query Options. Reference when using this Prisma feature.
    0
    installs
  46. Prisma Database Setup Sqlserver · prisma bundle
    SQL Server Setup. Reference when using this Prisma feature.
    0
    installs
  47. Prisma Upgrade V7 Env Variables · prisma bundle
    Environment Variables
    0
    installs
  48. Prisma Upgrade V7 Prisma Config · prisma bundle
    Prisma Config. Reference when using this Prisma feature.
    0
    installs
  49. Prisma Client API Client Methods · prisma bundle
    Client Methods. Reference when using this Prisma feature.
    0
    installs
  50. Prisma Database Setup Postgresql · prisma bundle
    PostgreSQL Setup. Reference when using this Prisma feature.
    0
    installs
  51. Prisma Upgrade V7 Schema Changes · prisma bundle
    Schema Changes. Reference when using this Prisma feature.
    0
    installs
  52. Prisma Database Setup Cockroachdb · prisma bundle
    CockroachDB Setup. Reference when using this Prisma feature.
    0
    installs
  53. Prisma Upgrade V7 Driver Adapters · prisma bundle
    Driver Adapters. Reference when using this Prisma feature.
    0
    installs
  54. Prisma Upgrade V7 Accelerate Users · prisma bundle
    Prisma Accelerate Users
    0
    installs
  55. Prisma Upgrade V7 Removed Features · prisma bundle
    Removed Features. Reference when using this Prisma feature.
    0
    installs
  56. Prisma Database Setup Prisma Postgres · prisma bundle
    Prisma Postgres Setup
    0
    installs
  57. Prisma Database Setup Prisma Client Setup · prisma bundle
    Prisma Client Setup. Reference when using this Prisma feature.
    0
    installs
  58. Prisma Postgres · prisma bundle
    Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db/create-pg/create-postgres, or integrating programmatic provisioning with service tokens or OAuth.
    0
    installs
  59. Prisma Client API · prisma bundle
    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".
    0
    installs
  60. Prisma Driver Adapter Implementation · prisma
    Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.
    0
    installs
  61. Prisma CLI · prisma bundle
    Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, validate, format, debug, and mcp. Use for ORM/database CLI workflows, not the Prisma Platform CLI. Triggers on "prisma init", "prisma generate", "prisma migrate", "prisma db", "prisma complete", "prisma studio", "prisma mcp".
    0
    installs
  62. Prisma Compute · prisma bundle
    Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.
    0
    installs