Skip to content
AI Primer

email-and-password-best-practices

better-authby better-auth19 days ago189

Configure email verification, implement password reset flows, set password policies, and customise hashing algorithms for Better Auth email/password authentication. Use when users need to set up login, sign-in, sign-up, credential authentication, or password security with Better Auth.

Install

npx skills add https://github.com/better-auth/skills --skill email-and-password-best-practices
Show step-by-step
  1. 1

    Open your terminal

    • Mac: Press ⌘ Space, type "Terminal", press Enter
    • Windows: Press Win R, type "cmd", press Enter
  2. 2

    Paste the command above and press Enter

    Use the Copy command button, then paste in your terminal (Mac: ⌘V, Windows: Ctrl V).

  3. 3

    Restart Claude Code

    Close and reopen Claude Code, or start a new session, so it picks up the new skill.

Where it lives
~/.claude/skills/better-auth--skills--better-auth--emailandpassword/
├── SKILL.md
└── ... (skill resource files)
View on GitHub

Always review skill code before installing. Third-party skills may contain scripts that run on your machine.

First 3 tasks to try

  1. 1Enable email/password:
    `emailAndPassword: { enabled: true }`
  2. 2Configure emailVerification.sendVerificationEmail
    Configure `emailVerification.sendVerificationEmail`
  3. 3Add sendResetPassword for password reset flows
    Add `sendResetPassword` for password reset flows

Related skills