$npx skillfedfor your agent

tanstack-table

TanStack Table v8 skill provides production templates for building headless data tables optimized for server-side operations and Cloudflare Workers. Covers pagination, filtering, sorting, column controls, virtualization for 10k+ rows, and TanStack Query integration with error prevention for common state management pitfalls.

TanStack Table builds headless, production-ready data tables with server-side pagination, filtering, sorting, and virtualization for large datasets.

AI-generated summary based on this skill's SKILL.md

196 29 MITupdated by secondsky

Decision gist · record as of 2026-07-25

TanStack Table builds headless, production-ready data tables with server-side pagination, filtering, sorting, and virtualization for large datasets. TanStack Table v8 skill provides production templates for building headless data tables optimized for server-side operations and Cloudflare Workers. Covers pagination, filtering, sorting, column controls, virtualization for 10k+ rows, and TanStack Query integration with error prevention for common state management pitfalls.

manual: git clone https://github.com/secondsky/claude-skills → cp -r claude-skills/plugins/tanstack-table/skills/tanstack-table ~/.claude/skills/tanstack-table
plugins/tanstack-table/skills/tanstack-table/SKILL.md · version 2a19a5cc

Use it when

  • TanStack Table coordinates with Cloudflare Workers as your API layer and D1 as your database.
  • TanStack Table supports virtualization through libraries like TanStack Virtual, which renders only visible rows.

Verify before relying

