Better auth
Skill georgekhananaev/claude-skills-vault/.claude/skills/better-auth
A curated collection of high impact skills for Claude Code designed to supercharge the senior full stack workflow. This vault automates the repetitive parts of development like architectural reviews, TDD cycles, and PR management so you can stay in flow. It is a force multiplier for shipping clean, production ready code at scale. 🚀⚡️
npx -y skills add georgekhananaev/claude-skills-vault --skill better-authAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Better Auth integration guide for TypeScript/JavaScript authentication. Covers server/client configuration, database adapters, session management, plugins, OAuth, and scaffolding auth from scratch. Use when setting up authentication with Better Auth, configuring auth.ts, adding OAuth providers, or creating sign-in/sign-up flows.
SKILL.md
1.6 KB, as published. Nobody here has run it
Better Auth Skills
Complete authentication setup and integration guide using Better Auth for TypeScript/JavaScript applications.
Available Sub-Skills
| Skill | File | Use When |
|---|---|---|
| Best Practices | best-practices-SKILL.md | Configuring Better Auth, database adapters, sessions, plugins, security |
| Create Auth | create-auth-SKILL.md | Scaffolding auth from scratch, adding login/signup to a project |
Quick Reference
Setup
npm install better-auth- Set
BETTER_AUTH_SECRETandBETTER_AUTH_URLenv vars - Create
auth.tswith database + config - Create route handler for your framework
- Run
npx @better-auth/cli@latest migrate
Supported Frameworks
Next.js (App/Pages Router), SvelteKit, Nuxt, Astro, Express, Hono, SolidStart
Supported Databases
PostgreSQL, MySQL, SQLite, MongoDB (via Prisma, Drizzle, or direct drivers)
Key Plugins
twoFactor, organization, passkey, magicLink, emailOtp, username, admin, apiKey, bearer, jwt, sso
Source
From better-auth/skills.