prisma-json-types-generator

Installation
SKILL.md

Prisma Json Types Generator

Make Prisma Json, String, String[], Int, or Float fields type-safe with the smallest correct schema and type-definition change.

This only changes generated TypeScript types after prisma generate.

Core Workflow

  1. Read only what you need: the relevant Prisma schema, the existing PrismaJson wiring file if there is one, and tsconfig.json if the namespace declarations are not being picked up.
  2. For first-time installation, generator wiring, or broken setup, read references/setup.md before editing fields.
  3. Find the target field.
  4. Decide whether it should use a named namespace type or a short inline type.
  5. Add or fix the AST comment immediately above the field.
  6. Add or update the TypeScript type if the field uses a named type.
  7. Run prisma generate and a relevant type check when practical.

Prefer the smallest correct change. If the user only needs one typed field, do not redesign the whole schema.

Choosing A Typing Style

Installs
14
GitHub Stars
559
First Seen
Apr 29, 2026