What problem does it solve? Managing client-side state with TanStack Query alone requires manual optimistic update logic, rollback handlers, and cache invalidation for every mutation. This Skill provides guidance for building a reactive client-side data layer with normalized collections, live queries, and automatic optimistic mutations. ## Core Features & Use Cases - Collections with Sync Modes: Create normalized data stores backed by TanStack Query with eager, on-demand, or progressive sync strategies for different dataset sizes. - Live Queries: Build reactive SQL-like queries with filtering, joins, ordering, and limits that update automatically when underlying data changes. - Automatic Optimistic Mutations: Insert, update, and delete operations instantly update all live queries and roll back automatically on server failure. - Use Case: A team building a collaborative project dashboard uses on-demand collections so live queries automatically generate optimized API requests with filters and pagination, while mutations update the UI instantly without manual cache management. ## Quick Start Ask the AI to set up a TanStack DB collection backed by TanStack Query with a live query and optimistic insert mutation for your data model.