Add rule files across all three skills (17 query, 21 router, 19 start)
covering caching defaults, mutation handling, prefetching, SSR hydration,
route context, deferred loading, navigation, and more. Update existing
TanStack Start rules to current APIs: Response.json instead of json(),
inputValidator instead of validator, the createHandlers callback form
for API routes, and Vite plugin configuration for deployment adapters.
Refresh README and SKILL.md rule counts to match.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B8MdFaHPciFLdpdhofyYiE
Symlink CLAUDE.md to AGENTS.md so they stay in sync automatically.
Add "Use when" sections to each skill, agent compatibility note,
and streamline the usage section.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace manual dehydrate/hydrate with setupRouterSsrQueryIntegration
- Remove outdated client.tsx/ssr.tsx entry file examples
- Add tanstackStart() Vite plugin as entry point handler
- Add router-default-options rule (scrollRestoration, defaultErrorComponent, etc.)
- Update all examples to use getRouter() pattern
- Change SSR integration priority from LOW to CRITICAL
Based on react-tanstarter reference implementation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged unique content (common scenarios, code review checklist) into
AGENTS.md. CLAUDE.md now points to AGENTS.md to avoid duplication.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The previous pattern used createAPIFileRoute which is deprecated.
Updated to use createFileRoute with server.handlers property which
is the current API for server routes in TanStack Start.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Comprehensive best practices for TanStack Query, Router, and Start.
Skills included:
- tanstack-query: 14 rules for data fetching, caching, mutations
- tanstack-router: 9 rules for type-safe routing, data loading
- tanstack-start: 8 rules for server functions, auth, SSR
- tanstack-integration: 4 rules for combining Query + Router + Start
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>