Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

vue-db

Skill by TanStack

Vue 3 bindings for TanStack DB, a useLiveQuery composable that returns reactive live query results. It is for Vue developers who use TanStack DB collections in their components.

  • Score 81
  • 4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vue-db

Built from the published package, never by AI.

git clone --depth 1 https://github.com/TanStack/db /tmp/db && mkdir -p ~/.claude/skills && cp -r /tmp/db/packages/vue-db/skills/vue-db ~/.claude/skills/vue-db

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install vue-db in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers the Vue 3 bindings for TanStack DB, published as @tanstack/vue-db. The main piece is the useLiveQuery composable, which takes a query function built with the query builder, or a config object, and returns ComputedRef values such as data, state, collection, status, isLoading, isReady, isLoadingError, isCrashed, isSyncError and health. Reactive Vue refs used inside the query are passed in a dependency array so the query re-runs when they change. Queries can be made conditional by returning undefined or null, and existing collections can be passed by ref or getter.

The skill also explains hierarchical data. Using include() gives each child field as a live Collection that a subcomponent can subscribe to, while toArray() gives plain arrays that update when children change. The package re-exports everything from @tanstack/db. The skill is aimed at Vue 3 developers and builds on the db-core skill, which should be read first for collection setup and mutation patterns.

Written from the project's SKILL.md and checked against it.

What it can do

  • useLiveQuery composableRuns a live query from a query function or config object inside a Vue component.
  • ComputedRef return valuesReturns data, state, status, isLoading, isReady and other fields as ComputedRef values.
  • Reactive dependency arraysRe-runs the query when Vue refs listed in the dependency array change.
  • Conditional queriesSkips the query by returning undefined or null from the query function.
  • Pre-created collectionsAccepts an existing collection passed as a ref or getter.
  • Includes with subcomponentsPasses child Collection values from include() to subcomponents that run their own live query.
  • toArray for child resultsReturns child query results as plain arrays that update when child data changes.

What you need

  • Vue 3
  • @tanstack/vue-db package
  • db-core skill, which should be read first

Try asking

  • Write a Vue component that lists todos from a TanStack DB collection with useLiveQuery.
  • Add a reactive filter ref to my useLiveQuery call and include it in the dependency array.
  • Show project issues with include() in a Vue component using a child useLiveQuery.

Good to know

  • Reactive refs used in a query must be listed in the dependency array or the query will not re-run.
  • The skill assumes familiarity with db-core for collection setup and the query builder.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/vue-db/skills/vue-db/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to vue-db

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

vue-db: common questions

How does useLiveQuery handle reactive filters in Vue?

Pass the Vue refs used in the query as a dependency array. The query re-runs when those refs change.

How do I skip a query until a value is ready?

Return undefined or null from the query function. The source shows this pattern for conditional queries.

Does @tanstack/vue-db include the core TanStack DB API?

Yes. The source says @tanstack/vue-db re-exports everything from @tanstack/db.

How do I install vue-db?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is vue-db free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is vue-db safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to vue-db?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

vue-db Install

Add to stack

Loading.