What problem does it solve? Setting up TypeScript authentication with Better Auth involves many moving parts—environment variables, database adapters, session storage, plugins, and framework-specific clients—and misconfiguration leads to broken sessions, schema mismatches, or security gaps. ## 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, MongoDB, and direct SQL adapters, plus session storage strategies including secondary storage, cookie caching, and stateless mode. - Plugins & Security: Documents plugin imports for two-factor, organization, passkey, and OAuth, along with rate limiting, CSRF, and secure cookie configuration. - Use Case: When adding email/password and Google OAuth login to a TanStack Start app with a Drizzle database, use this Skill to generate the correct auth.ts config, run the CLI migration, and wire up the client. ## Quick Start Set up Better Auth in my TypeScript app with email and password sign-in, a Drizzle database adapter, and session management.