
Nestjs Drizzle Crud Generator
Generates NestJS CRUD modules with Drizzle ORM, Zod-validated DTOs, and Jest tests from a field list.
- skills.sh installs
- 3.8K
- GitHub stars
- 372
- last updated
- Aug 21, 2026
What it does
- Covers feature modules, controllers, services, DTOs, Drizzle schemas, and unit tests for a single entity, generated by
generate_crud.py - Includes CRUD endpoints for POST, GET, PATCH, and DELETE, with pagination, filtering, and soft delete via
deletedAt - Enforces soft delete only, so hard deletes need manual changes, and generated code ships without auth guards
- Designed for NestJS projects in a monorepo layout that use Drizzle,
drizzle-zod, andnestjs-zod
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill nestjs-drizzle-crud-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
NestJS Drizzle CRUD Generator
Overview
Automatically generates complete CRUD modules for NestJS applications using Drizzle ORM. Creates all necessary files following the zaccheroni-monorepo patterns: feature modules, controllers, services, Zod-validated DTOs, Drizzle schemas, and Jest unit tests.
When to Use
- Creating new entity modules with full CRUD endpoints
- Building database-backed features in NestJS
- Generating type-safe DTOs with Zod validation
- Adding services with Drizzle ORM queries
- Creating unit tests with mocked database
Instructions
Step 1: Define Entity Fields
Gather entity definition:
- Entity name (e.g.,
user,product,order) - List of fields with types (see
references/field-types.mdfor supported types) - Required fields vs optional fields with defaults
Step 2: Run the Generator
python scripts/generate_crud.py --feature <name> --fields '<json-array>' --output <path>
Step 3: Verify Generated Files
Check that all expected files were created:
ls -la libs/server/<feature-name>/src/lib/
Expected structure:
controllers/
services/
dto/
schema/
<feature>-feature.module.ts
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Backend & APIs, Databases
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 95- Aws Lambda Python Integration3.8K
- Aws Lambda Typescript Integration3.8K
- Sonarqube Mcp3.8K
- Better Auth3.8K
- Aws Lambda Java Integration3.7K
- Aws Lambda Php Integration3.7K
- Spring Boot Project Creator3.7K
- Docs Updater3.7K
- Notebooklm3.7K
- Github Issue Workflow3.7K
- Dynamodb Toolbox Patterns3.7K
- Memory Md Management3.7K
- Graalvm Native Image3.7K
- Adr Drafting3.6K
- Gemini3.6K
- Copilot Cli3.6K
- Codex3.6K
- Wiremock Standalone Docker3.6K
- Aws Cdk3.5K
- Learn3.5K
- Qwen Coder3.5K
- Bug Fix Brief3.2K
- Shadcn Ui22.8K
- Tailwind Css Patterns18.1K
Similar to Nestjs Drizzle Crud Generator
More Backend & APIs
nestjs-best-practicesgiuseppe-trisciuoglio/developer-kit4K installsOpinionated NestJS guidance covering modules, DI scoping, exception filters, DTO validation, and Drizzle ORM use.
api-contract-normalizerpatricio0312rev/skills294 installsGenerates typed Express and NestJS CRUD endpoints with Zod or Joi validation and consistent error responses.
nestjs-expertjeffallan/claude-skills6.3K installsEnterprise NestJS specialist that scaffolds modules, controllers, services, DTOs, and guards with typed errors.
better-authgiuseppe-trisciuoglio/developer-kit3.8K installsType-safe Better Auth integration guide for NestJS, Next.js App Router, and Drizzle ORM with PostgreSQL.
api-endpoint-buildersickn33/agentic-awesome-skills150 installsScaffold REST API endpoints with validation, auth checks, error handling, and docs guidance.
nestjs-patternsaffaan-m/ecc6.6K installsArchitecture patterns for NestJS modules, DTO validation, guards, and production TypeScript backends.