组织最佳实践 是做什么的?
配置多租户组织、管理成员和邀请、定义自定义角色和权限、设置团队,并使用 Better Auth 的组织插件实现基于角色的访问控制(RBAC)。在用户需要组织设置、团队管理、成员角色、访问控制或 Better Auth 组织插件时使用。
配置多租户组织、管理成员和邀请、定义自定义角色和权限、设置团队,并使用 Better Auth 的组织插件实现基于角色的访问控制(RBAC)。在用户需要组织设置、团队管理、成员角色、访问控制或 Better Auth 组织插件时使用。
此技能旨在帮助开发者利用 Better Auth 的组织插件高效构建和管理多租户组织。它覆盖了从基本组织创建、成员邀请与角色分配,到高级功能如自定义角色权限、团队结构以及完整的基于角色的访问控制(RBAC)实现的全过程。该技能基于 Better Auth 的官方文档和实践总结,适用于所有支持 Better Auth 的平台(如 Node.js Web 应用),并通过清晰的步骤指导用户进行组织设置、成员管理、权限配置和团队协作,确保多用户应用的安全性和可扩展性。通过遵循这些最佳实践,开发者可以快速搭建一个健壮的多租户架构。
npx skills add https://github.com/better-auth/skills/tree/main/skills/organization-best-practicesInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
配置多租户组织、管理成员和邀请、定义自定义角色和权限、设置团队,并使用 Better Auth 的组织插件实现基于角色的访问控制(RBAC)。在用户需要组织设置、团队管理、成员角色、访问控制或 Better Auth 组织插件时使用。
This repo contains 5 individual skills — each has its own dedicated page.
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-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 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.