What problem does it solve? TanStack Router infers types for params, search, context, and loader data automatically, but developers and AI agents frequently break this inference by adding casts, annotations, or generic parameters, or by forgetting the Register module declaration entirely. ## Core Features & Use Cases - Register Module Declaration: Sets up the single required declare module registration so Link, useNavigate, and useSearch are fully typed app-wide. - Inference-First Patterns: Shows how to use Route.useParams, Route.useSearch, and Route.useLoaderData without any annotations, plus from narrowing and strict: false for shared components. - TypeScript Performance Guidance: Covers getRouteApi for code-split files, object-syntax addChildren, and as const satisfies LinkProps to avoid slow union checks. - Use Case: When building a typed route like /posts/$postId with validated search params and a loader, this Skill ensures every hook and Link stays fully inferred without a single cast. ## Quick Start Ask the AI to create a type-safe TanStack Router route with validated search params and a loader, following the type-safety skill so no casts or annotations are used.