AI Unified Process plugin for the NestJS/Drizzle + Next.js stack
92
91%
Does it follow best practices?
Impact
97%
1.15xAverage score across 3 eval scenarios
Passed
No findings from the security scan
An online shop's NestJS + Drizzle backend has a fully implemented products feature at
apps/api/src/products/ — module, controller, service, repository, and DTOs. It serves
GET /api/products with an optional category query parameter, and it has no tests at all.
The use case it implements is specified at docs/use_cases/UC-010-browse-product-catalog.md,
including alternative flow A1 and business rule BR-010.
The project has Vitest configured for unit tests (vitest.config.ts, npm run test:unit) and a
test:e2e script, but no end-to-end test has ever actually been written or run — there is no e2e
test directory and no test infrastructure beyond the unit config. The application boots against
PostgreSQL and its global ValidationPipe is configured with whitelist,
forbidNonWhitelisted, and transform.
Write tests for UC-010 at both levels:
Make whatever configuration changes the tests need in order to run.