What problem does it solve? Building server-side logic in TanStack Start requires correctly wiring createServerFn validators, handlers, and serialization rules, and mistakes like relying on route guards for auth or putting database queries in isomorphic loaders create real security holes. This Skill provides the rules, references, and templates to implement server functions correctly. ## Core Features & Use Cases - Server Function Creation: Guides createServerFn usage with GET/POST methods, Zod or plain-function validators, handlers, and strict serialization rules. - Security Enforcement: Covers auth inside handlers or middleware, CSRF protection via createCsrfMiddleware, and correct Cache-Control headers for authenticated responses. - Ready-Made Templates: Includes a full CRUD module and a FormData submission template with Zod validation and progressive enhancement. - Use Case: When adding a mutation that creates a post and redirects to a dashboard, use this Skill to build the server function with auth middleware, Zod validation, and the required useServerFn hook in the component. ## Quick Start Ask the agent to create a TanStack Start server function that validates input with Zod, enforces auth in the handler, and is called from a route loader.