services-layer
Installation
SKILL.md
Services Layer
Ground service guidance in apps/whispering/src/lib/services, its consumers,
and the #platform/* mappings in apps/whispering/package.json. Historical
examples and neighboring skills are leads, not current architecture.
Product Sentence
The service layer owns UI-free capabilities; callers inject app policy through explicit inputs, fallible operations return Results, and platform selection has one build-time owner.
Boundary
Services may perform IO and may own service-local runtime state. They are not required to be pure functions. They must remain free of UI and app-owned policy: