tanstack-router-best-practices
Comprehensive guidelines for implementing type-safe routing and data loading patterns with TanStack Router in React.
Install
npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-router-best-practicesStats
| Total installs | 1,426 |
| Weekly installs | 1.4K |
| GitHub stars | 100 |
| First seen | Jan 20, 2026 |
| Source | @deckardger/tanstack-agent-skills |
Summary
- Covers 33 rules across 10 categories: type safety, route organization, data loading, search params, error handling, navigation, code splitting, preloading, and route context
- Emphasizes type inference through router registration, from parameters, and queryOptions integration to prevent runtime errors
- Includes data loading patterns with TanStack Query integration, deferred data splitting, and parallel route loading for optimized performance
- Provides search param validation, middleware configuration, and custom serializer setup for type-safe URL state management
- Organized by priority levels (critical, high, medium, low) with quick reference prefixes for easy rule lookup
Tags
Related skills
| Skill | Installs | vs tanstack-router-best-practices |
|---|---|---|
| flutter-adaptive-ui | 1,297 | -129 |
| nextjs-react-typescript | 1,343 | -83 |
| vue-development-guides | 1,549 | +123 |
| web-performance-optimization | 1,356 | -70 |
| sanity-best-practices | 1,446 | +20 |
FAQ
- How many installs does tanstack-router-best-practices have?
- tanstack-router-best-practices has 1,426 total installs and 1.4K installs this week.
- Where is tanstack-router-best-practices hosted?
- tanstack-router-best-practices is published by @deckardger/tanstack-agent-skills at https://github.com/deckardger/tanstack-agent-skills.
- How many GitHub stars does tanstack-router-best-practices have?
- tanstack-router-best-practices has 100 GitHub stars.
- When was tanstack-router-best-practices first indexed?
- OrangeBot.AI first indexed tanstack-router-best-practices on Jan 20, 2026.
- How do I install tanstack-router-best-practices?
- Run: npx skills add https://github.com/deckardger/tanstack-agent-skills --skill tanstack-router-best-practices