跳到正文
cccskills
免费在 GitHub 公开

tanstack-router

TanStack Router (型安全 React ルーター、@tanstack/react-router) の API リファレンス。React Router (react-router) とは別ライブラリ。

createRouter, createFileRoute, createRootRoute, createLazyFileRoute, createLazyRoute, Link, Outlet, useNavigate, useParams, useSearch, useLoaderData, useBlocker, loader, beforeLoad, validateSearch, redirect, notFound, Await, file-based routing, routeTree.gen.ts, router-plugin, tsr CLI, code splitting, SSR, TanStack Query 統合, eslint-plugin-router。

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(157)

  • SKILL.md8.4 KB
  • references/api/active-link-options.md1.1 KB
  • references/api/async-route-component.md455 B
  • references/api/await.md1016 B
  • references/api/catch-boundary.md1.2 KB
  • references/api/catch-not-found.md1.1 KB
  • references/api/client-only.md893 B
  • references/api/create-file-route.md1.1 KB
  • references/api/create-lazy-file-route.md1.1 KB
  • references/api/create-lazy-route.md1.7 KB
  • references/api/create-root-route-with-context.md1.1 KB
  • references/api/create-root-route.md931 B
  • references/api/create-route-mask.md917 B
  • references/api/create-route-property-order.md1.0 KB
  • references/api/create-route.md1.0 KB
  • references/api/create-router.md839 B
  • references/api/default-global-not-found.md410 B
  • references/api/defer.md1.0 KB
  • references/api/error-component.md1.3 KB
  • references/api/eslint-plugin-router.md737 B
  • references/api/file-based-routing-config.md4.6 KB
  • references/api/get-route-api.md962 B
  • references/api/history-state.md636 B
  • references/api/is-not-found.md599 B
  • references/api/is-redirect.md578 B
  • references/api/lazy-route-component.md987 B
  • references/api/link-options-function.md853 B
  • references/api/link-options.md904 B
  • references/api/link-props.md1.0 KB
  • references/api/link.md1.3 KB
  • references/api/match-route-options.md1.3 KB
  • references/api/match-route.md910 B
  • references/api/navigate-options.md1.2 KB
  • references/api/navigate.md713 B
  • references/api/not-found-component.md1.3 KB
  • references/api/not-found-error.md1.5 KB
  • references/api/not-found.md958 B
  • references/api/outlet.md583 B
  • references/api/parsed-history-state.md668 B
  • references/api/parsed-location.md1.0 KB
  • references/api/query.md3.2 KB
  • references/api/README.md14.0 KB
  • references/api/redirect-type.md1.2 KB
  • references/api/redirect.md1.0 KB
  • references/api/register.md643 B
  • references/api/retain-search-params.md908 B
  • references/api/route-api.md3.4 KB
  • references/api/route-mask.md1.0 KB
  • references/api/route-match.md1.5 KB
  • references/api/route-options.md2.9 KB
  • references/api/route.md1.5 KB
  • references/api/router-events.md1.7 KB
  • references/api/router-options.md2.3 KB
  • references/api/router-provider.md967 B
  • references/api/router-state.md1.8 KB
  • references/api/router.md2.4 KB
  • references/api/strip-search-params.md1.1 KB
  • references/api/to-mask-options.md619 B
  • references/api/to-options.md906 B
  • references/api/use-awaited.md877 B
  • references/api/use-blocker.md1.2 KB
  • references/api/use-can-go-back.md897 B
  • references/api/use-child-matches.md898 B
  • references/api/use-link-props.md811 B
  • references/api/use-loader-data.md1.1 KB
  • references/api/use-loader-deps.md883 B
  • references/api/use-location.md819 B
  • references/api/use-match-route-options.md439 B
  • references/api/use-match-route.md1.1 KB
  • references/api/use-match.md1.1 KB
  • references/api/use-matches.md1.1 KB
  • references/api/use-navigate.md1.1 KB
  • references/api/use-params.md1.2 KB
  • references/api/use-parent-matches.md870 B
  • references/api/use-route-context.md933 B
  • references/api/use-router-state.md1022 B
  • references/api/use-router.md642 B
  • references/api/use-search.md1.2 KB
  • references/api/view-transition-options.md1.0 KB
  • references/configuration/authenticated-routes.md1.5 KB
  • references/configuration/creating-a-router.md4.9 KB
  • references/configuration/not-found-errors.md1.6 KB
  • references/configuration/outlets.md832 B
  • references/configuration/README.md1.3 KB
  • references/configuration/router-context.md2.4 KB
  • references/configuration/router-events.md2.1 KB
  • references/configuration/static-route-data.md1.1 KB
  • references/configuration/type-safety.md1.5 KB
  • references/configuration/type-utilities.md2.4 KB
  • references/core-routing/code-based-routing.md1.9 KB
  • references/core-routing/file-based-routing.md1.6 KB
  • references/core-routing/file-naming-conventions.md2.0 KB
  • references/core-routing/README.md1.4 KB
  • references/core-routing/route-matching.md1.5 KB
  • references/core-routing/route-trees.md1.2 KB
  • references/core-routing/routing-concepts.md2.7 KB
  • references/core-routing/url-rewrites.md2.5 KB
  • references/core-routing/virtual-file-routes.md2.0 KB
  • references/data-rendering/automatic-code-splitting.md2.4 KB
  • references/data-rendering/code-splitting.md2.8 KB
  • references/data-rendering/data-loading.md3.5 KB
  • references/data-rendering/data-mutations.md1.6 KB
  • references/data-rendering/deferred-data-loading.md1.8 KB
  • references/data-rendering/document-head-management.md2.6 KB
  • references/data-rendering/external-data-loading.md3.1 KB
  • references/data-rendering/preloading.md2.7 KB
  • references/data-rendering/README.md1.6 KB
  • references/data-rendering/render-optimizations.md1.7 KB
  • references/data-rendering/ssr.md5.2 KB
  • references/getting-started/comparison.md1.3 KB
  • references/getting-started/decisions-on-dx.md1.2 KB
  • references/getting-started/devtools.md1.3 KB
  • references/getting-started/faq.md1.5 KB
  • references/getting-started/installation-manual.md1.2 KB
  • references/getting-started/installation-with-esbuild.md1.9 KB
  • references/getting-started/installation-with-router-cli.md1.3 KB
  • references/getting-started/installation-with-rspack.md1.4 KB
  • references/getting-started/installation-with-vite.md1.8 KB
  • references/getting-started/installation-with-webpack.md1.7 KB
  • references/getting-started/migrate-from-react-location.md1.6 KB
  • references/getting-started/migrate-from-react-router.md1.3 KB
  • references/getting-started/overview.md1.1 KB
  • references/getting-started/quick-start.md817 B
  • references/getting-started/README.md1.9 KB
  • references/navigation/custom-link.md1.4 KB
  • references/navigation/custom-search-param-serialization.md1.6 KB
  • references/navigation/history-types.md1.3 KB
  • references/navigation/internationalization-i18n.md1.6 KB
  • references/navigation/link-options.md1.2 KB
  • references/navigation/links.md2.6 KB
  • references/navigation/navigation-blocking.md1.9 KB
  • references/navigation/navigation.md3.0 KB
  • references/navigation/path-params.md2.6 KB
  • references/navigation/README.md2.1 KB
  • references/navigation/route-masking.md1.9 KB
  • references/navigation/scroll-restoration.md2.0 KB
  • references/navigation/search-params.md2.6 KB
  • samples/auth-guard.md1.7 KB
  • samples/basic-file-routing.md1.6 KB
  • samples/basic-ssr.md2.2 KB
  • samples/code-based-routing.md1.4 KB
  • samples/code-splitting.md1.6 KB
  • samples/data-loading.md1.4 KB
  • samples/deferred-data.md1.5 KB
  • samples/navigation-blocking.md1.5 KB
  • samples/path-params.md1.3 KB
  • samples/query-integration.md3.1 KB
  • samples/README.md2.5 KB
  • samples/router-context.md1.5 KB
  • samples/search-params-validation.md1.5 KB
  • scripts/bundler-plugins.md3.9 KB
  • scripts/devtools.md1.3 KB
  • scripts/eslint.md859 B
  • scripts/install.md3.0 KB
  • scripts/README.md739 B
  • scripts/router-cli.md1.2 KB
  • scripts/scaffold.md621 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

