@prismakit/cli
v4.0.0
Published
CLI for PrismaKit — generate modules, validate compose, install agent skills
Maintainers
Readme
@prismakit/cli
CLI for PrismaKit: scaffold repositories, validate compose, install agent skills.
Documentation · CLI reference · GitHub
Install
pnpm add -D @prismakit/cliBinary: prismakit
Commands
generate — scaffold
# Repository only (default)
npx prismakit generate product --cache
# Full Nest module (controller + service + types)
npx prismakit generate product --cache --full --route products
# Custom Prisma import path
npx prismakit generate product --prisma-import @prisma/client| Flag | Description |
|------|-------------|
| --cache | Include cache config in the repository |
| --full | Emit Nest module + controller + service + types |
| --route | HTTP route for --full |
| --prisma-import | Prisma client import (default @prisma/client) |
| --dry-run | Print files without writing |
validate — compose safety
Loads Prisma schema meta so relation fields resolve without a manual alias map.
npx prismakit validate --auto-registerskills — Cursor / agent skills
npx prismakit skills # .cursor/skills in this app
npx prismakit skills --global # ~/.cursor/skills
npx prismakit skills --with-rulesAlso installable from GitHub: npx skills add fikiap23/prismakit.
Docs
License
Apache-2.0
