# Prisma schema and queries

> Writes Prisma schemas, queries and migrations to current Prisma 7 rules, so your code avoids old habits.

- Page: https://youraiskill.com/skill/ericrisco-prisma-orm
- What it does: Use when modeling data or writing type-safe queries with Prisma ORM in TypeScript — `schema.prisma`, `prisma.config.ts`, the generated Prisma Client, and Prisma Migrate, including the v6 to v7 upgrade. NOT schema-as-TS with a SQL builder (that is `drizzle-orm`), NOT ORM-agnostic zero-downtime migration (that is `db-migrations`), NOT Postgres engine tuning (that is `postgresdb`).
- Niches: backend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions plus scripts

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