TanStack Router リファレンス

TanStack Router (@tanstack/react-router) の公式ドキュメントを蒸留したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

対象 @tanstack/react-router 1.170.44(TanStack/router のリリースタグ release-2026-10-14-1451 で docs を pin、取得日 2026-10-17)。

ディレクトリ構成

skills/tanstack-router/
  SKILL.md
  references/
    getting-started/
      README.md
      overview.md
      quick-start.md
      devtools.md
      decisions-on-dx.md
      comparison.md
      faq.md
      installation-manual.md
      installation-with-vite.md
      installation-with-rspack.md
      installation-with-webpack.md
      installation-with-esbuild.md
      installation-with-router-cli.md
      migrate-from-react-router.md
      migrate-from-react-location.md
    core-routing/
      README.md
      routing-concepts.md
      route-trees.md
      route-matching.md
      file-based-routing.md
      virtual-file-routes.md
      code-based-routing.md
      file-naming-conventions.md
      url-rewrites.md
    navigation/
      README.md
      navigation.md
      links.md
      link-options.md
      custom-link.md
      path-params.md
      search-params.md
      custom-search-param-serialization.md
      route-masking.md
      navigation-blocking.md
      history-types.md
      scroll-restoration.md
      internationalization-i18n.md
    data-rendering/
      README.md
      data-loading.md
      deferred-data-loading.md
      external-data-loading.md
      data-mutations.md
      preloading.md
      document-head-management.md
      ssr.md
      render-optimizations.md
      code-splitting.md
      automatic-code-splitting.md
    configuration/
      README.md
      creating-a-router.md
      outlets.md
      router-events.md
      type-safety.md
      type-utilities.md
      router-context.md
      not-found-errors.md
      authenticated-routes.md
      static-route-data.md
    api/
      README.md
      create-router.md
      create-route.md
      create-file-route.md
      create-root-route.md
      create-root-route-with-context.md
      create-lazy-file-route.md
      lazy-route-component.md
      router-provider.md
      link.md
      outlet.md
      navigate.md
      use-router.md
      use-navigate.md
      use-params.md
      use-search.md
      use-loader-data.md
      use-loader-deps.md
      use-route-context.md
      use-match.md
      use-matches.md
      use-match-route.md
      use-router-state.md
      use-blocker.md
      use-location.md
      use-can-go-back.md
      redirect.md
      not-found.md
      router-options.md
      route-options.md
      router.md
      route-match.md
      parsed-location.md
      navigate-options.md
      link-options.md
      register.md
      error-component.md
      catch-boundary.md
      catch-not-found.md
      retain-search-params.md
      strip-search-params.md
      eslint-plugin-router.md
      create-route-property-order.md
      query.md
      defer.md
      await.md
      use-awaited.md
      get-route-api.md
      create-route-mask.md
      match-route.md
      client-only.md
      use-link-props.md
      use-child-matches.md
      use-parent-matches.md
      is-redirect.md
      is-not-found.md
      active-link-options.md
      async-route-component.md
      link-props.md
      match-route-options.md
      not-found-error.md
      parsed-history-state.md
      redirect-type.md
      route-api.md
      route-mask.md
      route.md
      router-events.md
      router-state.md
      to-mask-options.md
      to-options.md
      use-match-route-options.md
      view-transition-options.md
      create-lazy-route.md
      default-global-not-found.md
      history-state.md
      link-options-function.md
      not-found-component.md
      file-based-routing-config.md
  samples/
    README.md
    basic-file-routing.md
    code-based-routing.md
    search-params-validation.md
    path-params.md
    data-loading.md
    deferred-data.md
    auth-guard.md
    navigation-blocking.md
    query-integration.md
    code-splitting.md
    basic-ssr.md
    router-context.md
  scripts/
    README.md
    install.md
    scaffold.md
    bundler-plugins.md
    router-cli.md
    devtools.md
    eslint.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
