Skip to content
Source
Sign inSign up
TanStack/db

Skills

A skill teaches a coding agent how to do one job. See the skills this repository uses and offers, keep them up to date, and find new ones.

This repository uses

The skills that agents load when they work here. The forge and the src CLI copy each added skill to .agents/skills/ and record its source and version in .agents/skills.lock.json.

Other skills in the agent folders

2

These skills are not in the lock file, so nothing checks them for updates.

  • oracle-authoring

    .agents/skills/oracle-authoring/SKILL.md

    Discover and articulate subsystem laws, then create or edit independent oracle tests and generated histories in TanStack DB. Use for new oracle coverage, oracle repairs, or changes to a reference model.

  • oracle-review

    .agents/skills/oracle-review/SKILL.md

    Review TanStack DB oracles and generated-history tests by challenging enforcement, model independence, law formulation, law suitability, and relationships among laws. Use for oracle reviews and proposed oracle contract changes.

This repository offers

Skills that help people use this repository. A folder with a SKILL.md outside the agent folders, for example skills/<name>/SKILL.md, is offered. Install one in your project with its command.
  • packages/angular-db/skills/angular-db

    Angular bindings for TanStack DB. injectLiveQuery inject function with Angular signals (Signal<T>) for all return values. Reactive params pattern ({ params: () => T, query: ({ params, q }) => QueryBuilder }) for dynamic queries. Must be called in injection context. Angular 17+ control flow (@if, @for) and signal inputs supported. Import from @tanstack/angular-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/angular-db
  • packages/db/skills/db-core

    TanStack DB core concepts: createCollection with queryCollectionOptions, electricCollectionOptions, powerSyncCollectionOptions, rxdbCollectionOptions, trailBaseCollectionOptions, localOnlyCollectionOptions. Live queries via query builder (from, where, join, select, groupBy, orderBy, limit). Optimistic mutations with draft proxy (collection.insert, collection.update, collection.delete). createOptimisticAction, createTransaction, createPacedMutations. Entry point for all TanStack DB skills.

    src skill install TanStack/db/db-core
  • packages/db/skills/meta-framework

    Integrating TanStack DB with meta-frameworks (TanStack Start, Next.js, Remix, Nuxt, SvelteKit). Client-side only: SSR is NOT supported — routes must disable SSR. Preloading eager collections in route loaders with collection.preload(). On-demand Query Collections require preloading the live query because source collection preload is a no-op. Multiple collection preloading with Promise.all. Framework-specific loader APIs.

    src skill install TanStack/db/meta-framework
  • packages/offline-transactions/skills/offline

    Offline transaction support for TanStack DB. OfflineExecutor orchestrates persistent outbox (IndexedDB/localStorage), leader election (WebLocks/ BroadcastChannel), retry with backoff, and connectivity detection. createOfflineTransaction/createOfflineAction wrap TanStack DB primitives with offline persistence. Idempotency keys for at-least-once delivery. Graceful degradation to online-only mode when storage unavailable. React Native support via separate entry point.

    src skill install TanStack/db/offline
  • packages/preact-db/skills/preact-db

    Preact bindings for TanStack DB. useLiveQuery hook with query callbacks, { query, queryKey } config objects, or pre-created collections; identity is derived from query IR, with no dependency arrays. Conditional queries via returning undefined/null. useLiveInfiniteQuery for paging an ordered live query. Functional variants (fn.where) require queryKey. Import from @tanstack/preact-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/preact-db
  • packages/react-db/skills/react-db

    React bindings for TanStack DB. Prefer useLiveQuery({ query }) with derived structured query identity. Provide queryKey only for opaque functional query variants or very hot render paths. Dependency arrays are legacy and warn before 1.0 removal. useLiveSuspenseQuery for React Suspense with Error Boundaries (data always defined). useLiveInfiniteQuery for cursor-based pagination (pageSize, fetchNextPage, hasNextPage, isFetchingNextPage). usePacedMutations for debounced React state updates. Return shape: data, state, collection, status, isLoading, isReady, isLoadingError, isCrashed, isSyncError, health. Import from @tanstack/react-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/react-db
  • packages/solid-db/skills/solid-db

    SolidJS bindings for TanStack DB. useLiveQuery returns an Accessor that doubles as data access (call as function) with state/status properties. Fine-grained reactivity: signal reads MUST happen inside the query function for tracking. Config passed as Accessor (() => config). Built-in Suspense support via createResource and errors through Solid ErrorBoundary. ReactiveMap for state. Import from @tanstack/solid-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/solid-db
  • packages/svelte-db/skills/svelte-db

    Svelte 5 bindings for TanStack DB. useLiveQuery with Svelte 5 runes ($state, $derived, $effect). Dependency arrays use getter functions (() => value) for reactive props. Direct destructuring breaks reactivity — use dot notation or wrap with $derived. Conditional queries via returning undefined/null. Import from @tanstack/svelte-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/svelte-db
  • packages/vue-db/skills/vue-db

    Vue 3 bindings for TanStack DB. useLiveQuery composable with MaybeRefOrGetter query functions, ComputedRef return values for all fields (data, state, collection, status, isLoading, isReady, isLoadingError, isCrashed, isSyncError, health). isLoadingError means the first load failed; isCrashed means status 'crashed'; isSyncError means the data is shown but a sync problem is in the health tree. Dependency arrays with Vue refs. Conditional queries via returning undefined/null. Pre-created collection support via ref or getter. Import from @tanstack/vue-db (re-exports all of @tanstack/db).

    src skill install TanStack/db/vue-db

Find a skill

Describe what your agent should do. The search finds skills by name, description and tags.