better-auth-best-practices
Guide an agent through Better Auth configuration, database adapters, sessions, plugins and version-matched documentation.
Overview
The Better Auth best-practices skill provides an integration workflow for TypeScript authentication projects. Its instructions cover server and client configuration, environment variables, database adapters, framework route handlers and database schema changes. It also directs the agent to choose documentation that matches the package version actually installed in the project. That version check matters when applying setup examples or plugin guidance to an existing application. The skill is a set of implementation instructions, so the agent still needs to inspect the project’s framework, configuration and database workflow before proposing changes.
Getting started
Install the skill from its repository and provide the existing authentication configuration and package lockfile. Follow the documentation for the resolved Better Auth version and review any proposed database migration.
Compatibility and requirements
Designed for projects using Better Auth and TypeScript. Adapter and framework details depend on the project.
Things to know
Authentication settings and schema changes affect application access. Check proposed configuration against the installed version and the project’s migration process.
Skill instructions
Sources and documentation
- https://github.com/better-auth/skills/blob/main/better-auth/best-practices/SKILL.md
- https://github.com/better-auth/skills
Related MCP servers and skills
- Create Auth SkillAgent skill
- Supabase Postgres Best PracticesAgent skill
- Sanity Best PracticesAgent skill
- Better Mealie MCPMCP server
- napi - Better Software Architecture for the AI AgeMCP server
- Better DesignMCP server