getting-started
하는 일
이 스킬은 TanStack Table을 사용해 Solid 앱에서 데이터 테이블을 만들고 표시하는 방법을 보여줍니다. 직접 테이블 레이아웃을 만들고 싶은 Solid 개발자를 위한 것입니다.
사용하는 경우
- ✓레코드 목록을 표로 보여주는 Solid 컴포넌트를 만들 때.
- ✓Solid 테이블의 데이터가 시그널에서 오고 화면에서 바로 바뀌어야 할 때.
- ✓Solid 테이블에 쿼리나 가상화 기능을 추가하고 싶을 때.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/solid-table/skills/getting-started/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“주문 목록을 표로 보여주는 Solid 페이지를 만들고 있어요. 어떻게 설정하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
열을 정의하고 createTable로 테이블을 만든 뒤, For 컴포넌트로 헤더, 행, 셀을 반복하는 예제 컴포넌트를 제공합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Solid Table setup and integration
Before starting, run intent load @tanstack/table-core#core for the shared headless model and stable-input rules.
Setup
import { For, createSignal } from 'solid-js'
import {
createColumnHelper,
createTable,
tableFeatures,
} from '@tanstack/solid-table'
type Person = { name: string }
const features = tableFeatures({})
const helper = createColumnHelper<typeof features, Person>()
const columns = helper.columns([helper.accessor('name', { header: 'Name' })])
export function PeopleTable() {
const [data] = createSignal<Person[]>([{ name: 'Ada' }])
const table = createTable({
features,
columns,
get data() {
return data()
},
})
return (
<table>
<thead>
<For each={table.getHeaderGroups()}>
{(group) => (
<tr>
<For each={group.headers}>
{(header) => (
<th>
<table.FlexRender header={header} />
</th>
)}
</For>
</tr>
)}
</For>
</thead>
<tbody>
<For each={table.getRowModel().rows}>
{(row) => (
<tr>
<For each={row.getAllCells()}>
{(cell) => (
<td>
<table.FlexRender cell={cell} />
</td>
)}
</For>
</tr>
)}
</For>
</tbody>
</table>
)
}
Essential constraints
Use createTable in a Solid owner. Preserve changing data with get data() { return data() }; data: data() captures a snapshot. Keep features and columns stable and derive transformed arrays with createMemo.
Table owns models and state. The application owns markup, CSS, interactions, and accessibility. Core-only tables use row.getAllCells(); visibility-aware methods need columnVisibilityFeature. Optional state and APIs require their features. Put row-model slots after their prerequisite features in tableFeatures().
Load by task
- For repeated features, defaults, typed contexts, or component registries, read reusable app hooks.
- For Query-backed data, server pages, sorting, filtering, or request keys, read TanStack Query integration.
- For virtual rows, columns, dynamic measurement, or infinite scrolling, read TanStack Virtual integration.
- For controlled state, tracked reads, or render subscriptions, read table state.
- For feature registration, missing feature APIs, or processing ownership, run
intent load @tanstack/table-core#table-featuresand read only references needed by the task. - For v8 code, read the migration checklist.
API discovery
Inspect node_modules/@tanstack/solid-table/dist/index.d.ts, then the exported adapter declarations for the installed version. Inspect optional core APIs under node_modules/@tanstack/table-core/dist/features/.
자주 묻는 질문
Solid에서 테이블을 만드는 함수는 무엇인가요?
이 스킬은 Solid 어댑터의 createTable을 사용하며, 컴포넌트 안에서 호출합니다.
데이터가 바뀌면 테이블에 어떻게 반영되나요?
예제는 데이터를 getter로 전달하므로, 테이블이 항상 최신 시그널 값을 읽습니다.
핵심 가이드도 읽어야 하나요?
네. 이 스킬은 먼저 헤드리스 모델과 안정적인 입력 규칙을 설명하는 공통 핵심 가이드를 읽으라고 안내합니다.
상세 정보
작성자의 원본 설명
Create and render Table v9 with the solid adapter. Route reusable createTableHook components, Query and Virtual integration, and framework setup; use table-state for reactive ownership.
repo: TanStack/table
인기도
- GitHub 스타
- 29k
- 순위
- #9828
- 라이선스
- 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에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.