What problem does it solve? Integrating authentication into a TypeScript app involves many moving parts—session storage, OAuth providers, email flows, database adapters, and security settings. This Skill provides a condensed, accurate reference for configuring Better Auth correctly and avoiding common pitfalls like model-name mismatches and stale plugin schemas. ## Core Features & Use Cases - Configuration Reference: Covers core options, environment variables, database adapters (Prisma, Drizzle, MongoDB, SQL), and CLI commands for schema generation and migration. - Session & Security Guidance: Explains cookie cache strategies (compact, JWT, JWE), secondary storage, rate limiting, CSRF, and cross-subdomain cookies. - Plugin & Client Setup: Details tree-shakeable plugin imports (2FA, passkey, magic link, organization, SSO) and framework clients for React, Vue, Svelte, and Solid. - Use Case: When adding Google OAuth plus email/password login to a Next.js app with a Prisma database, use this Skill to configure the adapter, providers, session caching, and hooks without hitting the common gotchas. ## Quick Start Ask the AI to set up Better Auth with email/password and Google sign-in for your Next.js project using a Prisma database adapter.