
Prisma Next Contract
prisma/prisma-next/skills/prisma-next-contractby prisma55458c441d2cNo license415 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 6 weeks ago
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, `@prisma-next/postgres/config`, `@prisma-next/postgres/contract-builder`, `@prisma-next/postgres/control`, `@prisma-next/mongo/config`, `@prisma-next/mongo/contract-builder`, `extensions:`, pgvector, cipherstash, postgis, paradedb, supabase, `@prisma-next/extension-supabase`, `@@control`, control policy, managed, tolerated, external, observed.
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| SKILL.md | 28.1 KB | text/markdown |
Source and attribution
Source:prisma/prisma-nextinskills/prisma-next-contractat commit55458c4
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from prisma/prisma-next

Prisma Next Queries
prisma
Guides writing Prisma Next queries for Postgres, SQLite, or Mongo, covering filters, relations, aggregation, and transactions.

Prisma Next Migrations
prisma
Guides authoring Prisma Next database migrations, including choosing db update versus migration plan and filling data-transform placeholders.

Prisma Next Migration Review
prisma
Guides reviewing Prisma Next migrations before deploy, covering migration status, refs, and concurrency conflicts.

Prisma Next Feedback
prisma
Routes Prisma Next bug reports, feature requests and team questions to GitHub Issues or the Prisma Discord.

Prisma Next Debug
prisma
Reads Prisma Next structured error envelopes and routes each error code to the right recovery step.

Prisma Next Build
prisma
Guides wiring the Prisma Next Vite plugin into a project's build system so contract artifacts re-emit during development.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.