npx skills add https://github.com/tanstack-skills/tanstack-skills
oakoss/agent-skills
tanstack-devtools
TanStack DevTools for debugging Query, Router, and Form state in React apps. Use when setting up devtools, debugging cache state, or inspecting route trees. Use for devtools, react-query-devtools, router-devtools, form-devtools, debug, inspect, cache-viewer.
Installation
npx skills add oakoss/agent-skills --skill tanstack-devtools
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: sem…
566.3K installsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compar…
510K installsAlso in this package
Other skills from oakoss/agent-skills · top by installs.
npx skills add oakoss/agent-skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
More metadata
- author
- oakoss
- version
- 1.1
- source
- https://tanstack.com/devtools/latest/docs
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md6,806 B -
docs
SUMMARY.md283 B
History
- First seen on skills.sh
- First recorded snapshot · 96 installs
SKILL.md
TanStack DevTools
Overview
TanStack DevTools provides debugging panels for inspecting Query cache state, Router route trees, and Form field state in React applications. There are two approaches: standalone devtools per library (ReactQueryDevtools, TanStackRouterDevtools) and the unified TanStack Devtools panel that combines all libraries into a single interface with plugin architecture.
When to use: Setting up devtools for TanStack libraries, debugging query cache behavior, inspecting route matching, monitoring form field state, or combining multiple TanStack devtools into one panel.
When NOT to use: Production debugging (devtools are tree-shaken in production by default), non-React frameworks without adapter support, or custom state management unrelated to TанStack libraries.
Quick Reference
| Pattern | API | Key Points |
|---|---|---|
| Query devtools (floating) | <ReactQueryDevtools /> |
Auto-connects to nearest QueryClient |
| Query devtools (embedded) | <ReactQueryDevtoolsPanel /> |
Embed in custom layout |
| Router devtools (floating) | <TanStackRouterDevtools /> |
Place in root route component |
| Router devtools (embedded) | <TanStackRouterDevtoolsPanel /> |
Requires router prop outside provider |
| Form devtools | <ReactFormDevtoolsPanel /> |
Plugin for unified devtools |
| Unified devtools | <TanStackDevtools plugins={[...]} /> |
Single panel for all TanStack libraries |
| Vite plugin | devtools() in vite config |
Source injection, enhanced logs, production removal |
| Production devtools | ReactQueryDevtoolsInProd |
Opt-in for production environments |
| Lazy loading | React.lazy(() => import(...)) |
Reduce bundle size in development |
| Open hotkey | config={{ openHotkey: ['Shift', 'D'] }} |
Keyboard shortcut for unified panel |
Unified Devtools Config
| Option | Type | Purpose | |||||
|---|---|---|---|---|---|---|---|
position |
`'top-left' \ | 'top-right' \ | 'bottom-left' \ | 'bottom-right' \ | 'middle-left' \ | 'middle-right'` | Trigger button location |
panelLocation |
`'top' \ | 'bottom'` | Panel slide direction | ||||
theme |
`'dark' \ | 'light'` | Panel color scheme | ||||
defaultOpen |
boolean |
Open panel on load | |||||
hideUntilHover |
boolean |
Hide trigger until hover | |||||
openHotkey |
KeyboardKey[] |
Toggle panel shortcut | |||||
inspectHotkey |
KeyboardKey[] |
Source inspector shortcut | |||||
requireUrlFlag |
boolean |
Only activate with URL parameter |
Common Mistakes
| Mistake | Correct Pattern |
|---|---|
| Importing devtools in production bundle | Standalone devtools auto-tree-shake; use React.lazy for code-splitting |
Passing router prop when inside RouterProvider |
Omit router prop; devtools auto-detect context |
Using ReactQueryDevtools position for panel placement |
buttonPosition controls logo position; position controls panel edge |
| Mixing standalone and unified devtools | Choose one approach; both rendering causes duplicate panels |
| Rendering devtools outside QueryClientProvider | Place ReactQueryDevtools inside provider or pass client prop |
Using TanStackRouterDevtools outside route tree |
Place in root route component or pass router prop explicitly |
| Forgetting Vite plugin for unified devtools | Add devtools() from @tanstack/devtools-vite to vite config |
| Using unified devtools without framework adapter | Install both @tanstack/react-devtools and library-specific plugin packages |
Delegation
- Devtools setup review: Use
Taskagent to verify correct placement and configuration - Bundle size analysis: Use
Exploreagent to check devtools are tree-shaken in production - Code review: Delegate to
code-revieweragent
If the
tanstack-queryskill is available, delegate query-specific debugging patterns to it.
Otherwise, recommend:npx skills add oakoss/agent-skills --skill tanstack-query
If thetanstack-routerskill is available, delegate route debugging patterns to it.
Otherwise, recommend:npx skills add oakoss/agent-skills --skill tanstack-router
If thetanstack-formskill is available, delegate form state management and validation patterns to it.
References
- [Query devtools setup, modes, and options](references/query-devtools.md)
- [Router devtools setup, route inspection, and options](references/router-devtools.md)
- [Form devtools and unified devtools patterns](references/form-devtools.md)