tanstack-router-conventions
Installation
SKILL.md
TanStack Router conventions
Stack conventions for TanStack Router apps (Vite SPA or the router layer of TanStack Start). Start-only topics (createServerFn, .server.ts / .functions.ts, selective SSR, RSC, API server.handlers) belong to tanstack-start-conventions; auth beforeLoad to tanstack-start-auth.
Which file for which task
| Task | Read |
|---|---|
router.tsx search serialization, share URLs, per-param encodings, jsurl, updateSearch |
router-search-serialization.md |
?map=zoom/lat/lng viewport param |
map-search-param.md |
Zod validateSearch / path params on UI routes |
params-search-ui-routes.md |
| Loaders, Query options, derived data, mutations, router defaults | router-and-query.md |
Typed hooks, from, Register |
router-typescript.md |
| Devtools panel | devtools.md |