tanstack-router-search-params-and-loaders
Installation
SKILL.md
TanStack Router Search Params and Loaders
Use this skill when the task is primarily about URL state, route-level data loading, auth gates, or route context.
Scope
validateSearchand typed search-state modeling- search middlewares and custom search hygiene
loaderDeps,loader, and preload behaviorbeforeLoad, redirects, and route-scoped context- integrating TanStack Query or another external cache with router loaders
Routing cues
validateSearch, search adapters,loaderDeps,loader,beforeLoad, auth,redirect, route context, preloading, orrouter.invalidate()-> use this skill- route trees, pathless routes, params,
Link, or route masking -> usetanstack-router-route-trees-and-navigation - pending and error timing, not-found flows, scroll restoration, head management, or Router SSR -> use
tanstack-router-runtime-behavior-and-ssr routeTree.gen.ts, file naming,.lazy.tsx, plugin config, or CLI generation -> usetanstack-router-file-based-routing-and-tooling