TanStack / TanStack/db

Skill Feedback: meta-framework (good)

Open
#1,332 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.9k
Forks
266
Avg merge
1d 4h
Merged PRs (30d)
55

Description

Skill Feedback: meta-framework

Package: @tanstack/db
Skill version: 0.5.30
Rating: good

Task

Integrate TanStack DB collections (via Durable Streams StreamDB) into a TanStack Start route with reactive queries.

What Worked

  • The meta-framework skill clearly documents the ssr: false requirement
  • useLiveQuery with the query builder API worked correctly once the Collection deduplication issue was resolved
  • The collection.preload() pattern in route loaders worked well
  • react-db skill's examples for useLiveQuery with dependency arrays were accurate

What Failed

Nothing in the TanStack DB skills themselves failed. The issues were in the upstream @durable-streams/state package resolution.

Missing

  • Cross-library Collection deduplication guidance — When third-party packages (like @durable-streams/state) create Collections using their own resolved @tanstack/db, the instanceof check in useLiveQuery fails. The meta-framework or collection-setup skill could mention this pitfall and the Vite resolve.alias workaround for packages that don't properly declare @tanstack/db as a peerDependency.

Self-Corrections

  1. Added ssr: false after SSR error — should have loaded meta-framework skill before writing the route

User Comments

  • The agent should have loaded the meta-framework skill proactively before writing route code, since the intent-skills mapping in CLAUDE.md pointed to it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the meta-framework and collection-setup skill guidance, along with the intent-skills mapping in CLAUDE.md. Reproduce the cross-library Collection setup with @durable-streams/state and Vite's resolve.alias, then document the instanceof failure, the @tanstack/db peerDependency requirement, and the workaround so the guidance covers the ssr: false and useLiveQuery patterns.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.