Back to Skills

tanstack-start-best-practices

TanStack Start best practices for full-stack React applications. Server functions, middleware, SSR, authentication, and deployment patterns. Activate when building full-stack apps with TanStack Start.

149stars17forksUpdated 4/30/2026

Security Assessment

Medium Risk(50/100)

Detected risks:

Secret Exposure([rules/sf-input-validation.md] password =, [rules/sf-input-validation.md] Password =, [rules/auth-session-management.md] token =)
Sensitive File Access([rules/file-separation.md] .env, [rules/auth-session-management.md] .env, [rules/env-functions.md] .env)
Security Score50/100

About tanstack-start-best-practices

The 'tanstack-start-best-practices' skill provides a comprehensive set of best practices for building full-stack React applications using TanStack Start. It aims to guide developers in implementing industry-standard patterns across critical areas such as server functions, middleware, server-side rendering (SSR), authentication, and deployment. By following these best practices, developers can ensure their applications are secure, efficient, and maintainable, reducing common pitfalls in full-stack development.

FAQ

What are the key areas covered by this skill?

This skill covers server functions, middleware, SSR, authentication, error handling, environment management, file organization, and deployment strategies.

Is this skill compatible with all React projects?

This skill is specifically designed for full-stack React applications built with TanStack Start and may not be directly applicable to other frameworks or setups.

What are the prerequisites for using this skill?

You need to be building a full-stack React application with TanStack Start, and familiarity with the framework's conventions will be helpful.

Can I use these practices in other types of React applications?

While these practices are tailored for TanStack Start, many principles like authentication, SSR, and error handling are generalizable to other React setups.

Are there any limitations to the practices outlined?

The practices outlined are specific to TanStack Start, and some of the recommendations may not directly apply to other environments or frameworks.

All Files

14 files
rules/err-server-errors.md4.9 KB
View
rules/ssr-streaming.md5.4 KB
View
rules/sf-create-server-fn.md3.9 KB
View
rules/auth-route-protection.md4.5 KB
View
rules/file-separation.md4.1 KB
View
rules/sf-input-validation.md4.5 KB
View
rules/auth-session-management.md4.9 KB
View
rules/env-functions.md5.3 KB
View
rules/ssr-prerender.md4.9 KB
View
rules/ssr-hydration-safety.md4.8 KB
View
rules/api-routes.md6.7 KB
View
rules/deploy-adapters.md4.1 KB
View
SKILL.md4.0 KB
View
rules/mw-request-middleware.md4.3 KB
View

Install tanstack-start-best-practices

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill