Prisma Next Contract Authoring

•
371
•

Manage and evolve your data layer using Prisma Next's declarative contract system for automated type generation and migration planning.

This skill enables Claude to act as a Prisma Next expert, assisting in the creation and modification of data contracts using either Prisma Schema Language (PSL) or the TypeScript builder. It handles complex data modeling tasks including defining models, relations, indexes, and custom extension types like pgvector or CipherStash. By managing the contract source files and orchestrating the emit pipeline, it ensures your data layer remains the single source of truth for your application's types, runtime configuration, and database migrations.

主な機能

01Configure multi-database namespaces and cross-contract foreign keys
02Automatically emit JSON and d.ts artifacts for type-safe runtimes
03Author and edit data models in PSL or TypeScript builder formats
04371 GitHub stars
05Integrate powerful extensions like pgvector, PostGIS, and CipherStash
06Manage complex schema attributes including indexes, enums, and composite types

ユースケース

01Migrating existing Prisma schemas to the Prisma Next contract-first architecture
02Configuring vector search or encrypted storage using specialized Prisma Next extensions
03Evolving a database schema to support new application features or models