Commit Graph

3 Commits

Author SHA1 Message Date
Deckard Gerritsen 33eea1cab2 Fix api-routes to use current createFileRoute API
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>
2026-01-16 16:00:11 +08:00
Deckard Gerritsen b281de6482 Add comprehensive missing patterns for all TanStack skills
TanStack Query (6 new rules):
- parallel-use-queries: useQueries for dynamic parallel queries
- mut-mutation-state: useMutationState for cross-component tracking
- cache-placeholder-vs-initial: Placeholder vs initial data differences
- network-mode: Offline support configuration
- query-cancellation: Proper AbortSignal usage
- persist-queries: Cache persistence for offline support

TanStack Router (5 new rules):
- err-not-found: Proper 404 handling with notFoundComponent
- load-parallel: Leverage parallel route loading
- nav-route-masks: Route masks for modal URLs
- org-virtual-routes: Virtual file routes understanding
- search-custom-serializer: Custom search param serializers

TanStack Start (5 new rules):
- api-routes: REST API endpoints for external consumers
- ssr-prerender: Static prerendering and ISR patterns
- ssr-streaming: Streaming SSR for faster TTFB
- deploy-adapters: Deployment adapter selection
- env-functions: Environment configuration patterns

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 15:47:10 +08:00
Deckard Gerritsen 25b0361992 Initial commit: TanStack Agent Skills
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>
2026-01-16 15:27:39 +08:00