devtools
하는 일
이 스킬은 TanStack Table 인스턴스를 Devtools 패널에 연결해 옵션, 상태, 행을 점검하는 방법을 설명합니다. 여러 프레임워크에서 쓰는 공통 등록 단계를 다룹니다.
사용하는 경우
- ✓테이블이 devtools 패널에 나타나지 않아 연결을 고쳐야 할 때.
- ✓지원되는 프레임워크로 개발하면서 테이블의 상태와 행을 확인하고 싶을 때.
- ✓devtools가 개발 빌드에서만 작동하도록 제한하고 싶을 때.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/table-devtools/skills/devtools/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“TanStack Table을 devtools에 등록해서 행과 상태를 보려면 어떻게 해야 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 테이블에 고유 키가 필요하고, 프레임워크 훅이 등록을 처리하며, 기본 devtools 진입점은 개발 환경 밖에서는 아무 일도 하지 않는다고 설명합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Setup
Framework adapters should use their lifecycle hook or injector. The framework-neutral registration primitive is:
import { constructTable, tableFeatures } from '@tanstack/table-core'
import { storeReactivityBindings } from '@tanstack/table-core/store-reactivity-bindings'
import { upsertTableDevtoolsTarget } from '@tanstack/table-devtools'
const features = tableFeatures({
coreReactivityFeature: storeReactivityBindings(),
})
const table = constructTable({
key: 'users-table',
features,
columns: [],
data: [],
})
const cleanup = upsertTableDevtoolsTarget({ table })
cleanup()
Core Patterns
Give every live table a descriptive unique key
The non-empty options.key is both registry identity and panel label. Use stable application identity, not an array index.
Let adapter lifecycles own registration
React/Preact/Solid/Vue hooks and the Angular injector register and clean up at the correct time. Use core target functions only for unsupported frameworks or infrastructure code.
Keep ordinary Devtools development-only
Default entrypoints export no-op panels/plugins outside development. Use /production only when the application explicitly chooses production inspection and its security/bundle implications.
Common Mistakes
HIGH Missing key skips registration
Wrong: register a table whose options.key is absent or whitespace.
Correct: set a stable value such as key: 'billing-invoices' before registration.
The registry logs the missing-key error and returns without adding a target.
Source: TanStack/table:packages/table-devtools/src/tableTarget.ts
HIGH Two tables share one key
Wrong: use key: 'table' for simultaneous tables.
Correct: use unique domain identities such as users-table and orders-table.
Upserting a different table under an existing key replaces that registration.
Source: TanStack/table:packages/table-devtools/src/tableTarget.ts
MEDIUM Production panel expected by default
Wrong: debug why the normal entrypoint renders nothing in production.
Correct: keep Devtools development-only unless production inspection was explicitly requested; then import the documented /production entrypoint.
Default production exports intentionally use no-op implementations.
Source: TanStack/table:docs/devtools.md
API Discovery
Inspect node_modules/@tanstack/table-devtools/dist/index.d.ts, tableTarget.d.ts, and production.d.ts. Framework registration belongs to the matching @tanstack/<framework>-table-devtools package.
자주 묻는 질문
제 테이블이 보이지 않는 이유는 무엇인가요?
키가 없거나 비어 있는 테이블은 건너뛰므로, 각 테이블에 고유 키가 필요합니다.
운영 환경에서 devtools를 쓸 수 있나요?
명시적인 운영 진입점을 선택하면 가능하지만, 보안과 번들 크기에 영향을 준다고 설명합니다.
등록 함수를 직접 호출해야 하나요?
보통은 아닙니다. 프레임워크 훅이나 인젝터가 등록과 정리를 처리하며, 원시 함수는 지원되지 않는 프레임워크용이라고 설명합니다.
상세 정보
작성자의 원본 설명
Register TanStack Table targets and inspect options, state, features, columns, rows, and row models with @tanstack/table-devtools. Load for missing connections, required unique table options.key, target replacement/cleanup, or an explicit request for production Devtools entrypoints.
repo: TanStack/table
인기도
- GitHub 스타
- 29k
- 순위
- #9839
- 라이선스
- 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에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.