What problem does it solve? Setting up authentication in TypeScript projects involves many moving parts—database adapters, session storage, OAuth providers, email flows, and plugin schemas—and small misconfigurations (like using table names instead of model names) cause hard-to-debug failures. This Skill provides a structured, version-aware reference for configuring Better Auth correctly. ## Core Features & Use Cases - Guided Setup Workflow: Step-by-step installation, environment variables, auth.ts creation, route handlers, and CLI migrations for built-in, Drizzle, and Prisma adapters. - Configuration Reference: Covers core options, session storage strategies (cookie cache, secondary storage, stateless mode), security settings, hooks, and rate limiting. - Plugin & Client Guidance: Tree-shakeable plugin imports, client setup for React/Vue/Svelte/Solid, and type inference patterns. - Use Case: You are adding email/password plus Google OAuth login to a Next.js app with a Drizzle/Postgres database. Use this Skill to generate the schema, run migrations, configure social providers, and avoid common pitfalls like forgetting to re-run the CLI after adding plugins. ## Quick Start Set up Better Auth in my Next.js project with email/password authentication and a PostgreSQL database using the Drizzle adapter.