networking-and-server-state
Installation
SKILL.md
Networking and server state
The app talks to its server through one typed ApiClient port whose only transport calls fetch with
a deadline, checks every response against a valibot schema and never rejects; server data lives in
TanStack Query's cache, defined once per resource in src/api/, read in model hooks, retried only when
a retry can help, kept fresh by React Native focus and connectivity, and honest about offline. A
zero-dependency checker proves it.