api-manager-effects-and-populators
Installation
SKILL.md
Rule
Effects — deferred, declarative side-effects
An Effect is a zero-argument async closure — nothing happens until it's
actually called. This lets a mutation assemble its list of side-effects
declaratively and fire them all together, typically right after a DB
transaction commits:
// src/lib/managers/base/effects.ts
export type Effect = () => Promise<void>;