What problem does it solve? Building secure authentication from scratch is error-prone and time-consuming. This Skill guides you through implementing login, signup, OAuth, 2FA, passkeys, and session management in TypeScript applications using the Better Auth framework, so you avoid common security pitfalls. ## Core Features & Use Cases - Multiple Auth Methods: Set up email/password, social OAuth (GitHub, Google), magic links, passkeys/WebAuthn, and username authentication. - Advanced Security: Add two-factor authentication (2FA/TOTP), rate limiting, and role-based access control via plugins. - Framework-Agnostic: Works with Next.js, Nuxt, SvelteKit, Remix, Astro, Hono, Express, and more. - Use Case: You are building a Next.js SaaS app that needs GitHub OAuth login plus email/password signup with email verification. This Skill walks you through server setup, database schema generation, client integration, and protected route middleware. ## Quick Start Ask the AI to set up Better Auth in your TypeScript project with email/password and GitHub OAuth login, including database schema and session management.