better-auth-最佳實踐 是做什麼的?
配置 Better Auth 伺服器與客戶端,設定資料庫適配器,管理會話,新增外掛程式,以及處理環境變數。當使用者提及 Better Auth、betteauth、auth.ts 或需要設定使用電子郵件/密碼、OAuth 或外掛程式配置的 TypeScript 驗證時使用。
配置 Better Auth 伺服器與客戶端,設定資料庫適配器,管理會話,新增外掛程式,以及處理環境變數。當使用者提及 Better Auth、betteauth、auth.ts 或需要設定使用電子郵件/密碼、OAuth 或外掛程式配置的 TypeScript 驗證時使用。
此技能專為開發者與 AI 代理工具(如 Claude Code、Cursor、Codex 等)設計,提供關於 Better Auth 的完整配置指南。Better Auth 是一個 TypeScript 驗證函式庫,支援電子郵件/密碼登入、OAuth 等多種驗證方式,並可通過外掛程式擴充功能。技能涵蓋了從伺服器端與客戶端初始化、資料庫適配器(如 Prisma、Drizzle 等)設定、會話管理,到環境變數配置與常用外掛程式整合的完整流程。它幫助開發者避免常見的配置錯誤,確保驗證系統安全且可擴展。此技能支援任意平台,僅需使用者明確提及相關關鍵字(如 Better Auth、betteauth、auth.ts)即可觸發,並根據 SKILL.md 文件中的最佳實踐提供結構化步驟。
npx skills add https://github.com/better-auth/skills/tree/main/skills/better-auth-best-practicesInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
配置 Better Auth 伺服器與客戶端,設定資料庫適配器,管理會話,新增外掛程式,以及處理環境變數。當使用者提及 Better Auth、betteauth、auth.ts 或需要設定使用電子郵件/密碼、OAuth 或外掛程式配置的 TypeScript 驗證時使用。
This repo contains 5 individual skills — each has its own dedicated page.
better-auth-security-best-practices — an installable skill for AI agents.
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.
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.
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.
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.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.