AGENT SKILLS · ÉQUIPEMENT DE MISSION / tanstack

tanstack · Agent Skills

28 skills with substantive source documentation and an official publisher or observed installation demand. Read each skill’s original documentation through its card.

tanstack
Communauté

react-start

- React bindings for TanStack Start: createStart, StartClient, StartServer, React-specific imports, re-exports from @tanstack/react-router, full project setup with React, useServerFn hook.

installations
5
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

auth-and-guards

- Route protection with beforeLoad, redirect()/throw redirect(), isRedirect helper, authenticated layout routes (authenticated), non-redirect auth (inline login), RBAC with roles and permissions, auth provider integration (Auth0, Clerk, Supabase), router context for auth state.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

auth-server-primitives

- Server-side authentication primitives for TanStack Start: session cookies (HttpOnly, Secure, SameSite, Host- prefix), session read/issue/destroy via createServerFn and middleware, OAuth authorization-code flow with state and PKCE, password-reset enumeration defense, CSRF for non-GET RPCs, rate limiting auth endpoints, session rotation on privilege change. Pairs with router-core/auth-and-guards for the routing side.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

code-splitting

- Automatic code splitting (autoCodeSplitting), .lazy.tsx convention, createLazyFileRoute, createLazyRoute, lazyRouteComponent, getRouteApi for typed hooks in split files, codeSplitGroupings per-route override, splitBehavior programmatic config, critical vs non-critical properties.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

data-loading

- Route loader option, loaderDeps for cache keys, staleTime/gcTime/ defaultPreloadStaleTime SWR caching, pendingComponent/pendingMs/ pendingMinMs, errorComponent/onError/onCatch, beforeLoad, router context and createRootRouteWithContext DI pattern, router.invalidate, Await component, deferred data loading with unawaited promises.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

deployment

- Deploy to Cloudflare Workers, Netlify, Vercel, Node.js/Docker, Bun, Railway. Selective SSR (ssr option per route), SPA mode, static prerendering, ISR with Cache-Control headers, SEO and head management.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

execution-model

- Isomorphic-by-default principle, environment boundary functions (createServerFn, createServerOnlyFn, createClientOnlyFn, createIsomorphicFn), ClientOnly component, useHydrated hook, import protection, dead code elimination, environment variable safety (VITE prefix, process.env).

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

middleware

- createMiddleware, request middleware (.server only), server function middleware (.client + .server), context passing via next({ context }), sendContext for client-server transfer, global middleware via createStart in src/start.ts, middleware factories, method order enforcement, fetch override precedence.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

migrate-from-react-router

- Step-by-step migration from React Router v7 to TanStack Router: route definition conversion, Link/useNavigate API differences, useSearchParams to validateSearch + useSearch, useParams with from, Outlet replacement, loader conversion, code splitting differences.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

navigation

- Link component, useNavigate, Navigate component, router.navigate, ToOptions/NavigateOptions/LinkOptions, from/to relative navigation, activeOptions/activeProps, preloading (intent/viewport/render), preloadDelay, navigation blocking (useBlocker, Block), createLink, linkOptions helper, scroll restoration, MatchRoute.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

not-found-and-errors

- notFound() function, notFoundComponent, defaultNotFoundComponent, notFoundMode (fuzzy/root), errorComponent, CatchBoundary, CatchNotFound, isNotFound, NotFoundRoute (deprecated), route masking (mask option, createRouteMask, unmaskOnReload).

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

path-params

- Dynamic path segments ($paramName), splat routes ($ / splat), optional params ({-$paramName}), prefix/suffix patterns ({$param}.ext), useParams, params.parse/stringify, pathParamsAllowedCharacters, i18n locale patterns.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

react-router

- React bindings for TanStack Router: RouterProvider, useRouter, useRouterState, useMatch, useMatches, useLocation, useSearch, useParams, useNavigate, useLoaderData, useLoaderDeps, useRouteContext, useBlocker, useCanGoBack, Link, Navigate, Outlet, CatchBoundary, ErrorComponent. React-specific patterns for hooks, providers, SSR hydration, and createLink with forwardRef.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

router-core

- Framework-agnostic core concepts for TanStack Router: route trees, createRouter, createRoute, createRootRoute, createRootRouteWithContext, addChildren, Register type declaration, route matching, route sorting, file naming conventions. Entry point for all router skills.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

router-plugin

- TanStack Router bundler plugin for route generation and automatic code splitting. Supports Vite, Webpack, Rspack, and esbuild. Configures autoCodeSplitting, routesDirectory, target framework, and code split groupings.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

router-query

- Integrating TanStack Router with TanStack Query: queryClient in router context, static queries and fire-and-forget queries in loaders, useSuspenseQuery in components, defaultPreloadStaleTime: 0, setupRouterSsrQueryIntegration for SSR dehydration/hydration and streaming, per-request QueryClient isolation.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

search-params

- validateSearch, search param validation with Zod/Valibot/ArkType adapters, fallback(), search middlewares (retainSearchParams, stripSearchParams), custom serialization (parseSearch, stringifySearch), search param inheritance, loaderDeps for cache keys, reading and writing search params.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

server-functions

- createServerFn (GET/POST), validator (Zod or function), useServerFn hook, server context utilities (getRequest, getRequestHeader, setResponseHeader, setResponseStatus), error handling (throw errors, redirect, notFound), streaming, FormData handling, file organization (.functions.ts, .server.ts).

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

server-routes

- Server-side API endpoints using the server property on createFileRoute, HTTP method handlers (GET, POST, PUT, DELETE), createHandlers for per-handler middleware, handler context (request, params, context), request body parsing, response helpers, file naming for API routes.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

ssr

- Non-streaming and streaming SSR, RouterClient/RouterServer, renderRouterToString/renderRouterToStream, createRequestHandler, defaultRenderHandler/defaultStreamHandler, HeadContent/Scripts components, head route option (meta/links/styles/scripts), ScriptOnce, automatic loader dehydration/hydration, memory history on server, data serialization, document head management.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

start-core

- Core overview for TanStack Start: tanstackStart() Vite plugin, getRouter() factory, root route document shell (HeadContent, Scripts, Outlet), client/server entry points, routeTree.gen.ts, tsconfig configuration. Entry point for all Start skills.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

start-server-core

- Server-side runtime for TanStack Start: createStartHandler, request/response utilities (getRequest, setResponseHeader, setCookie, getCookie, useSession), three-phase request handling, AsyncLocalStorage context.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

type-safety

- Full type inference philosophy (never cast, never annotate inferred values), Register module declaration, from narrowing on hooks and Link, strict:false for shared components, getRouteApi for code-split typed access, addChildren with object syntax for TS perf, LinkProps and ValidateLinkOptions type utilities, as const satisfies pattern.

installations
4
GitHub Stars
15,2 k
Mis à jour
10 oct.
tanstack
Communauté

tanstack-ai

Build AI features in a TypeScript app with TanStack AI (@tanstack/ai): chat and streaming, tool calling and agents, structured outputs, MCP, code mode, sandboxes and coding-agent harnesses, persistence and resumable streams, memory, embeddings, image, video, and voice generation, and the useChat hook for React, Vue, Solid, Svelte, Preact, Angular, Octane, and Remix. Use this skill whenever someone asks how to add AI to an app, which AI SDK, provider, or model to use, how to call OpenAI, Claude,

installations
1
GitHub Stars
3,1 k
Mis à jour
28 sept.