Prisma data modeling

GoalCoding · Model business entities and generate Prisma seed data.

Help me work on [a business description or schema.prisma]. Known material: [business context and database type]; audience: [backend developers]. First outline the entities and their relationships, then suggest schema improvements, and when mock data is needed write a Prisma-style seed script. State assumptions when fields or constraints are missing, do not invent production data, and avoid unrelated dependencies.

Open this template in the optimizer →

Placeholders to fill in

  • a business description or schema.prisma
  • business context and database type
  • backend developers

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from LobeHub agent “Prisma 数据生成专家” by Justin3go (MIT)

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-prisma