Better Auth Organization Plugin
技能 活跃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.
Streamline the setup and administration of multi-tenant organizations, enabling fine-grained access control and team management within applications using Better Auth.
功能
- Configure multi-tenant organizations
- Manage members and invitations
- Define custom roles and permissions
- Set up teams
- Implement RBAC
使用场景
- Set up new organizations
- Manage user roles and team memberships
- Control access to resources via RBAC
- Implement invitation flows for new members
非目标
- Managing application-specific business logic
- Directly interacting with third-party services outside of authentication
- Core user authentication beyond role/permission assignment
工作流
- Setup Better Auth server and client plugins
- Run database migrations
- Configure organization settings (limits, creation rules)
- Create organizations, invite members, and assign roles/teams
- Check permissions and implement dynamic access control
实践
- RBAC
- Multi-tenancy
- Access Control
- User Management
先决条件
- Better Auth server configured with the organization plugin
- Better Auth client configured with the organization client plugin
- Database migration run via `@better-auth/cli`
Trust
- warning:Issues AttentionThere is 1 open issue and 0 closed issues in the last 90 days, indicating slow response or low engagement from maintainers.
Compliance
- info:GDPRThe skill handles user-related data (emails, IDs, roles), which may include personal data. While not explicitly submitting to third parties, careful handling and sanitization by the user's application are advised.
安装
npx skills add better-auth/skills通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。
质量评分
类似扩展
Azure Rbac
88Helps users find the right Azure RBAC role for an identity with least privilege access, then generate CLI commands and Bicep code to assign it. Also provides guidance on permissions required to grant roles. WHEN: bicep for role assignment, what role should I assign, least privilege role, RBAC role for, role to read blobs, role for managed identity, custom role definition, assign role to identity, what role do I need to grant access, permissions to assign roles.
Vercel Security Access
75Vercel security and access controls including RBAC, SSO, deployment protection, firewall, bot defense, audit logs, and 2FA. Use when securing Vercel projects or managing access.
Digitalocean Teams
75DigitalOcean Teams and Organizations for billing, access control, roles, and membership. Use when managing team structure, permissions, and organization-wide billing on DigitalOcean.
Netlify Identity
100用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。
Mongodb Mcp Setup
100指导用户配置关键的 MongoDB MCP 服务器选项。当用户已安装 MongoDB MCP 服务器但未配置必需的环境变量,或当他们询问连接到 MongoDB/Atlas 但未设置凭据时,请使用此技能。
Auth0 Express OAuth2 JWT Bearer
100Use when adding Auth0 token validation to Express or Node.js APIs - integrates express-oauth2-jwt-bearer SDK to protect Node.js API endpoints with JWT Bearer authentication, scope-based RBAC, claim validation, and optional DPoP support