table-features
하는 일
이 스킬은 테이블 기능을 켜고, 기대와 다르게 작동할 때 고치는 방법을 설명합니다. 라이브러리로 만든 테이블에 정렬, 필터링, 페이지네이션을 넣으려는 개발자를 위한 것입니다.
사용하는 경우
- ✓TanStack 테이블에 정렬, 필터링, 페이지네이션, 선택 기능을 추가해야 할 때.
- ✓헤더를 클릭해도 정렬이 되지 않는 것처럼 기능이 작동하지 않아서 등록 상태를 확인해야 할 때.
- ✓행 모델이나 정렬 함수에 어떤 기능이 필요한지 알고 싶을 때.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/table-core/skills/table-features/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“TanStack 테이블에 정렬을 추가했는데 헤더를 클릭해도 아무 일도 없어요. 어떻게 고치나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
기능 목록에 각 기능과 행 모델을 등록하는 방법을 보여줍니다. 테이블은 등록한 기능의 동작만 갖기 때문이며, 각 기능의 전제 조건도 설명합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Feature architecture
Read core first for the headless model and stable inputs.
Register the behavior the table uses
<!-- skill-snippet:check -->import {
createSortedRowModel,
rowSortingFeature,
sortFn_alphanumeric,
tableFeatures,
} from '@tanstack/table-core'
export const features = tableFeatures({
rowSortingFeature,
sortedRowModel: createSortedRowModel(),
sortFns: { alphanumeric: sortFn_alphanumeric },
})
Pass the stable features object to the installed adapter constructor. The concrete registry determines optional APIs, options, state slices, and their types. The core row model is automatic; a custom core model uses coreRowModel.
Registration rules
- Register each prerequisite feature before its dependent slot in the same
tableFeaturescall. A processing factory alone cannot install that feature's APIs or state. - Row-model factories use
create*RowModel()feature slots. Their names and prerequisites are in the feature reference. They take no function-registry arguments. filterFns,sortFns, andaggregationFnsare feature slots, not table options. They requirecolumnFilteringFeature,rowSortingFeature, androwAggregationFeature, respectively.- Import individual built-ins such as
sortFn_alphanumericand register their conventional keys. Those keys become typed string names;'auto'can resolve only registered functions. Pass a function directly when a column needs no named registry entry. Full registry exports bundle every built-in. columnResizingFeaturerequirescolumnSizingFeature;globalFilteringFeaturerequirescolumnFilteringFeature. Check installedFeatureSlotPrereqsfor other dependencies.- Use explicit features for normal construction.
stockFeaturesis a deliberate all-features convenience or temporary migration aid, with the corresponding bundle cost.
A missing API can mean missing registration. Check the concrete feature object before casting, recreating an API, or assuming v9 removed it.
Select references by the requested change
Read only references needed for the requested behavior and its dependencies, including features being added. An unrelated feature already registered on the table does not make its reference necessary.
| Task involves | Read |
|---|---|
| Manual modes, server data, mixed row-processing stages, or dataset scope | Client/server ownership |
| Totals, multiple aggregations, grouped aggregate values, or custom aggregate definitions | Aggregation |
| Facet option counts, numeric ranges, or incomplete server facets | Column faceting |
| Per-column filters, filter functions, metadata, or nested-row filtering | Column filtering |
| Group rows, placeholders, or grouping with expansion/pagination | Grouping |
| Drag ordering or leaf-column order differing from state | Column ordering |
| Sticky column regions, logical start/end, or pinning gaps | Column pinning |
| Drag resize handles, gesture events, or resize performance | Column resizing |
| Numeric widths, min/max limits, or model/CSS size mismatch | Column sizing |
| Hidden columns, visibility-aware rendering, or hiding controls | Column visibility |
| A search across columns or global-filter eligibility | Global filtering |
| Hierarchical subrows, detail panels, or expansion/page interaction | Expanding |
| Page slicing, counts, navigation, or page-index resets |
자주 묻는 질문
코드를 작성했는데도 기능이 작동하지 않는 이유는 무엇인가요?
기능은 테이블의 기능 목록에 등록되어야 하며, 일부 기능은 다른 기능이 먼저 등록되어야 한다고 이 스킬은 설명합니다.
정렬 함수와 필터 함수는 어디에 두나요?
일반 테이블 옵션이 아니라 기능 목록의 기능 슬롯에 둔다고 설명합니다.
모든 기능 참고 자료를 읽어야 하나요?
아닙니다. 작업에 맞는 참고 자료만 읽으라고 권장합니다.
상세 정보
작성자의 원본 설명
'Add or debug Table v9 features: registration, row-model slots, prerequisites, sorting, filtering, pagination, selection, spanning, and column layout. Read only task-relevant feature references.'
repo: TanStack/table
인기도
- GitHub 스타
- 29k
- 순위
- #9837
- 라이선스
- MIT
- 업데이트
- 2026. 10. 21.
댓글
- …
이 저장소의 다른 스킬
getting-started
29k에이전트가 Alpine.js에서 TanStack Table로 데이터 표를 만들고 표시하는 방법을 가르칩니다. 설정, 반응형 데이터, 행 렌더링을 다룹니다.
table-state
29k에이전트가 Alpine.js에서 현재 페이지 같은 표의 상태를 읽고 제어하도록 가르칩니다. 상태가 바뀌면 화면도 함께 업데이트됩니다.
devtools
29k에이전트가 Angular 표를 TanStack Devtools 패널에 등록하는 방법을 가르칩니다. 개발자가 앱을 만드는 동안 각 표를 점검할 수 있게 합니다.
getting-started
29k에이전트가 Angular에서 TanStack 표를 만들고 표시하는 방법을 가르칩니다. injectTable 설정, 템플릿 렌더링, 행 데이터 업데이트를 다룹니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.