What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

email-and-password-best-practices: a Claude Code skill by Better Auth

Official

For TypeScript developers adding email and password login with Better Auth. Skip it if your app uses another auth library or only social sign-in.

Score
75of 100
Rank
#120of 239
Installs
50.1Kon skills.sh
Security
Mixed 5 scanners
Updated
2026
Context
~79tokens always

Install

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

Run it in your terminal. View the source

Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app

What does email-and-password-best-practices do?

email-and-password-best-practices is a Claude skill that sets up email and password sign-in for apps built on Better Auth. It walks Claude through five steps: turn on emailAndPassword, add a sendVerificationEmail function, add sendResetPassword for reset links, run npx auth@latest migrate, then test a sign-up. It covers blocking sign-in until the email is verified, absolute callback URLs, reset token lifetime, single-use tokens, ending all sessions after a reset, and minimum and maximum password length. Hashing uses scrypt by default. It shows how to swap in Argon2id through custom hash and verify functions, and warns that existing users cannot sign in after a switch without a migration plan.

When should you use email-and-password-best-practices?

Use it when

  • Adding sign-up, sign-in and password reset to a Better Auth app
  • Requiring verified email before users can log in
  • Switching password hashing to Argon2id

Skip it when

  • Your project does not use Better Auth
  • You only offer OAuth or magic link sign-in

What it needs and what it can touch

You need

  • A project using Better Auth
  • Your own function or service for sending email

What it can do

  • Edits your Better Auth configuration files
  • Runs the Better Auth migration through npx

From reading its instructions, not from running it.

Why it scores 75

Strongest on upkeep (100 of 100), weakest on adoption (46).

  • Adoption35 points 46
  • Upkeep20 points 100
  • Trust20 points 82
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

Is email-and-password-best-practices safe to install?

At least one scanner raised a medium warning. Read the results below. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.

ScannerResultDate
Gen Agent Trust HubPassedSep 15, 2026
SocketPassedSep 15, 2026
SnykLow riskSep 15, 2026
RunlayerMedium riskMar 3, 2026
ZeroLeaksPassedApr 16, 2026

Details

Installs
50,138
Repository stars
229
Last repository change
Tokens always loaded
about 79
Tokens when used
about 1,419
License
Not stated
Data confidence
High

Alternatives to email-and-password-best-practices

All skills for this job