Skip to content
Source
Sign inSign up
TanStack/router

Skills

A skill teaches a coding agent how to do one job. See the skills this repository uses and offers, keep them up to date, and find new ones.

This repository uses

The skills that agents load when they work here. The forge and the src CLI copy each added skill to .agents/skills/ and record its source and version in .agents/skills.lock.json.
No skills yet
This repository does not use a skill yet.

This repository offers

Skills that help people use this repository. A folder with a SKILL.md outside the agent folders, for example skills/<name>/SKILL.md, is offered. Install one in your project with its command.
  • packages/react-router/skills/compositions/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.

    src skill install TanStack/router/router-query
  • packages/react-router/skills/lifecycle/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.

    src skill install TanStack/router/migrate-from-react-router
  • packages/react-router/skills/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.

    src skill install TanStack/router/react-router
  • packages/react-start/skills/lifecycle/migrate-from-nextjs

    Step-by-step migration from Next.js App Router to TanStack Start: route definition conversion, API mapping, server function conversion from Server Actions, middleware conversion, data fetching pattern changes.

    src skill install TanStack/router/migrate-from-nextjs
  • packages/react-start/skills/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.

    src skill install TanStack/router/react-start
  • packages/router-core/skills/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.

    src skill install TanStack/router/router-core
  • packages/router-plugin/skills/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.

    src skill install TanStack/router/router-plugin
  • packages/solid-router/skills/solid-router

    Solid bindings for TanStack Router: RouterProvider, useRouter, useRouterState, useMatch, useMatches, useLocation, useSearch, useParams, useNavigate, useLoaderData, useLoaderDeps, useRouteContext, useBlocker, useCanGoBack, Link, Navigate, Outlet, CatchBoundary, ErrorComponent. Solid-specific patterns with Accessor<T> returns, createSignal/createMemo/createEffect, Show/Switch/Match/Dynamic, and @solidjs/meta for head management.

    src skill install TanStack/router/solid-router
  • packages/solid-start/skills/solid-start

    Solid bindings for TanStack Start: useServerFn hook, tanstackStart Vite plugin, StartClient, StartServer, Solid-specific setup, re-exports from @tanstack/start-client-core. Full project setup with Solid.

    src skill install TanStack/router/solid-start
  • packages/start-client-core/skills/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.

    src skill install TanStack/router/start-core
  • packages/start-server-core/skills/start-server-core

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

    src skill install TanStack/router/start-server-core
  • packages/virtual-file-routes/skills/virtual-file-routes

    Programmatic route tree building as an alternative to filesystem conventions: rootRoute, index, route, layout, physical, defineVirtualSubtreeConfig. Use with TanStack Router plugin's virtualRouteConfig option.

    src skill install TanStack/router/virtual-file-routes
  • packages/vue-router/skills/vue-router

    Vue bindings for TanStack Router: RouterProvider, useRouter, useRouterState, useMatch, useMatches, useLocation, useSearch, useParams, useNavigate, useLoaderData, useLoaderDeps, useRouteContext, useBlocker, useCanGoBack, Link, Navigate, Outlet, CatchBoundary, ErrorComponent, Html, Body. Vue-specific patterns with Ref<T> returns, defineComponent, h() render functions, provide/inject, and computed refs.

    src skill install TanStack/router/vue-router
  • packages/vue-start/skills/vue-start

    Vue bindings for TanStack Start: useServerFn hook, tanstackStart Vite plugin, StartClient, StartServer, Vue-specific setup, re-exports from @tanstack/start-client-core. Full project setup with Vue.

    src skill install TanStack/router/vue-start
  • skills/bundle-size-optimization

    Use when working in this repository on JS bundle size, gzip regressions, benchmark scenarios, source attribution, treeshaking, dead code elimination, or Rolldown annotations.

    src skill install TanStack/router/bundle-size-optimization

Find a skill

Describe what your agent should do. The search finds skills by name, description and tags.