Guides React developers using TanStack DB for local-first databases with live queries, optimistic mutations, and schema validation. Covers hooks, collections, transactions, and community integrations like Dexie.js and PGLite.
Ships in frontend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
TanStack DB is a local-first database and reactivity layer. For React applications, it provides useLiveQuery and optimistic mutations with sub-millisecond updates powered by d2ts.
TInput must be a superset of TOutput for updates to work correctly.useEffect. Include all external values. Omit to run on every render, or use [] for static queries.undefined or null from the callback.await collection.preload()), then consume it with useLiveQuery in the component.For deep dives into specific areas, consult the following references:
useLiveSuspenseQuery, and query composition patterns.QueryCollection writes.DuplicateKeyError, SchemaValidationError) and transaction states.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tanstack-db, local-first, live-queries, optimistic-mutations, dexie, pglite
/frontend:tanstack-dbfrom frontend
npx claudepluginhub fellipeutaka/leon --plugin frontend34 skills in this plugin
/ai-sdkAnswer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat"./baseline-uiQuickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass./Other plugins' skills for the same job