nestjs-drizzle-crud-generator
Skill by giuseppe-trisciuoglio
Generates complete CRUD modules for NestJS applications using Drizzle ORM, including controllers, services, Zod-validated DTOs, Drizzle schemas and Jest unit tests. Built for developers adding database-backed features to NestJS.
Install nestjs-drizzle-crud-generator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit /tmp/developer-kit && mkdir -p ~/.claude/skills && cp -r /tmp/developer-kit/plugins/developer-kit-typescript/skills/nestjs-drizzle-crud-generator ~/.claude/skills/nestjs-drizzle-crud-generatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install nestjs-drizzle-crud-generator in Claude Code
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit /tmp/developer-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/developer-kit/plugins/developer-kit-typescript/skills/nestjs-drizzle-crud-generator ~/.gemini/antigravity-cli/skills/nestjs-drizzle-crud-generatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install nestjs-drizzle-crud-generator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
nestjs-drizzle-crud-generator is an agent skill that generates a complete CRUD module for a NestJS application using Drizzle ORM. Given an entity name and a list of fields, it runs a Python script that writes a feature module, controllers, services, Zod-validated DTOs, Drizzle schemas and Jest unit tests under a libs/server path. The source says it follows zaccheroni-monorepo patterns.
The skill is aimed at developers building server-side features in NestJS that need database operations. After generation, the source recommends running tsc --noEmit and the unit tests, then importing the feature module into the app module. Generated code uses soft delete but includes no authentication guards, and complex queries or transactions must be added manually.
Written from the project's SKILL.md and checked against it.
What it can do
- Module generationCreates a feature module that uses a forRootAsync pattern and imports DatabaseModule.
- CRUD controllerGenerates POST, GET, PATCH and DELETE endpoints with query parameter validation for pagination.
- Drizzle serviceGenerates a service with Drizzle ORM queries, pagination with limit and offset, and filtering.
- Soft deleteDelete operations set a deletedAt timestamp instead of removing rows.
- Zod DTOsGenerates Zod schemas for create and update requests, query parameters and NestJS DTO integration.
- Jest unit testsGenerates a Jest test suite with a mocked Drizzle database covering all CRUD operations.
What you need
- Python to run the generator script
- Node.js with npm for TypeScript checks and Jest tests
- NestJS with drizzle-orm, drizzle-zod, zod and nestjs-zod packages
Try asking
- Generate a user module with name, email and password fields.
- Create a product CRUD with title, price, description and inStock fields.
- Add a new order entity with endpoints and unit tests in NestJS.
Good to know
- Delete operations are soft deletes only. Hard deletes need manual changes.
- Generated code does not include auth guards.
- Only basic CRUD is generated. Complex queries, transactions and business logic must be added by hand.
- On the command line, the fields JSON array must be wrapped in single quotes.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: plugins/developer-kit-typescript/skills/nestjs-drizzle-crud-generator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBash
Alternatives to nestjs-drizzle-crud-generator
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
nestjs-drizzle-crud-generator: common questions
Does the generated NestJS code include authentication?
No. The source says generated code does not include auth guards, so you add them based on your security requirements.
How does delete work in the generated service?
Delete uses soft delete, which writes a deletedAt timestamp. The source says hard deletes require manual modification.
Which libraries does the generated code depend on?
The source lists @nestjs/common, @nestjs/core, drizzle-orm, drizzle-zod, zod and nestjs-zod as required packages.
How do I install nestjs-drizzle-crud-generator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nestjs-drizzle-crud-generator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is nestjs-drizzle-crud-generator safe to use?
It scores 67 of 100. Grades: maintenance B, licence A, quality B. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to nestjs-drizzle-crud-generator?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