導入・インストール(Vite/Rspack/Webpack/Esbuild/Router CLI)・React Router からの移行getting-startedreferences/getting-started/README.md
Devtools・設計思想(Decisions on DX)・他ライブラリとの比較・FAQgetting-startedreferences/getting-started/README.md
ファイル/コードベースルーティングの基本概念・ルートツリー構造・マッチング規則core-routingreferences/core-routing/README.md
ファイル命名規則($/_/(group) 等)・Virtual File Routes・URL Rewritescore-routingreferences/core-routing/README.md
Link / useNavigate / linkOptions / createLink によるナビゲーションnavigationreferences/navigation/README.md
Path Params / Search Params の型安全バリデーション・カスタムシリアライズnavigationreferences/navigation/README.md
Route Masking・Navigation Blocking・History 種別・スクロール復元・i18nnavigationreferences/navigation/README.md
loader / useLoaderData によるデータロード・Deferred Data・外部データ連携data-renderingreferences/data-rendering/README.md
Preloading・Document Head 管理・SSR・レンダリング最適化・Code Splittingdata-renderingreferences/data-rendering/README.md
createRouter の初期化オプション・Router Events・型安全性・Router Contextconfigurationreferences/configuration/README.md
Not Found エラー処理・beforeLoad による認証ガード・Static Route Dataconfigurationreferences/configuration/README.md
個別 API(フック・コンポーネント・関数・型)のシグネチャを正確に知りたいapireferences/api/README.md
型(ToOptions / RouterState / RouteApi / RedirectType / NotFoundError / ViewTransitionOptions 等)を調べたいapireferences/api/README.md
File-based routing generator 設定(routesDirectory / generatedRouteTree / routeToken / indexToken / autoCodeSplitting / routeFileIgnorePrefix 等)apireferences/api/README.md
defer / Await / useAwaited・ESLint プラグイン・TanStack Query 統合の APIapireferences/api/README.md
典型的な使い方(ファイルルーティング・認証ガード・SSR・Query 統合等)の実装例を知りたいsamplessamples/README.md
インストール・scaffold・bundler plugin 設定・CLI・Devtools・ESLint コマンドを知りたいscriptsscripts/README.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

