What problem does it solve? Building multi-tenant applications requires complex logic for organizations, memberships, invitations, teams, and role-based permissions. This Skill provides guidance and enforcement rules for implementing all of these features correctly with Better Auth's organization plugin, avoiding common security pitfalls like removing the last owner. ## Core Features & Use Cases - Organization & Member Management: Create organizations, set active organizations, add or remove members, and assign multiple roles with configurable limits. - Invitations & Teams: Send invitation emails, generate shareable invitation URLs, and group members into teams with per-team limits. - RBAC & Dynamic Access Control: Use built-in owner/admin/member roles, check permissions client- or server-side, and create custom roles at runtime. - Use Case: You are building a SaaS dashboard where companies sign up, invite employees, and organize them into teams with different permission levels. This Skill guides the full Better Auth organization plugin setup, including hooks, schema customization, and security rules. ## Quick Start Set up Better Auth's organization plugin with teams, invitations, and role-based access control for my multi-tenant app.