Agent skill

prisma-workflow

Prisma workflow for schema changes, migrations, and common pitfalls in this repo.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/prisma-workflow

SKILL.md

Use this when changing the database schema or repository layer.

Key files

  • Schema: prisma/schema.prisma
  • Migrations: prisma/migrations/
  • Seed: prisma/seed.ts

Common commands

  • Generate client: npm run prisma:generate
  • Create/apply migration (dev): npm run prisma:migrate:dev
  • Introspect DB -> schema: npm run prisma:db:pull
  • Explore data: npm run prisma:studio

Nullability gotcha

  • Prisma maps SQL NULL to JavaScript null.
  • Prefer value !== null (or truthiness checks) over value !== undefined for DB-nullable fields.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results