TanStack Query

2.5k
exceptionlessexceptionless

Data fetching and caching with TanStack Query in Svelte. Query patterns, mutations, cache invalidation, WebSocket-driven updates, and optimistic updates. Keywords: createQuery, createMutation, TanStack Query, query keys, cache invalidation, optimistic updates, refetch, stale time, @exceptionless/fetchclient, WebSocket

195 days ago

vercel-kv

572
jezwebjezweb

Integrate Redis-compatible Vercel KV for caching, session management, and rate limiting in Next.js. Powered by Upstash with strong consistency and TTL support. Use when implementing cache strategies, rate limiters, or troubleshooting environment variables, serialization errors, rate limit issues, scanIterator hangs, or Next.js cache stale reads.

195 days ago

pitfalls-tanstack-query

188
aiskillstoreaiskillstore

TanStack Query v5 patterns and common pitfalls. Use when implementing data fetching, cache invalidation, or debugging stale data issues. Triggers on: useQuery, useMutation, queryKey, invalidate, TanStack, React Query.

195 days ago

remix-cache

188
aiskillstoreaiskillstore

A type-safe, Redis-backed caching library for Remix applications with SSE-based real-time invalidation, stale-while-revalidate, pattern matching, and automatic React revalidation. Use when working with Remix caching, Redis, cache invalidation, implementing caching strategies, or real-time data synchronization in Remix apps.

195 days ago

clean-build

80
cartridge-ggcartridge-gg

Clean all build artifacts and rebuild from scratch. Use when experiencing stale build artifacts, Turbo cache issues, mysterious build failures, or after dependency updates.

195 days ago

Stale Cache Finder

71
PramodDuttaPramodDutta

Identify stale cache issues across browser cache, CDN layers, API response caching, and application-level caches that cause users to see outdated content

cache-testingstale-cachecdn+5
195 days ago

caching-patterns

29
omer-metinomer-metin

World-class caching strategies - cache invalidation, Redis patterns, CDN caching, and the battle scars from cache bugs that served stale data for hoursUse when "cache, caching, redis, memcached, cdn, ttl, invalidation, stale, cache aside, write through, cache stampede, thundering herd, cache warming, etag, cache-control, caching, redis, memcached, cdn, performance, http-cache, ttl, invalidation" mentioned.

195 days ago

cache-management

16
VilnaCRM-OrgVilnaCRM-Org

Implement production-grade caching with cache keys/TTLs/consistency classes per query, SWR (stale-while-revalidate), explicit invalidation, HTTP cache headers, and comprehensive testing for stale reads and cache warmup. Use when adding caching to queries, implementing cache invalidation, configuring HTTP caching, or ensuring cache consistency and performance.

195 days ago

service-worker

12
jgamaraalvjgamaraalv

Service Worker API implementation guide — registration, lifecycle management, caching strategies, push notifications, and background sync. Use when: (1) creating or modifying service worker files (sw.js), (2) implementing offline-first caching (cache-first, network-first, stale-while-revalidate), (3) setting up push notifications or background sync, (4) debugging service worker registration, scope, or update issues, (5) implementing navigation preload, (6) user mentions 'service worker', 'sw.js', 'offline support', 'cache strategy', 'push notification', 'background sync', 'workbox alternative', or 'PWA caching'.

195 days ago

tanstack-query

9
jackspacejackspace

This skill provides comprehensive knowledge for TanStack Query v5 (React Query) server state management in React applications. It should be used when setting up data fetching with useQuery, implementing mutations with useMutation, configuring QueryClient, managing caching strategies, migrating from v4 to v5, implementing optimistic updates, using infinite queries, or encountering query/mutation errors. Use when: initializing TanStack Query in React projects, configuring QueryClient settings, creating custom query hooks, implementing mutations with error handling, setting up optimistic updates, using useInfiniteQuery for pagination, migrating from React Query v4 to v5, debugging stale data issues, fixing caching problems, resolving v5 breaking changes, implementing suspense queries, or setting up query devtools. Keywords: TanStack Query, React Query, useQuery, useMutation, useInfiniteQuery, useSuspenseQuery, QueryClient, QueryClientProvider, data fetching, server state, caching, staleTime, gcTime, query invalidation, prefetching, optimistic updates, mutations, query keys, query functions, error boundaries, suspense, React Query DevTools, v5 migration, v4 to v5, request waterfalls, background refetching, cacheTime renamed, loading status renamed, pending status, initialPageParam required, keepPreviousData removed, placeholderData, query callbacks removed, onSuccess removed, onError removed, object syntax required

195 days ago

swr

9
TerminalSkillsTerminalSkills

Fetch, cache, and revalidate data in React with SWR — stale-while-revalidate data fetching library by Vercel. Use when someone asks to "fetch data in React", "SWR", "data fetching hook", "cache API calls", "stale-while- revalidate", "auto-refresh data", or "React data fetching without Redux". Covers data fetching, caching, revalidation, mutation, pagination, and optimistic updates.

195 days ago

update-pricing

9
jhd3197jhd3197

Update LLM model pricing in Prompture. Pricing comes from two sources — models.dev live cache (primary) and JSON rate files in prompture/infra/rates/ (capabilities KB). Use when model prices change, new models launch, or models.dev data is stale.

195 days ago

dev-environment-cleanup

8
orient-botorient-bot

Clean up development environment issues in the Orient monorepo. Use when asked to "clean build", "rebuild from scratch", "fix build issues", "clean node_modules", or when encountering stale build artifacts, tsbuildinfo issues, or turbo cache problems. NOT for testing the installer - use fresh-install-testing for that.

195 days ago

fix-docker-dependencies

7
moto-nrwmoto-nrw

Diagnose and fix "Module not found" errors caused by stale Docker dependency caches. Use when a dependency was added/removed/swapped but the Docker container still has old node_modules.

195 days ago

latex-autofix

3
flonatflonat

LaTeX compilation with autonomous error resolution. Build artifacts go to out/, PDF is copied back to source directory. Parses logs, auto-fixes known errors (missing packages, font conflicts, citation issues, bad paths, stale cache), and runs citation audit on success.

195 days ago

latex-autofix

3
flonatflonat

LaTeX compilation with autonomous error resolution. Build artifacts go to out/, PDF is copied back to the source directory. Parses logs, auto-fixes known errors (missing packages, font conflicts, citation issues, bad paths, stale cache), and runs a citation audit on success.

195 days ago

latex-autofix

3
flonatflonat

LaTeX compilation with autonomous error resolution. Build artifacts go to out/, PDF is copied back to source directory. Parses logs, auto-fixes known errors (missing packages, font conflicts, citation issues, bad paths, stale cache), and runs citation audit on success.

195 days ago

caching-strategy

sharp-skillssharp-skills

Chooses the right caching layer and invalidation strategy for the problem. Use when deciding where to cache (browser, CDN, application, database), what TTL to set, or how to prevent stale data. Triggers on: caching, cache, TTL, Redis, Memcached, in-memory cache, stale data, cache strategy, CDN cache, cache-aside, write-through, read-through.

195 days ago

cache-invalidation

sharp-skillssharp-skills

Keeps cached data consistent with the source of truth by knowing when and how to expire or update cache entries. Use when caching data that changes over time and stale data would cause user-visible problems. Triggers on: cache, stale data, TTL, invalidate, evict, cache miss, cache update, Redis, Memcached, cache consistency, cache key.

195 days ago