What problem does it solve?
Converts an approved NestJS backend plan into working backend implementation while preserving SDLC conventions, safety gates, and verification steps so acceptance criteria don’t silently drift.
Core Features & Use Cases
- Plan task orchestration: Walks the approved plan task-by-task in order, applying changes only within the plan scope.
- TDD-first code writing: Writes failing unit/e2e tests before production edits, then re-runs tests to confirm “GREEN”.
- Baseline convention enforcement: Applies NestJS baseline patterns (entities extend BaseEntity, services extend BaseService, guard order, DTO + Zod validation contracts, bilingual error messages, transactions, migrations).
- Mandatory verification tail-call chain: Ensures e2e tests, code review, repair-loop iterations, comment gating, acceptance verification, auto-docs, task tracking, and optional memories.
Quick Start
Run nestjs-write-code after sdcorejs-review-plan approves a NestJS plan to generate the backend code following the plan tasks and mandatory verification steps.