population

Installation
SKILL.md

Population Skill

Installation: Add the core population package:

  • pnpm add @efesto-cloud/population

Covers the DB-agnostic population type system: the Populate<T> spec format, NormalizedPopulate<T>, normalizePopulate(), and the per-entity Shape type. These concepts are shared by all DB-specific population skills.

Next step: Once the Shape type is designed, install the DB-specific skill:

  • MongoDB: mongodb-population skill
  • Prisma: prisma-population skill

The Shape Type

A Shape is a pure TypeScript type that declares which fields of an entity can be populated (eager-loaded). It lives alongside the repository at src/repo/shape/FooShape.ts.

Installs
3
First Seen
Apr 29, 2026
population — efesto-cloud/lib