prisma-population
Prisma Population Skill
Installation: If not already installed, add the required packages:
pnpm add @efesto-cloud/population(forPopulatetype andnormalizePopulatehelper)pnpm add @efesto-cloud/prisma-population(forBasePrismaPopulatorandPrismaInclude)
Adds Prisma population support — typed eager-loading of related records via Prisma include —
to an existing entity. The entity, its DTO, and repository are assumed to already exist.
This skill only patches them where needed and writes the population infrastructure.
Scope: Shape type, Populator, plus targeted patches to entity, DTO, mapper, and repository interface/implementation.
Does not: create entities or repositories from scratch, write use cases, or manage DI container wiring.
Phase 0 — Clarify Intent
More from efesto-cloud/lib
usecase
>
3observer
Use when writing or reviewing Observable code from the @efesto-cloud/observable package.
3entity
Create or modify domain entities using the @efesto-cloud/entity package. Use this skill whenever the user asks to add a new entity, update an existing entity, add properties or methods to an entity, or work on the entity/dto layer. Trigger when the user says things like "create a Foo entity", "add a field to Bar", "I need a new domain object", or "add entity X". Also trigger for DTO creation or modification.
3persistence
>
3type-enum-dict
|
3monad-maybe
Use when writing or reviewing code that returns Maybe<T> from the @efesto-cloud/maybe package.
3