getting-started
What it does
This skill shows how to build a data table in an Ember app with TanStack Table. It is for Ember developers who want to use the library for their table layouts.
When to use it
- ✓When you are building an Ember page that needs a table of records.
- ✓When you want to use Ember's template-tag component style for a table.
- ✓When your table data is stored in tracked properties and needs to update on screen.
Skill link
https://github.com/TanStack/table/blob/main/packages/ember-table/skills/getting-started/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I need a table in my Ember app that lists my users. How do I set up TanStack Table?”
5 new skills a week. 1 minute to read.
How it works
It gives an example component that defines columns, creates the table and loops over rows and cells in the template.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Load intent load @tanstack/table-core#core first for the headless model, stable inputs, and column inference.
Ember 5.8 or newer requires Embroider or ember-auto-import v2. Prefer .gts or .gjs template-tag components with Glint.
Setup
import Component from '@glimmer/component'
import { tracked } from '@glimmer/tracking'
import {
FlexRenderCell,
createColumnHelper,
tableFeatures,
useTable,
type Cell,
type Row,
} from '@tanstack/ember-table'
type Person = { id: string; name: string }
const features = tableFeatures({})
const columnHelper = createColumnHelper<typeof features, Person>()
const columns = columnHelper.columns([
columnHelper.accessor('name', { header: 'Name' }),
])
const initialData: Person[] = [{ id: '1', name: 'Ada' }]
const getRowId = (row: Person) => row.id
const getAllCells = (
row: Row<typeof features, Person>,
): Array<Cell<typeof features, Person>> => row.getAllCells()
export default class PeopleTable extends Component {
@tracked data = initialData
table = useTable(this, () => ({
features,
columns,
data: this.data,
getRowId,
}))
get rows() {
return this.table.getRowModel().rows
}
<template>
<table>
<tbody>
{{#each this.rows as |row|}}
<tr>
{{#each (getAllCells row) as |cell|}}
<td><FlexRenderCell @cell={{cell}} /></td>
{{/each}}
</tr>
{{/each}}
</tbody>
</table>
</template>
}
Construction and rendering
useTable takes an options thunk. Read tracked data inside it, and keep features, atoms, and columns stable. In a component, pass this as the owner to bind external-atom cleanup to the component lifecycle. The one-argument thunk form remains available for standalone tables.
Read Table APIs in template-consumed getters. Column, row, cell, and header prototype methods require their receiver, so use a getter or module helper such as getAllCells(row) rather than an extracted method. Wrap event calls the same way.
Use FlexRenderCell, FlexRenderHeader, and FlexRenderFooter for the matching object. Rendered components receive @ctx and optional @options through flexRenderComponent(Component, options).
With tableFeatures({}), render row.getAllCells(). Register columnVisibilityFeature before switching to row.getVisibleCells().
Read for the task
- When adding or configuring optional features, load
intent load @tanstack/table-core#table-featuresand read only references for the requested behavior. - For state ownership or reactive reads, read table-state.
- When tables share features, defaults, or reusable UI, read create-table-hook.
API discovery
Inspect node_modules/@tanstack/ember-table/declarations/index.d.ts, use-table.d.ts, signal.d.ts, and FlexRender.d.ts. Core feature APIs are in node_modules/@tanstack/table-core/dist/features/.
FAQ
Which Ember version does this need?
The skill says Ember 5.8 or newer needs Embroider or ember-auto-import v2.
Should I use .gts files?
The skill recommends template-tag components in .gts or .gjs files, with Glint for type checking.
Where does the table data come from?
The example stores the data in a tracked property, so changes to it appear in the table.
Details
Original description by the author
Create and render Table v9 with the ember adapter. Route reusable createTableHook defaults, and framework setup; use table-state for reactive ownership.
repo: TanStack/table
Popularity
- GitHub stars
- 29k
- Ranking position
- #9811
- License
- MIT
- Updated
- 10/21/2026
Comments
- …
More skills from this repository
getting-started
29kTeaches your agent how to build and show a data table with TanStack Table in Alpine.js, covering setup, reactive data and rendering rows.
table-state
29kTeaches your agent how to read and control table state in Alpine.js, such as the current page, so the screen updates when that state changes.
devtools
29kTeaches your agent how to register Angular tables with the TanStack Devtools panel, so developers can inspect each table while they build the app.
getting-started
29kTeaches your agent how to create and show a TanStack table in Angular, covering the injectTable setup, template rendering and updates to row data.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.