What problem does it solve? Setting up authentication in TypeScript applications involves many decisions—email/password, OAuth, two-factor, passkeys, sessions, and database adapters—and misconfigurations cause subtle bugs. This Skill provides a structured integration guide for projects that have chosen or are evaluating Better Auth. ## Core Features & Use Cases - Configuration Guidance: Covers installation, environment variables, server setup with Drizzle/Prisma adapters, and CLI schema generation and migration. - Feature Selection Matrix: Maps features like OAuth, TOTP two-factor, passkeys, magic links, and organizations to the exact plugins required. - Framework Integration: Includes Next.js route handlers, middleware protection, React client usage, session management strategies, and type-safe session inference. - Use Case: You are adding authentication to a Next.js app with a PostgreSQL database. Use this Skill to configure email/password plus GitHub OAuth, generate the schema with the CLI, mount the API handler, and protect dashboard routes with middleware. ## Quick Start Ask the AI to integrate Better Auth into your TypeScript project with email and password sign-in and GitHub OAuth.