better-auth/skills▌
6 approved skills in this repository
email-and-password-best-practices
AI/ML
Email verification, password reset flows, and customizable password policies for Better Auth. \n \n Supports email verification with optional enforcement to block sign-in until verified, plus configurable token expiration and single-use reset tokens \n Password reset flows with built-in security: background email sending, timing attack prevention, dummy operations on invalid requests, and optional session revocation on reset \n Configurable password length limits (default 8–256 characters) and c
create-auth-skill
Productivity
Scaffold and implement authentication in TypeScript/JavaScript apps with Better Auth framework detection, database adapter setup, and OAuth integration. \n \n Detects frameworks (Next.js, SvelteKit, Nuxt, Astro, Express, Hono), databases (Prisma, Drizzle, MongoDB, raw drivers), and existing auth libraries through project scanning \n Supports email/password, OAuth (Google, GitHub, Apple, Microsoft, Discord, Twitter), magic links, passkeys, and phone authentication with configurable email verifica
organization-best-practices
Productivity
Multi-tenant organization setup with member management, role-based access control, and team support via Better Auth. \n \n Configure organizations with customizable creation rules, membership limits, and ownership constraints; creators automatically receive the owner role \n Manage members and invitations with email delivery, expiration windows, and shareable invitation URLs; support multiple roles per member \n Define custom roles and permissions with dynamic access control; check permissions s
better-auth-security-best-practices
Productivity
better-auth-security-best-practices
better-auth-best-practices
Productivity
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration. \n \n Covers full workflow from installation through database migration, environment variable setup, and route handler creation across multiple frameworks \n Supports multiple database adapters (Prisma, Drizzle, MongoDB, direct connections) with critical guidance on model vs. table naming conventions \n Includes session storage strategies with secondary storage (Redis/KV)
two-factor-authentication-best-practices
Productivity
Multi-factor authentication with TOTP, OTP, backup codes, and trusted device management for Better Auth. \n \n Supports three verification methods: authenticator apps (TOTP with QR codes), email/SMS codes (OTP), and single-use backup codes \n Handles complete 2FA sign-in flows with automatic session management, temporary 2FA cookies, and trusted device tracking with configurable expiration \n Built-in security features including rate limiting (3 requests per 10 seconds), encryption at rest for s