
Better Auth Best Practices
The better-auth-best-practices skill guides developers through configuring Better Auth, a TypeScript authentication library, including server and client setup, database adapter configuration, session management, and plugin integration. It's designed for developers building authentication systems with email/password or OAuth flows who need step-by-step setup instructions and configuration reference. The skill solves the problem of implementing secure, production-ready authentication by providing installation procedures, environment variable requirements, CLI commands, and core configuration options in one centralized guide.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 20
- skills.sh installs
- 131.4K
- GitHub stars
- 229
- last updated
- Jul 14, 2026
Install
$ npx -y skills add better-auth/skills --skill better-auth-best-practices --agent claude-codeInstalls into .claude/skills of the current project.
Files
Better Auth Integration Guide
Documentation Version
Use documentation that matches the Better Auth version installed in the project. APIs and plugin names can differ across maintained release lines.
- Prefer a version explicitly named by the user.
- Otherwise, inspect the resolved
better-authversion in the lockfile, falling back to the package manifest when no lockfile is available. - When the Better Auth MCP is available, call
get_docwith/llms.txtto resolve that package version to a documentation identifier. Pass the identifier to everysearch_docscall and pass result paths toget_docunchanged. - Without MCP, start at better-auth.com/llms.txt and follow the matching version index.
- Use the latest documentation only when the project version cannot be determined or the user explicitly asks about the latest release or an upgrade.
When planning an upgrade, separate guidance for the currently installed version from guidance for the target version.
Setup Workflow
Sponsors
Details
- Repository
- github.com/better-auth/skills
- Categories
- Backend & APIs, Security, Databases