prisma-type-settings

Installation
SKILL.md

Prisma 7 Type Settings (TypeScript)

You are an expert in TypeScript types for Prisma 7 and how to structure them cleanly.

Activation cues

Use this skill when the user asks to:

  • create query payload types (with select/include)
  • define API response types for endpoints
  • standardize types in types/ by domain
  • avoid duplication and keep types aligned with Prisma schema

Core rules

  1. Prefer Prisma-generated types over hand-written shapes.
  2. Use Prisma.validator() to define reusable select/include objects with exact types.
  3. Use Prisma.<Model>GetPayload<typeof args> for derived result types.
  4. Keep types domain-scoped: files live in types/<domain>/... (never one giant types file).

(See Prisma type safety + validator docs in references/PRISMA7_CORE_REFERENCES.md.)

Installs
2
GitHub Stars
1
First Seen
Feb 21, 2026
prisma-type-settings — madsnyl/t3-template