What problem does it solve? Wiring a frontend to an Appflare backend requires knowing how to instantiate the generated client, manage bearer tokens, call typed query and mutation routes, and handle realtime updates. This Skill provides the exact patterns, code snippets, and gotchas so an AI agent can implement client-side data fetching, authentication, and storage correctly on the first attempt. ## Core Features & Use Cases - Generated Client Setup: Create a single shared Appflare client with endpoint, wsEndpoint, and bearer-token storage callbacks for web or React Native. - Typed Data Fetching: Call appflare.queries.* and appflare.mutations.* with .run() returning { data, error }, or use useQuery, useMutation, and useInfiniteQuery hooks built on TanStack Query. - Auth & Realtime: Implement Better Auth sign-up/sign-in flows with bearer tokens, role-aware UI, and realtime subscriptions that push changes into the query cache. - Use Case: A developer building a React task app uses this Skill to set up the shared client, wrap the app in QueryClientProvider, fetch tasks with realtime updates, and add email/password login. ## Quick Start Use the appflare-client skill to create a shared Appflare client module and fetch data from my backend with React hooks.