Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.
Install
npx skills add better-auth/skills --skill better-auth-best-practicesnpx skills add better-auth/skills --skill better-auth-best-practices -a claude-code -gnpx skills add better-auth/skills --skill better-auth-best-practices -a codex -ggemini skills install https://github.com/better-auth/skills.git --path better-auth/best-practicesgh skill install better-auth/skills better-auth-best-practicesgit clone --depth 1 https://github.com/better-auth/skills /tmp/better-auth__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/better-auth__skills/better-auth/best-practices ~/.claude/skills/better-auth-best-practices # Claude Code
cp -R /tmp/better-auth__skills/better-auth/best-practices ~/.agents/skills/better-auth-best-practices # Codex, Cursor, Gemini CLI, Copilot, OpenCode