better-auth
Installation
SKILL.md
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