Read SKILL.md below before installing (15 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

secondsky/claude-skills/tanstack-table · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to build a data table with pagination using TanStack Table?

TanStack Table enables server-side pagination through state management of page index and page size. Configure pagination state in your table instance, sync it with API calls via TanStack Query, and update row data based on server responses. TanStack Table handles the UI logic while you control the backend pagination parameters, allowing efficient handling of large datasets without loading all rows client-side.

How does TanStack Table integrate with Cloudflare Workers and D1?

TanStack Table coordinates with Cloudflare Workers as your API layer and D1 as your database. Workers handle pagination, filtering, and sorting queries against D1, returning paginated results. TanStack Table manages the client-side state and UI, while TanStack Query fetches data from your Worker endpoints. This architecture keeps heavy operations server-side and maintains a lightweight, responsive frontend.

What's the best way to optimize table rendering for large datasets?

TanStack Table supports virtualization through libraries like TanStack Virtual, which renders only visible rows. For tables with 10,000+ rows, virtualization dramatically improves performance by reducing DOM nodes. Combine this with server-side pagination to fetch manageable chunks, lazy-load columns, and memoize row components to prevent unnecessary re-renders and maintain smooth scrolling.

How do I sync TanStack Table state with TanStack Query?

TanStack Table provides hooks and state management that coordinate with TanStack Query's caching and fetching. Store pagination, sorting, and filtering state in TanStack Table, pass these as dependencies to your Query key, and let Query handle data fetching. When table state changes, Query automatically refetches with new parameters, keeping your table synchronized with server data.

What common TanStack Table errors should I prevent?

TanStack Table skill covers preventing infinite re-renders caused by unstable state references, state mismatches between client and server, and improper dependency arrays in effects. Use proper memoization, stable callback references, and careful Query key construction. Avoid recreating table instances on every render and ensure sorting/filtering state matches your API contract to maintain consistency.

Can TanStack Table handle column pinning and visibility controls?

TanStack Table provides built-in column visibility and pinning state management. Configure which columns are visible, frozen, or hidden through table options. Persist these preferences to localStorage or your database for user-specific layouts. TanStack Table handles the rendering logic; you control the UI for toggling columns, making it easy to build customizable data tables with TypeScript type safety.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

TanStack Table Skill

Build production-ready, headless data tables with TanStack Table v8, optimized for server-side patterns and Cloudflare Workers integration.


When to Use This Skill

**Auto-triggers

(truncated - see the full file via the links below)

File tree — 15 files
plugins/tanstack-table/skills/tanstack-table/SKILL.md
plugins/tanstack-table/skills/tanstack-table/references/cloudflare-d1-examples.md
plugins/tanstack-table/skills/tanstack-table/references/common-errors.md
plugins/tanstack-table/skills/tanstack-table/references/feature-controls.md
plugins/tanstack-table/skills/tanstack-table/references/performance-virtualization.md
plugins/tanstack-table/skills/tanstack-table/references/query-integration.md
plugins/tanstack-table/skills/tanstack-table/references/server-side-patterns.md
plugins/tanstack-table/skills/tanstack-table/templates/basic-client-table.tsx
plugins/tanstack-table/skills/tanstack-table/templates/column-configuration.tsx
plugins/tanstack-table/skills/tanstack-table/templates/controlled-table-state.tsx
plugins/tanstack-table/skills/tanstack-table/templates/d1-database-example.tsx
plugins/tanstack-table/skills/tanstack-table/templates/package.json
plugins/tanstack-table/skills/tanstack-table/templates/server-paginated-table.tsx
plugins/tanstack-table/skills/tanstack-table/templates/shadcn-styled-table.tsx
plugins/tanstack-table/skills/tanstack-table/templates/virtualized-large-dataset.tsx

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Build production data tables with server-side pagination, filtering, and sorting”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Tanstack Table
by oakoss · oakoss/agent-skills

Tanstack Table is a headless library that handles table state management, sorting, filtering, pagination, and row operations without prescribing UI. It supports server-side data fetching, large dataset virtualization, column pinning, row expanding, and grouping, with built-in patterns to avoid common pitfalls like infinite re-renders and state mismatches.

no license declared → metadata onlyupdated Mar 2026
★ 13repo stars
tanstack-table
by Casper-Studios · Casper-Studios/casper-marketplace

This skill teaches the meta field pattern for TanStack Table, enabling you to hoist column definitions outside components and pass callbacks through table options instead of closures. By separating stable column structure from dynamic behavior, you avoid unnecessary re-renders when callbacks change—ideal for data tables with sorting, filtering, or inline editing.

MITupdated Jul 2026
★ 11repo stars
Tanstack Integration
by Dicklesworthstone · Dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations

This skill guides you through selective adoption of TanStack libraries—Query for server state, Table for complex grids, Form for intricate validation, Router for type-safe navigation, and Virtual for large lists. Rather than forcing every feature through TanStack patterns, you build your app with vanilla React first, then run analysis prompts to identify genuine opportunities for improvement. The workflow emphasizes measuring actual benefits before integrating each library.

no license declared → metadata onlyupdated Jun 2026
★ 69repo stars
tanstack-query
by bobmatnyc · bobmatnyc/claude-mpm-skills

TanStack Query handles server-state fetching and caching in React applications, automating data synchronization and eliminating manual boilerplate. It provides built-in background refetching, optimistic mutations, intelligent cache invalidation, and pagination support for complex data workflows.

MITupdated Jul 2026
★ 62repo stars
tanstack-query
by tanstack-skills · tanstack-skills/tanstack-skills

TanStack Query provides asynchronous state management for server data across React, Vue, Solid, Svelte, and Angular. It handles caching, background synchronization, pagination, infinite scrolling, and optimistic updates automatically. Use queries for data fetching and mutations for server modifications, with lifecycle hooks for managing side effects and rollback scenarios.

MITupdated Jan 2026
★ 30repo stars
Tanstack Query
by oakoss · oakoss/agent-skills

TanStack Query is an async state manager that handles server data fetching, caching, and synchronization in React applications. It automates cache invalidation, deduplication, background updates, and stale data management—you supply a queryFn that returns a Promise, and the library handles the rest. Use it for infinite scrolling, offline-first apps, complex cache strategies, and hybrid server/client architectures.

no license declared → metadata onlyupdated Mar 2026
★ 13repo stars
Tags
headless-ui-componentserver-driven-renderingvirtualization-performancestate-synchronizationapi-driven-paginationtype-safe-columnscloudflare-integrationquery-coordinationlarge-scale-datacontrolled-state-management