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

  • validateSearch and typed search-state modeling
  • search middlewares and custom search hygiene
  • loaderDeps, loader, and preload behavior
  • beforeLoad, 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, or router.invalidate() -> use this skill
  • route trees, pathless routes, params, Link, or route masking -> use tanstack-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 -> use tanstack-router-file-based-routing-and-tooling
Related skills
Installs
3
GitHub Stars
1
First Seen
Mar 24, 2026