tanstack-start-auth
Installation
SKILL.md
TanStack Start + Better Auth
Single skill for library configuration and Start-specific wiring in FMC apps (TILDA, Trassenscout migration, etc.).
When to apply
- Creating or changing
betterAuth()/createAuthClient()config - Mounting
/api/auth/*,tanstackStartCookies()plugin, OAuth sign-in routes beforeLoadgates,endpointAuth, session in server functions or API handlers- Public vs protected server functions (
public*.functions.tsnaming) - API key + session dual auth on automation endpoints
References (read as needed)
| Topic | File |
|---|---|
| TanStack routes, cookies, session helpers, TILDA patterns | references/auth.md |
| Trassenscout auth lint pattern | references/endpoint-auth-lint.md |
| betterAuth options, DB, plugins, sessions, hooks | references/better-auth-config.md |