amd-rocm

免费

AMD ROCm / HIP GPU コンピューティングリファレンス。 hipMalloc, hipLaunchKernelGGL, HIP Graph, hipGreenCtx, HIPRTC, hipify, rocBLAS, MIOpen, RCCL, hipThreads, libhipcxx, rocprofv3, amd-smi, rocminfo, TheRock / Core SDK 10, CDNA1-4 / RDNA1-4, MI300 / MI350 / MI350P, gfx942, Matrix Core, wave32/64。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

Android アプリ開発 (Kotlin) の推奨アーキテクチャリファレンス。 Jetpack, androidx, UI layer, Domain layer, Data layer, state holder, UDF, SSOT, オフラインファースト, モジュール化, ViewModel, viewModelScope, SavedStateHandle, Lifecycle, repeatOnLifecycle, collectAsStateWithLifecycle, LiveData, Hilt による DI, Paging 3 によるページング処理。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

Android アプリ開発 (Kotlin) のバックグラウンド・非同期処理リファレンス。 Jetpack androidx WorkManager: Worker, CoroutineWorker, WorkRequest, Constraints, WorkInfo, WorkContinuation, expedited work, テスト。 Service: フォアグラウンドサービス, バウンドサービス, AIDL, Messenger。 AlarmManager, PendingIntent, BroadcastReceiver, JobScheduler, Doze。 Kotlin コルーチン, Flow, StateFlow, SharedFlow, Channel。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

Android アプリ開発 (Kotlin) の Gradle ビルドシステムリファレンス。 Android Gradle Plugin (AGP), Kotlin DSL (build.gradle.kts), version catalog, KSP, R8/ProGuard, App Bundle, baseline profile。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

Android Jetpack Compose (Kotlin) の androidx Material3 コンポーネントリファレンス。 Button, IconButton, FloatingActionButton, Checkbox, Switch, Slider, TextField, SearchBar, DropdownMenu, Chip, DatePicker, TimePicker, Card, Scaffold, Dialog, BottomSheet, TopAppBar, NavigationBar, NavigationRail, Tab, Snackbar, ProgressIndicator, Badge, Icon, MaterialTheme, ColorScheme, Typography, Shapes。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

Android Jetpack Compose (Kotlin) のアニメーション・描画リファレンス。 androidx.compose.animation / graphics API。 AnimatedVisibility, AnimatedContent, animate*AsState, Animatable, AnimationSpec, Canvas, DrawScope, Brush, Path, Color, Image。

中文简介正在准备中。当前显示原文说明。

Fandhe-AI/agent-reference-skills42026年10月18日 更新

查看 Fandhe-AI 的全部技能

报告此技能的问题