Install any skill in seconds. Free to start, no credit card required.
Get Started Free →octanejs/tanstack-db
Octane bindings for TanStack DB. useLiveQuery hook with dependency arrays (8 overloads: query function, config object, pre-created collection, disabled state via returning undefined/null). useLiveSuspenseQuery for Octane Suspense with Error Boundaries (data always defined). useLiveInfiniteQuery for cursor-based pagination (pageSize, fetchNextPage, hasNextPage, isFetchingNextPage). usePacedMutations for debounced Octane state updates. Return shape: data, state, collection, status, isLoading, isRe
Passed 20 of 22 test cases with the skill, and 5 of 22 without it.
and 17 more in the full report
16 fixed4 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
I want to query projects and their nested issues into a single flat plain array structure where project.issues is a regular JavaScript array instead of a live Collection instance. Which helper from Octane's database library should be wrapped around the child query within select?
| Checked | Without skill | With skill |
|---|---|---|
| Wraps the child query in select with toArray(...). | Missed | Passed |
The instructions your model reads when the skill loads.
This skill builds on db-core. Read it first for collection setup, query builder, and mutation patterns.
import { useLiveQuery, eq, not } from '@octanejs/tanstack-db'
function TodoList() {
const { data: todos, isLoading } = useLiveQuery((q) =>
q
.from({ todo: todoCollection })
.where(({ todo }) => not(todo.completed))
.orderBy(({ todo }) => todo.created_at, 'asc'),
)
if (isLoading) return <div>Loading...</div>
return (
<ul>
{todos.map((todo) => (
<li key={todo.id}>{todo.text}</li>
))}
</ul>
)
}
@octanejs/tanstack-db re-exports everything from @tanstack/db. In Octane projects, import everything from @octanejs/tanstack-db.
// Query function with dependency array
const {
data,
state,
test cases passed, vs 5 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.