tanstack-query-best-practices
Best practices for TanStack Query, covering caching, mutations, SSR, and performance optimization in React apps.
Install
npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-query-best-practicesStats
| Total installs | 2,406 |
| Weekly installs | 2.4K |
| GitHub stars | 100 |
| First seen | Jan 20, 2026 |
| Source | @deckardger/tanstack-agent-skills |
Summary
- Covers 32 rules across 10 categories: query keys, caching strategies, mutations, error handling, prefetching, infinite queries, SSR integration, parallel queries, performance optimization, and offline support
- Each rule includes explanation, anti-patterns, recommended implementations, and contextual guidance for when to apply
- Prioritized by impact: critical rules prevent cache bugs and data inconsistencies; high-priority rules ensure data integrity and UI consistency
- Organized with hierarchical query key factories, targeted cache invalidation, optimistic updates with rollback context, and structural sharing patterns
Tags
Related skills
| Skill | Installs | vs tanstack-query-best-practices |
|---|---|---|
| playwright-skill | 2,657 | +251 |
| ui-animation | 2,426 | +20 |
| flutter-localizing-apps | 2,226 | -180 |
| rivetkit-client-react | 2,125 | -281 |
| heroui-react | 2,410 | +4 |
FAQ
- How many installs does tanstack-query-best-practices have?
- tanstack-query-best-practices has 2,406 total installs and 2.4K installs this week.
- Where is tanstack-query-best-practices hosted?
- tanstack-query-best-practices is published by @deckardger/tanstack-agent-skills at https://github.com/deckardger/tanstack-agent-skills.
- How many GitHub stars does tanstack-query-best-practices have?
- tanstack-query-best-practices has 100 GitHub stars.
- When was tanstack-query-best-practices first indexed?
- OrangeBot.AI first indexed tanstack-query-best-practices on Jan 20, 2026.
- How do I install tanstack-query-best-practices?
- Run: npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-query-best-practices