Skip to main content
Back to registry

tanstack-router-best-practices

deckardger/tanstack-agent-skills

Comprehensive guidelines for implementing TanStack Router patterns in React applications. These rules optimize type safety, data loading, navigation, and code organization.

Installs933
Install command
npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-router-best-practices
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Comprehensive guidelines for implementing TanStack Router patterns in React applications. These rules optimize type safety, data loading, navigation, and code organization. Each rule file in the rules/ directory contains: See individual rule files in rules/ directory for detailed guidance and code examples. - Setting up application routing - Creating new routes and layouts - Implementing search parameter handling - Configuring data loaders - Setting up code splitting - Integrating with TanStack Query - Refactoring navigation patterns - ts-register-router — Register router type for global inference - ts-use-from-param — Use from parameter for type narrowing - ts-route-context-typing — Type route context with createRootRouteWithContext - ts-query-options-loader — Use queryOptions in loaders for type inference - router-default-options — Configure router defaults (scrollRestoration, defaultErrorComponent, etc.) - org-file-based-routing — Prefer file-based routing for conventions - org-route-tree-structure — Follow hierarchical route tree patterns - org-pathless-layouts — Use pathless routes for shared layouts - org-index-routes — Understand index vs layout routes - org-virtual-routes — Understand virtual file routes - load-use-loaders — Use route loaders for data fetching - load-loader-deps — Define loaderDeps for cache control - load-ensure-query-data — Use ensureQueryData with...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does tanstack-router-best-practices do?

Comprehensive guidelines for implementing TanStack Router patterns in React applications. These rules optimize type safety, data loading, navigation, and code organization.

Is tanstack-router-best-practices good?

tanstack-router-best-practices does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does tanstack-router-best-practices work with?

tanstack-router-best-practices currently lists compatibility with codex, gemini-cli, opencode, cursor, amp, github-copilot.

What are alternatives to tanstack-router-best-practices?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install tanstack-router-best-practices?

npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-router-best-practices

Related skills

More from deckardger/tanstack-agent-skills

Related skills

Alternatives in Software Engineering