What problem does it solve? React SPAs often accumulate ad-hoc fetch calls, untyped network responses, and inconsistent error handling. This Skill enforces a single contract for the client-side data layer: one API client, Zod validation at the network boundary, TanStack Query for reads, precise cache invalidation for mutations, and normalized typed errors. ## Core Features & Use Cases - Typed API client: A drop-in shared/api/client.ts that handles base URLs, auth headers, timeouts, and response envelopes, throwing typed ApiError subclasses. - TanStack Query patterns: Query key factories, hook placement conventions, stale time defaults, prefetching, and Suspense support for reads. - Mutation and cache management: Precise invalidation rules, optimistic updates with rollback, and direct cache patches. - Zod boundary validation: Schemas for entities, forms, URL params, and localStorage so no network value is ever type-asserted. - Use Case: When migrating a component that fetches data in useEffect with manual loading state, this Skill converts it to a validated entity fetch function wrapped in a query hook with proper error branching. ## Quick Start Ask the AI to refactor a component that fetches data with useEffect into a TanStack Query hook with Zod validation following the react-data standard.