DT

deckardger/tanstack-agent-skills

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

231 stars 품질 70 트렌드 8MIT

deckardger/tanstack-agent-skills는 [T0]]에서 수입된 대리인 기술 후보입니다

개요

deckardger/tanstack-agent-skills는 [T0]]에서 수입된 대리인 기술 후보입니다

개요(AI 번역)

TanStack 생태계를 구축하기위한 포괄적 인 모범 사례. 이 기술은 TanStack Query, TanStack Router 및 TanStack Start를 위한 구조화된 지침을 가진 AI 코딩 대리인을 제공합니다.

Skills는 Agent Skills 형식을 따릅니다.

유효한 기술

# # # tanstack-query의

데이터 fetching, caching, mutations 및 TanStack Query와 서버 상태 관리를 위한 모범 사례 (React Query).

사용시:

  • useQuery 또는 useMutation]를 사용하여 서버 데이터를 Fetching 또는 캐싱
  • React Query 설정
  • 성능 문제에 대한 데이터 fetching 패턴 검토

8 카테고리의 32+ 규칙:

  • Query Keys (CRITICAL) - Proper 키 구조 및 조직
  • 캐싱 (CRITICAL) - staleTime, gcTime 및 잘못된 패턴
  • Mutations (HIGH) - 최적의 업데이트, 오류 처리
  • 오류 처리 (HIGH) - 오류 경계, 구호 논리
  • Prefetching (MEDIUM) - 의도 기반 및 경로 prefetching
  • 무한 채취 (MEDIUM) - 질 패턴
  • SSR 통합 (MEDIUM) - Hydration 및 탈수
  • 성능 (LOW) - 변환, memoization 선택

탄스택-루트

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

TanStack Agent Skills

Comprehensive best practices for building applications with the TanStack ecosystem. These skills provide AI coding agents with structured guidelines for TanStack Query, TanStack Router, and TanStack Start.

Skills follow the Agent Skills format.

Available Skills

tanstack-query

Best practices for data fetching, caching, mutations, and server state management with TanStack Query (React Query).

Use when:

  • Fetching or caching server data with useQuery or useMutation
  • Setting up React Query for a new project
  • Reviewing data fetching patterns for performance issues

32+ rules across 8 categories:

  • Query Keys (CRITICAL) — Proper key structure and organization
  • Caching (CRITICAL) — staleTime, gcTime, and invalidation patterns
  • Mutations (HIGH) — Optimistic updates, error handling
  • Error Handling (HIGH) — Error boundaries, retry logic
  • Prefetching (MEDIUM) — Intent-based and route prefetching
  • Infinite Queries (MEDIUM) — Pagination patterns
  • SSR Integration (MEDIUM) — Hydration and dehydration
  • Performance (LOW) — Select transforms, memoization

tanstack-router

Best practices for type-safe routing, data loading, search params, and navigation with TanStack Router.

Use when:

  • Setting up routing for a React app
  • Working with search params, loaders, or code splitting
  • Configuring type-safe navigation

36 rules across 10 categories:

  • Type Safety (CRITICAL) — Router registration, type narrowing, context typing
  • Route Organization (CRITICAL) — File-based routing, route trees, pathless layouts
  • Router Config (HIGH) — Global router defaults
  • Data Loading (HIGH) — Loaders, Query integration, deferred data
  • Search Params (HIGH) — Validation, type inheritance, middleware, defaults
  • Error Handling (HIGH) — Not-found routes, error boundaries
  • Navigation (MEDIUM) — Link component, active states, programmatic navigation
  • Code Splitting (MEDIUM) — Lazy routes, auto splitting, critical path
  • Preloading (MEDIUM) — Intent-based, stale time, manual preloading
  • Route Context (LOW) — Dependency injection, beforeLoad

tanstack-start

Best practices for full-stack React applications with TanStack Start, including server functions, middleware, SSR, and authentication.

Use when:

  • Building full-stack apps with server functions
  • Implementing authentication or middleware
  • Configuring SSR, streaming, or deployment

32 rules across 10 categories:

  • Server Functions (CRITICAL) — createServerFn patterns
  • Security (CRITICAL) — Input validation, CSRF protection
  • Middleware (HIGH) — Request/function middleware
  • Authentication (HIGH) — Sessions, route protection
  • API Routes (MEDIUM) — External endpoint patterns
  • SSR (MEDIUM) — Hydration safety, streaming, selective SSR
  • Error Handling (MEDIUM) — Server errors, redirects, not-found
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add deckardger/tanstack-agent-skills
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →