better-auth-best-practices
Guides setup of Better Auth server/client, DB adapters, sessions, plugins, and env vars. Uses CLI migrate/generate and docs reference. Delivers a secure, working TypeScript auth integration with email/password or OAuth.
Skill Relationships
Skill → Skill usage relationships, with cross-layer references. Same color blocks indicate the same skill form.
Skill Composition
Each skill is designed for a specific kind of caller — some only fire when you name them, others load automatically when the model judges them relevant. The split below summarises both modes at a glance.
These skills only fire when you call them by name. The agent will not load them on its own — they stay inert until invoked.
These skills are loaded automatically by the agent when it judges the context relevant. You usually don't need to call them yourself.
Skill List
Guides setup of Better Auth server/client, DB adapters, sessions, plugins, and env vars. Uses CLI migrate/generate and docs reference. Delivers a secure, working TypeScript auth integration with email/password or OAuth.
Provides security best practices for Better Auth: secret management, rate limiting, CSRF, trusted origins, session/cookie security, OAuth token encryption, IP tracking, and audit logging. Delivers hardened auth configs and a production checklist to prevent attacks and protect user data.
Scaffolds and implements authentication in TS/JS apps using Better Auth. Detects frameworks, configures DB adapters, route handlers, OAuth, and auth UI. Outputs a planned, step-by-step integrated auth setup, accelerating secure login/sign-up delivery.
Configures Better Auth email/password auth: verification, reset flows, policies, hashing. Provides TS code and CLI migrate. Delivers secure, validated credential login.
Configures multi-tenant orgs, members, invitations, teams and RBAC via Better Auth organization plugin. Provides setup steps, code samples, limits and security tips. Value: fast, secure org/access-control implementation.
Configures TOTP authenticator apps, email/SMS OTP, backup codes, trusted devices, and 2FA sign-in flows using Better Auth's twoFactor plugin. Provides setup steps, code snippets, and security configs. Delivers hardened MFA for TypeScript apps with secure session and recovery.
Installation
Copy and run in your terminal to add better-auth/skills to your Agent environment.
npx skills add better-auth/skills