Shared Data-Access Library Contract
Installation
SKILL.md
Shared Data-Access Library Contract
Purpose
Use this skill to audit or design Angular shared data-access libraries in Nx monorepos.
A shared data-access library must behave as a reusable persistence or transport contract, not as a place for feature UI, router decisions, or app-specific orchestration. It should expose API clients, repository abstractions, persistence helpers, and stable data-fetching contracts without leaking presentation, feature, or domain composition concerns.
The core rule is simple:
Data-access libraries fetch, persist, cache, and adapt transport.
Feature libraries decide when to call them.
UI libraries render the result.
Domain libraries define stable business concepts.