email-and-password-best-practices

Set up email verification and password reset with Better Auth.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/TKlerx/webapp-template --skill email-and-password-best-practices-tklerx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-and-password-best-practices
Source: https://github.com/TKlerx/webapp-template/tree/main/.agents/skills/email-and-password-best-practices
Command: npx skills add https://github.com/TKlerx/webapp-template --skill email-and-password-best-practices-tklerx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @better-auth/cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of setting up secure user authentication using email and password verification, ensuring a strong foundation for secure user sign-ups and logins.

Core Features & Use Cases

  • Email Verification: Configure and send verification emails to validate user email addresses.
  • Password Reset Flows: Implement password reset functionality for secure credential recovery.
  • Password Policies: Enforce password policies for enhanced security.
  • Custom Hashing Algorithms: Utilize custom hashing algorithms for secure password storage.
  • Use Case: When creating a new application with user authentication, use this Skill to ensure secure login experiences with email and password verification.

Quick Start

Enable email and password authentication in your application settings and run the npx @better-auth/cli@latest migrate command.

Frequently Asked Questions about email-and-password-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up email verification and password reset flows using Better Auth?

To set up email verification and password reset flows, enable email and password authentication in your application settings and run the `npx @better-auth/cli@latest migrate` command to configure secure user sign-ups and logins.

What's the best way to enforce a password policy for user authentication?

The best way to enforce a password policy for user authentication is to use this Skill to apply built-in rules for enhanced security, ensuring strong credentials during user sign-up and secure credential recovery.

Do I need the Better Auth library to configure secure user login systems?

Yes, you need the Better Auth library to configure secure user login systems, as this Skill requires the `@better-auth/cli` dependency for its core authentication logic, email verification, and password reset functionality.

Can I use custom hashing algorithms for secure password storage with this setup?

Yes, you can use custom hashing algorithms for secure password storage, as the authentication setup supports custom hashing configurations to protect user credentials alongside standard email and password verification.

Why does email verification matter for secure user authentication?

Email verification matters for secure user authentication because it validates user email addresses, ensuring a strong foundation for secure user sign-ups and preventing unauthorized access during the login process.