About tanstack-db
TanStack DB is a guidance skill for working with reactive collections, live queries, mutations, persistence, and sync engines. It routes tasks to framework-specific references and emphasizes checking installed package versions.
Key features
- 01Collection and schema guidance
- 02Reactive live-query patterns
- 03Optimistic mutations and transactions
- 04Sync, persistence, and offline guidance
- 05React, Vue, Solid, Svelte, and Angular routing
Use cases
- 01Choosing the right framework adapter
- 02Building reactive data queries
- 03Implementing optimistic updates
- 04Checking version-matched sync and persistence APIs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ lukasa1993/ tanstack-skills-extracted --skill tanstack-dbAfter installing, type/tanstack-dbin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
.tanstack-product-skill.jsonLICENSEagents/openai.yamllicenses/dd5fd3a2e8ca256521b80e46d7fb0aa953c842ef1420fb31f4b1f08ae31d82e7.txtreferences/assets/tanstack-db-core-collection-setup/references/electric-adapter.mdlocal-adapters.mdpowersync-adapter.mdquery-adapter.mdrxdb-adapter.mdschema-patterns.mdtrailbase-adapter.mdreferences/assets/tanstack-db-core-live-queries/references/operators.mdreferences/assets/tanstack-db-core-mutations-optimistic/references/transaction-api.mdreferences/assets/tanstack-db-playbook-tanstack-db-collections/references/custom-collections.mdelectric-collection.mdlocal-collections.mdquery-collection.mdsync-modes.mdreferences/assets/tanstack-db-playbook-tanstack-db-electric/references/debugging.mdproxy-setup.mdshapes.mdtxid-matching.mdreferences/assets/tanstack-db-playbook-tanstack-db-live-queries/references/aggregations.mdfunctional-variants.mdjoins.mdperformance.mdquery-builder.mdsubqueries.mdreferences/assets/tanstack-db-playbook-tanstack-db-mutations/references/error-handling.mdhandlers.mdDetails
From the project READMETanStack DB
Reactive collection guidance for live queries, optimistic mutations, persistence, sync engines, and framework adapters.
Confirm package versions before using adapter or sync APIs.
Workflow
- Inspect installed TanStack packages and exact versions.
- Read the foundation reference and the adapter reference for the detected framework.
- Topic references are indexes. Choose one guide or section for the task; follow its prerequisite links only when needed.
- Prefer installed package types and version-matched source guidance over memory.
- Preserve headless/core behavior when translating examples to a framework adapter.
Task routing
- Foundations — DB architecture and meta-framework routing.
- Collections and schemas — Collection setup, collection types, and schemas.
- Live queries — Reactive live-query construction and operators.
- Mutations — Optimistic mutation and transaction patterns.
- Sync and persistence — Persistence, custom adapters, offline transactions, and Electric.
- React adapter — React DB adapter guidance.
- Vue adapter — Vue DB adapter guidance.
- Solid adapter — Solid DB adapter guidance.
- Svelte adapter — Svelte DB adapter guidance.
- Angular adapter — Angular DB adapter guidance.
Framework routing
- React — detect
@tanstack/react-db. Read React adapter. - Vue — detect
@tanstack/vue-db. Read Vue adapter. - Solid — detect
@tanstack/solid-db. Read Solid adapter. - Svelte — detect
@tanstack/svelte-db. Read Svelte adapter. - Angular — detect
@tanstack/angular-db. Read Angular adapter.
Product boundaries
Use these separate product skills when the task crosses their boundary: tanstack-query, tanstack-start.
See source provenance for exact upstream inputs and deduplication records.
Comments
Markdown supported