What problem does it solve? Adding authentication to a TanStack React Start app requires wiring Clerk through two server-executed layers (createServerFn and beforeLoad), and common mistakes like missing clerkMiddleware, wrong import paths, or returning instead of throwing redirects cause silent auth failures. ## Core Features & Use Cases - Route Protection: Guard routes with beforeLoad checks that call auth() inside createServerFn and throw redirects for unauthenticated users, including layout-route guards that protect entire route groups. - Server Functions & Loaders: Pass userId and orgId through route context into loaders, build org-scoped data fetching, and protect API routes with 401 responses. - Vinxi Setup: Configure clerkMiddleware in start.ts and ClerkProvider in the root route so auth() works across server functions. - Use Case: You need to protect a /dashboard route so unauthenticated visitors are redirected to /sign-in; the Skill provides the exact createServerFn + beforeLoad pattern with correct imports. ## Quick Start Ask the AI to protect a TanStack Start route with Clerk authentication using beforeLoad and a server function that redirects unauthenticated users to the sign-in page.