Hey Yassin 👋 this is a great initiative and I'd love to see such a guide that makes it easier for the community to build their own generators!!

However, there's a major caveat to this. The DMMF is an undocumented API that's not considered part of the official API surface and might break unexpectedly with any release, so it's very intentionally not documented in our own resources (somewhat related context also in this issue: #10725).

I would still love to see such a guide, do you maybe have a personal blog where you could publish it? Otherwise, platforms like Hashnode or dev.to are great to publish blog posts without the need of setting up your own blog. While we are not able to include such a guide in our own resources, I do think we can link to it from the Community generators-section in our docs!

🌐
npm
npmjs.com › package › @prisma › generator-helper
prisma/generator-helper
July 3, 2025 - This package is intended for Prisma's internal use. Latest version: 7.8.0, last published: 22 days ago. Start using @prisma/generator-helper in your project by running `npm i @prisma/generator-helper`. There are 660 other projects in the npm registry using @prisma/generator-helper.
      » npm install @prisma/generator-helper
    
Published   Apr 22, 2026
Version   7.8.0
🌐
Prisma
prisma.io › home › generators › generators › generators › generators
Generators (Reference) | Prisma Documentation
The default generator for Prisma Client is prisma-client, which outputs plain TypeScript code and requires a custom output path (read more about it here).
🌐
CodeSandbox
codesandbox.io › examples › package › @prisma › generator-helper
prisma/generator-helper examples
Use this online @prisma/generator-helper playground to view and fork @prisma/generator-helper example apps and templates on CodeSandbox.
🌐
DEV Community
dev.to › yassineldeeb › create-prisma-generator-2mdg
Create Prisma Generator - DEV Community
January 11, 2022 - When @prisma/sdk spawns our generator, It uses RPCs to communicate with our generator to send it the parsed datamodel AST as an example. Luckily for us, prisma has wrote a helper library called @prisma/generator-helper.
🌐
Mintlify
mintlify.com › prisma › prisma › concepts › generators
Generators - Prisma ORM
Self-updating documentation for startups, enterprises, and agents.
Find elsewhere
🌐
Yarn
yarnpkg.com › package
Yarn
Cannot read properties of null (reading 'startsWith')
🌐
Aikido
intel.aikido.dev › packages › npm › @prisma › generator-helper
@prisma/generator-helper - npm package security analysis
Package Health/@prisma/generator-helper · This package is intended for Prisma's internal use · Latest 7.6.0NPM · 92% Total Score · Maintainer Stability · Maintainer Stability · Assesses the consistency and reliability of package maintainers · 61 · Dependencies ·
🌐
MCP Servers
mcpservers.org › home › agent skills library › prisma-cli-generate
prisma-cli-generate | Agent Skills Library
prisma generate. Reference when using this Prisma feature. Install the prisma-cli-generate agent skill by prisma for Claude Code and other AI coding agents.
🌐
Runkit
npm.runkit.com › @prisma › generator-helper
RunKit
var generatorHelper = require("@prisma/generator-helper")
🌐
GitHub
github.com › odroe › prisma-generator-helper
GitHub - medz/napi-dart · GitHub
Contribute to medz/napi-dart development by creating an account on GitHub.
Author   medz
🌐
Prisma
prisma.io › home › generate › generate
prisma generate | Generate Prisma Client & Artifacts | Prisma Documentation
Generate Prisma Client and other artifacts from your schema with prisma generate. Supports --watch, custom output, and multiple generators.
🌐
GitHub
github.com › YassinEldeeb › create-prisma-generator
GitHub - YassinEldeeb/create-prisma-generator: Get started developing your own ◭ Prisma generator by running a single command.
Get started developing your own ◭ Prisma generator by running a single command. - GitHub - YassinEldeeb/create-prisma-generator: Get started developing your own ◭ Prisma generator by running a sin...
Starred by 195 users
Forked by 8 users
Languages   TypeScript 84.3% | JavaScript 15.2% | Shell 0.5% | TypeScript 84.3% | JavaScript 15.2% | Shell 0.5%
🌐
Prisma
v1.prisma.io › docs › 1.34 › prisma-cli-and-configuration › cli-command-reference › prisma-generate-xcv2
Prisma 1.34 - prisma1 generate
prisma1 generate Invokes the generators specified in prisma.yml. Available generators are: The following generators are built-into the Prisma CLI: Prisma client in JavaScript: javascript-client Prisma client in TypeScript:...
🌐
Prisma
prisma.io › home › generating prisma client › generating prisma client › generating prisma client › generating prisma client › generating prisma client
Generating Prisma Client | Prisma Documentation
This generator is specifically designed to handle common challenges with module resolution and runtime variations, providing a smoother integration experience and less friction with bundlers. To load environment variables in your Prisma application, you can use the prisma.config.ts file along with the env helper from prisma/config.
🌐
npm
npm.io › home › @prisma/generator-helper
@prisma/generator-helper | npm.io
October 4, 2019 - npm i @prisma/generator-helper · npx @prisma/generator-helper · yarn add @prisma/generator-helper · pnpm add @prisma/generator-helper · bun add @prisma/generator-helper · Built and signed on · GitHub ActionsView build summary · Source Commit · github.com/prisma/prisma@a6d0155 ·
Published   Oct 04, 2019
Version   7.9.0
Author   Tim Suchanek