What problem does it solve? Building type-safe client-side routing in React or Solid apps with TanStack Router is error-prone: agents often cast inferred types, confuse client-first loaders with Next.js server behavior, or mismatch createFileRoute path strings. This Skill provides the core concepts and correct patterns to avoid those mistakes. ## Core Features & Use Cases - Route Tree Construction: Create root routes, file routes, and routers with createRootRoute, createRoute, createRouter, and the mandatory Register type declaration for full type inference. - Sub-Skill Routing: A decision tree directs you to specialized sub-skills for search params, path params, navigation, data loading, auth guards, code splitting, error handling, type safety, and SSR. - Use Case: When scaffolding a new React app with TanStack Router, use this Skill to set up __root.tsx, index routes, the router instance with Register declaration, and RouterProvider wiring correctly on the first attempt. ## Quick Start Set up a minimal TanStack Router app with a root route, an index file route, a typed router instance with the Register declaration, and RouterProvider in main.tsx.