tanstack-start-best-practices

Installation
Summary

Best practices for full-stack React development with TanStack Start, covering server functions, middleware, SSR, and authentication.

  • Organizes 31 rules across 10 categories (server functions, security, middleware, authentication, SSR, error handling, and more) with priority levels to guide implementation order
  • Covers critical patterns for server-side logic, input validation, secure session management, and client-server boundary handling
  • Includes middleware composition, selective SSR configuration, streaming for performance, and environment-based configuration management
  • Each rule provides explanation, anti-patterns, recommended implementations, and contextual guidance for when to apply or skip
SKILL.md

TanStack Start Best Practices

Comprehensive guidelines for implementing TanStack Start patterns in full-stack React applications. These rules cover server functions, middleware, SSR, authentication, and deployment.

When to Apply

  • Creating server functions for data mutations
  • Setting up middleware for auth/logging
  • Configuring SSR and hydration
  • Implementing authentication flows
  • Handling errors across client/server boundary
  • Organizing full-stack code
  • Deploying to various platforms

Rule Categories by Priority

Related skills
Installs
5.9K
GitHub Stars
163
First Seen
Jan 20, 2026