column-definitions
OfficialType-safe columns for TanStack Table
Software Engineering#typescript#tanstack table#row identity#column definitions#accessorKey#accessorFn#grouped columns
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the problem of defining TanStack Table v9 column definitions correctly and type-safely so your table features (sorting, filtering, grouping, aggregation, selection) behave as expected.
Core Features & Use Cases
- Typed column definitions with
createColumnHelper: Define columns usingcreateColumnHelper<typeof _features, TData>(), coveringcolumnHelper.accessor,columnHelper.display,columnHelper.group, andcolumnHelper.columns. - Correct column types and accessor patterns: Use
ColumnDefvariants (AccessorKeyColumnDef,AccessorFnColumnDef,DisplayColumnDef,GroupColumnDef) and understand when to preferaccessorKeyvsaccessorFn. - Stable identity and renderers: Apply required
idrules (especially foraccessorFn) and implement stable row identity viagetRowId, while definingheader,cell,footer, andaggregatedCellrenderers (includingflexRender-compatible forms).
Quick Start
Tell your AI: “Generate a TanStack Table v9 column helper setup for my Person row type using accessorKey for simple fields and accessorFn for derived values, ensuring required id values, typed renderers, and a getRowId implementation for stable row identity.”
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: column-definitions Download link: https://github.com/TanStack/table/archive/main.zip#column-definitions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.