
Nestjs Drizzle Crud Generator
Spins up complete NestJS CRUD modules with Drizzle ORM through a Python script that generates controllers, services, Zod-validated DTOs, database schemas, and Jest tests in one shot. You give it an entity name and a JSON array of fields, and it outputs the full module structure following a monorepo pattern. Solid time-saver when you're scaffolding database-backed features and don't want to write the same boilerplate for the hundredth time. Ships with soft delete support and pagination out of the box, though you'll need to layer on auth guards and any business logic yourself. The generated code compiles clean and includes test mocks, but treat it as a starting point rather than production-ready.
- skills.sh installs
- 3.8K
- GitHub stars
- 369
- last updated
- Aug 21, 2026
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill nestjs-drizzle-crud-generator --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Backend & APIs, Automation & Workflows, Databases
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 102- Aws Lambda Python Integration3.8K
- Aws Lambda Typescript Integration3.7K
- Sonarqube Mcp3.7K
- Better Auth3.7K
- Aws Lambda Java Integration3.7K
- Aws Lambda Php Integration3.7K
- Spring Boot Project Creator3.7K
- Docs Updater3.7K
- Notebooklm3.7K
- Github Issue Workflow3.6K
- Dynamodb Toolbox Patterns3.6K
- Memory Md Management3.6K
- Graalvm Native Image3.6K
- Adr Drafting3.6K
- Gemini3.6K
- Copilot Cli3.6K
- Codex3.5K
- Wiremock Standalone Docker3.5K
- Aws Cdk3.5K
- Learn3.5K
- Qwen Coder3.4K
- Bug Fix Brief3.1K
- Knowledge Graph1.9K
- Specs Code Cleanup1.8K