Community生產力與協作github.com

better-auth/better-auth-security-best-practices

better-auth-security-best-practices — 一個可安裝的 AI 代理技能。

better-auth-security-best-practices 是什麼?

better-auth-security-best-practices 是一個專為 AI 代理設計的可安裝技能,專注於 better-auth 的身份驗證安全性最佳實踐。此技能提供清晰的指導原則,協助開發者在使用 better-auth 時避免常見的安全漏洞,如不當的密碼管理、Session 劫持或 API 金鑰洩露。它支援多種 AI 平台,包括 Claude Code、Cursor 和 Codex,並根據其 SKILL.md 文件中的詳細說明自動執行安全檢查與建議。透過此技能,AI 代理能更有效地與開發環境整合,確保 better-auth 的實施遵循行業標準的安全規範,從而減少潛在風險並提升應用程式的整體安全性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/better-auth/skills/tree/main/skills/better-auth-security-best-practices

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

better-auth-security-best-practices 是做什麼的?

better-auth-security-best-practices — 一個可安裝的 AI 代理技能。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

better-auth/better-auth-best-practices

Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables. Use when users mention Better Auth, betterauth, auth.ts, or need to set up TypeScript authentication with email/password, OAuth, or plugin configuration.

better-auth/create-auth-skill

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

better-auth/email-and-password-best-practices

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.

better-auth/organization-best-practices

Configure multi-tenant organizations, manage members and invitations, define custom roles and permissions, set up teams, and implement RBAC using Better Auth's organization plugin. Use when users need org setup, team management, member roles, access control, or the Better Auth organization plugin.

better-auth/two-factor-authentication-best-practices

Configure TOTP authenticator apps, send OTP codes via email/SMS, manage backup codes, handle trusted devices, and implement 2FA sign-in flows using Better Auth's twoFactor plugin. Use when users need MFA, multi-factor authentication, authenticator setup, or login security with Better Auth.

相關技能