better-auth/skills · two-factor-authentication-best-practices · SKILL.md
双因素认证最佳实践
配置TOTP认证器应用,通过电子邮件/短信发送OTP验证码,管理备用代码,处理受信任设备,并使用Better Auth的twoFactor插件实现2FA登录流程。适用于用户需要MFA、多因素认证、认证器设置或使用Better Auth进行登录安全时。
这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md
安装
通用(npx skills)
npx skills add better-auth/skills -s two-factor-authentication-best-practices
Cursor
把该 Skill 复制到项目的 .cursor/skills/two-factor-authentication-best-practices/ 目录
Claude Code
/plugin marketplace add better-auth/skills