Server-side authentication primitives for TanStack Start: session cookies (HttpOnly, Secure, SameSite, __Host- prefix), session read/issue/destroy via createServerFn and middleware, OAuth authorization-code flow with state and PKCE, password-reset enumeration defense, CSRF for non-GET RPCs, rate limiting auth endpoints, session rotation on privilege change. Pairs with router-core/auth-and-guards for the routing side.
$npx -y skills add tanstack/router --skill auth-server-primitivesInstalls into the current project.
Run `npx skills use "https://github.com/tanstack/router" --skill "tanstack/router/auth-server-primitives"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/tanstack/router" that are relevant to the current task. Run `npx skills add "https://github.com/tanstack/router"` and select the relevant skills, then follow their instructions.