be-prisma

Guide Prisma v7 schema design, runtime baselines, and migrations.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Conradmaker/copilot-cockpit --skill be-prisma
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: be-prisma
Source: https://github.com/Conradmaker/copilot-cockpit/tree/main/.github/skills/be-prisma
Command: npx skills add https://github.com/Conradmaker/copilot-cockpit --skill be-prisma

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Be-prisma turns Prisma usage into a durable persistence contract by guiding runtime baselines, schema design, and migrations.

Core Features & Use Cases

  • Runtime baselining: ensures correct generator, output, and adapter wiring before schema work.
  • Schema & relation design guidance: explicit join tables, indexing, and naming for scalable queries.
  • Migration governance: separates developer and production migration flows with safe deployment contracts.
  • Query optimization & lifecycle: encourages minimal data retrieval, proper pagination, and transaction patterns.

Quick Start

Apply the be-prisma guidelines to initialize a runtime baseline, plan migrations, and wire the Prisma client with the correct adapter.

Frequently Asked Questions about be-prisma

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Prisma v7 runtime baseline with the correct adapter wiring?

To establish a Prisma v7 runtime baseline, you must configure the correct generator, output paths, and explicit adapter wiring before any schema work begins. This ensures datasource management remains config-driven and stable.

What is the best way to manage Prisma migrations for production databases?

The best way to manage Prisma migrations is separating developer and production migration flows through governance gates. This approach enforces safe deployment contracts and explicit migration planning for PostgreSQL and MySQL providers.

How do I design a scalable Prisma schema with explicit join tables and indexing?

Designing a scalable Prisma schema requires explicit join tables, strategic indexing, and strict naming conventions to enforce durable persistence contracts and optimize relational queries across your database provider.

Does Prisma v7 require explicit adapter wiring for datasource management?

Yes, Prisma v7 requires explicit adapter wiring to enforce a durable runtime baseline. Config-driven datasource management ensures your persistence contracts remain robust and properly connected before executing schema migrations.

Why do my Prisma queries retrieve too much data and how do I optimize pagination?

Prisma queries retrieve excessive data without lifecycle optimization. You must enforce minimal data retrieval, implement proper pagination patterns, and apply transaction governance to ensure scalable query performance.