tanstack-start-best-practices
π―Skillfrom deckardger/tanstack-agent-skills
Best practices for building applications with TanStack Start, covering routing, data loading, server functions, and SSR patterns.
Overview
TanStack Start Best Practices is a skill from the TanStack Agent Skills collection that provides structured guidelines for building full-stack React applications with TanStack Start. It covers server functions, middleware, SSR, authentication, and error handling with 29+ rules organized by priority level.
Key Features
- Server function patterns β Critical-priority rules for
createServerFnusage, input validation, and CSRF protection - Middleware and authentication β High-priority guidelines for request and function middleware, session management, and route protection
- SSR and error handling β Medium-priority rules for hydration safety, streaming, server errors, and redirects
- Integration with TanStack ecosystem β Part of a comprehensive skill set that also covers TanStack Query, TanStack Router, and their integration patterns
Who is this for?
This skill is for developers building full-stack React applications with TanStack Start who want AI coding agents to follow established best practices. It is particularly valuable for teams adopting TanStack Start and wanting consistent, secure patterns for server functions, authentication, and SSR from the start.
Same repository
deckardger/tanstack-agent-skills(4 items)
Installation
npx vibeindex add deckardger/tanstack-agent-skills --skill tanstack-start-best-practicesnpx skills add deckardger/tanstack-agent-skills --skill tanstack-start-best-practices~/.claude/skills/tanstack-start-best-practices/SKILL.mdSKILL.md
More from this repository3
Provides TanStack Query best practices for data fetching, caching, mutations, and server state management in React applications
Provides TanStack Router best practices for building type-safe routing in React applications, covering route configuration, code splitting, and navigation patterns.
TanStack integration best practices covering TanStack Query, Router, and Start with structured guidelines across 32+ rules for data fetching, caching, and state management.