Skip to content

ai-unified-process/aiup-nestjs

v3.1.1

AI Unified Process service and API layers - NestJS services, REST controllers, and their tests

nest-service

Implements the service layer of a use case (UC-XXX) in a NestJS application: @Injectable service classes in the feature folder, the business rules with UC-XXX BR-YYY markers, domain errors for every rejection the API or UI turns into a message, and writes that span repositories in one transaction through the repository. Calls the persistence layer only through the repository its Handover names, imports no Drizzle and no HTTP type, and detects the API app root and ESM/NodeNext, where every relative import ends in .js. Use when the user asks to "implement the service layer", "write the business logic", "enforce the business rules", "create a NestJS service", or mentions providers, @Injectable services, domain errors, or a feature module's service in a project that combines layer plugins. Normally run by /use-case-implement after the persistence layer; it can also be run directly. The controller is /nest-rest.

Read SKILL.md at the source

Pinned to revision 648476b42261, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.