devtools
하는 일
이 스킬은 Angular 표를 TanStack Devtools 패널에 등록해, 디버깅할 때 개발자가 표를 볼 수 있게 하는 방법을 설명합니다. 설정, 필수 키, 정리 작업을 다룹니다.
사용하는 경우
- ✓개발 중 실행되는 Angular 앱에서 표의 상태를 점검하고 싶을 때.
- ✓패널에 표가 보이지 않아 등록을 확인해야 할 때.
- ✓devtools를 개발용 빌드에서만 사용하고 싶은 경우.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/angular-table-devtools/skills/devtools/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“개발하는 동안 Angular 표가 TanStack devtools 패널에 보이도록 하려면 어떻게 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Angular 컴포넌트 안에서 등록 도우미를 호출하는 방법, 각 표에 고유한 키를 주는 방법, 등록을 켜고 끄는 방법을 설명합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools.
Setup
import { Component } from '@angular/core'
import { injectTable, tableFeatures } from '@tanstack/angular-table'
import { injectTanStackTableDevtools } from '@tanstack/angular-table-devtools'
const features = tableFeatures({})
const columns = [{ accessorKey: 'id' }]
const data: Array<{ id: string }> = []
@Component({ selector: 'users-table', template: 'Users table registered' })
export class UsersTable {
readonly table = injectTable(() => ({
key: 'users-table',
features,
columns,
data,
}))
constructor() {
injectTanStackTableDevtools(() => ({ table: this.table }))
}
}
Provide the Angular TanStack Devtools host once at application configuration level as documented in docs/devtools.md.
Hooks and Components
The injector options function may return table: undefined or an enabled function to remove/disable registration reactively.
Common Mistakes
CRITICAL Injector called outside context
Wrong: call injectTanStackTableDevtools from an arbitrary callback after bootstrap.
Correct: call it in a component/service field initializer or constructor injection context.
The adapter uses Angular injection and effects for lifecycle cleanup.
Source: TanStack/table:packages/angular-table-devtools/src/injectTanStackTableDevtools.ts
HIGH Missing table key
Wrong: register an otherwise valid table without options.key.
Correct: assign a stable unique key before injection registration.
Core registration logs an error and skips keyless targets.
Source: TanStack/table:packages/table-devtools/src/tableTarget.ts
MEDIUM isDevMode no-op misunderstood
Wrong: expect default Angular exports to render production Devtools.
Correct: keep standard setup development-only; use /production only when explicitly requested.
The package index switches exports using Angular isDevMode().
Source: TanStack/table:packages/angular-table-devtools/src/index.ts
API Discovery
Inspect node_modules/@tanstack/angular-table-devtools/dist/index.d.ts and injectTanStackTableDevtools.d.ts for current injection options.
자주 묻는 질문
등록 코드는 어디에 있어야 하나요?
컴포넌트 필드나 생성자처럼 Angular 주입 컨텍스트 안에서 실행되어야 합니다.
왜 각 표에 키가 필요한가요?
패널에서 각 표를 식별할 수 있도록 옵션에 키가 필요합니다.
앱에 추가 설정이 필요한가요?
네, 문서에 나온 대로 devtools 호스트를 애플리케이션 설정 수준에서 한 번 제공해야 합니다.
상세 정보
작성자의 원본 설명
Register Angular Table v9 instances with injectTanStackTableDevtools inside injection context. Load for reactive table registration, required options.key, enabled or undefined tables, cleanup, Angular isDevMode gating, or explicit production exports.
repo: TanStack/table
인기도
- GitHub 스타
- 29k
- 순위
- #9807
- 라이선스
- MIT
- 업데이트
- 2026. 10. 21.
댓글
- …
이 저장소의 다른 스킬
getting-started
29k에이전트가 Alpine.js에서 TanStack Table로 데이터 표를 만들고 표시하는 방법을 가르칩니다. 설정, 반응형 데이터, 행 렌더링을 다룹니다.
table-state
29k에이전트가 Alpine.js에서 현재 페이지 같은 표의 상태를 읽고 제어하도록 가르칩니다. 상태가 바뀌면 화면도 함께 업데이트됩니다.
getting-started
29k에이전트가 Angular에서 TanStack 표를 만들고 표시하는 방법을 가르칩니다. injectTable 설정, 템플릿 렌더링, 행 데이터 업데이트를 다룹니다.
migrate-v8-to-v9
29k에이전트가 Angular 표를 TanStack Table v8에서 v9로 옮기도록 돕습니다. 마이그레이션 체크리스트로 설정, 렌더링, 상태, 훅을 점검합니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.