What problem does it solve? Setting up authentication in TypeScript projects involves many moving parts—database adapters, session storage, plugins, and environment variables—and misconfiguration leads to broken logins or security gaps. This Skill provides a structured reference for configuring Better Auth correctly the first time. ## Core Features & Use Cases - Server & Client Setup: Guides installation, auth.ts creation, route handlers, and framework-specific client imports for React, Vue, Svelte, and Solid. - Database & Session Management: Covers Drizzle, Prisma, and MongoDB adapters, secondary storage with Redis, cookie cache strategies (compact, JWT, JWE), and stateless mode. - Plugins & Security: Documents plugin imports for two-factor, organization, passkey, and magic link, plus rate limiting, CSRF, and secure cookie options. - Use Case: You are adding email/password and Google OAuth login to a TanStack Start app with a PostgreSQL database. Use this Skill to generate the auth.ts config, run the CLI migration, and wire up the React client with correct session handling. ## Quick Start Set up Better Auth in my TypeScript app with email and password login, a Drizzle database adapter, and session management.