What problem does it solve? Setting up TypeScript authentication with Better Auth involves many moving parts—database adapters, session storage, plugins, and CLI migrations—and misconfigurations cause subtle bugs. This Skill provides a structured reference so you configure Better Auth correctly the first time. ## Core Features & Use Cases - 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 management (cookie cache strategies, secondary storage), email flows, security settings, hooks, and plugins like twoFactor, organization, and magicLink. - Use Case: You are adding email/password plus Google OAuth to a TanStack Start app with a Drizzle/Postgres backend. Use this Skill to generate the schema, configure social providers, set up session cookie caching, and avoid the model-name vs table-name pitfall. ## Quick Start Use the better-auth-best-practices skill to set up Better Auth with email/password and the organization plugin in my TypeScript project.