tanstack-router-route-trees-and-navigation
Installation
SKILL.md
TanStack Router Route Trees and Navigation
Use this skill when the task is primarily about route structure, route matching, or user navigation semantics.
Scope
- route-tree mental model across code-based and file-based routing
- nested routes, layout routes, pathless routes, and index routes
- dynamic params and splat segments
Link,Navigate,useNavigate, androuter.navigate- route masking and typed navigation state
Routing cues
- route trees,
getParentRoute,addChildren, nesting, params,Link,Navigate,useNavigate, route matching, or route masking -> use this skill - install choices, bundler setup, quick start, or file-based vs code-based selection -> use
tanstack-router-overview-and-setup validateSearch,loaderDeps,loader,beforeLoad, auth guards, route context, or preloading -> usetanstack-router-search-params-and-loaderspendingComponent,errorComponent,notFoundComponent, scroll restoration, navigation blocking, or head management -> usetanstack-router-runtime-behavior-and-ssrrouteTree.gen.ts, file naming conventions, virtual routes,.lazy.tsx, plugin config, or CLI generation -> usetanstack-router-file-based-routing-and-tooling