本文へ移動
cccskills
無料GitHub で公開

tanstack-router

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

createRouter, createFileRoute, createRootRoute, createLazyFileRoute, 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。

インストール方法を見る

含まれるファイル(135)

  • SKILL.md7.3 KB
  • references/api/await.md1016 B
  • references/api/catch-boundary.md1.0 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-root-route-with-context.md977 B
  • 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/defer.md1.0 KB
  • references/api/error-component.md964 B
  • references/api/eslint-plugin-router.md737 B
  • references/api/get-route-api.md962 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.md904 B
  • references/api/link.md1.0 KB
  • references/api/match-route.md910 B
  • references/api/navigate-options.md1.2 KB
  • references/api/navigate.md713 B
  • references/api/not-found.md958 B
  • references/api/outlet.md583 B
  • references/api/parsed-location.md1.0 KB
  • references/api/query.md1.3 KB
  • references/api/README.md6.3 KB
  • references/api/redirect.md1.0 KB
  • references/api/register.md643 B
  • references/api/retain-search-params.md908 B
  • references/api/route-match.md1.5 KB
  • references/api/route-options.md1.7 KB
  • references/api/router-options.md1.4 KB
  • references/api/router-provider.md967 B
  • references/api/router.md1.9 KB
  • references/api/strip-search-params.md1.1 KB
  • 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.md1.1 KB
  • references/api/use-match.md1.1 KB
  • references/api/use-matches.md1.1 KB
  • references/api/use-navigate.md1007 B
  • 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/configuration/authenticated-routes.md1.5 KB
  • references/configuration/creating-a-router.md4.5 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.md1.9 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.6 KB
  • references/core-routing/url-rewrites.md2.2 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.7 KB
  • references/data-rendering/document-head-management.md2.6 KB
  • references/data-rendering/external-data-loading.md2.0 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.md4.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.1 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.4 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.5 KB
  • samples/auth-guard.md1.7 KB
  • samples/basic-file-routing.md1.6 KB
  • samples/basic-ssr.md1.8 KB
  • samples/code-based-routing.md1.4 KB
  • samples/code-splitting.md1.6 KB
  • samples/data-loading.md1.4 KB
  • samples/deferred-data.md1.4 KB
  • samples/navigation-blocking.md1.5 KB
  • samples/path-params.md1.3 KB
  • samples/query-integration.md2.0 KB
  • samples/README.md2.1 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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

TanStack Router リファレンス

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

ディレクトリ構成

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
  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
defer / Await / useAwaited・ESLint プラグイン・TanStack Query 統合の APIapireferences/api/README.md
典型的な使い方(ファイルルーティング・認証ガード・SSR・Query 統合等)の実装例を知りたいsamplessamples/README.md
インストール・scaffold・bundler plugin 設定・CLI・Devtools・ESLint コマンドを知りたいscriptsscripts/README.md

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

amd-rocm

無料日本語概要

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

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

android-architecture

無料日本語概要

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月11日 更新

android-background-work

無料日本語概要

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月11日 更新

android-build-gradle

無料日本語概要

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月11日 更新

android-compose-components

無料日本語概要

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月11日 更新

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月11日 更新

Fandhe-AI のスキルをすべて見る

このスキルの問題を報告する