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, security gaps, or schema mismatches. This Skill provides a structured reference for configuring Better Auth correctly the first time. ## Core Features & Use Cases - Server & Client Setup: Guides installation, environment variables, 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 session modes. - Plugins & Security: Documents tree-shakable plugin imports (twoFactor, organization, passkey, magicLink), rate limiting, CSRF settings, hooks, and common gotchas like model name vs table name mapping. - Use Case: You are adding email/password and Google OAuth login to a Next.js app with a Drizzle ORM database. Use this Skill to generate the auth.ts config, run the CLI schema generation, and wire up the client with correct plugin imports. ## Quick Start Set up Better Auth in my TypeScript project with email/password login, a Drizzle database adapter, and session cookie caching.