organization-best-practices

Configure multi-tenant organizations with Better Auth, managing members, roles, permissions, and teams.

567|82|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/pedronauck/skills --skill organization-best-practices-pedronauck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organization-best-practices
Source: https://github.com/pedronauck/skills/tree/main/skills/organization-best-practices
Command: npx skills add https://github.com/pedronauck/skills --skill organization-best-practices-pedronauck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the complex process of setting up and managing multi-tenant organizations, including user roles, permissions, teams, and access control within an application.

Core Features & Use Cases

  • Organization & Member Management: Configure multi-tenant organizations, manage members, and handle invitations.
  • Role-Based Access Control (RBAC): Define custom roles and permissions to implement granular access control.
  • Team Management: Set up and manage teams within organizations for better collaboration.
  • Use Case: A SaaS platform needs to allow its users to create their own workspaces (organizations), invite team members, and assign specific roles (e.g., admin, editor) to control what each member can do within that workspace.

Quick Start

Configure the organization plugin with default settings and run the migration command.

Frequently Asked Questions about organization-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up multi-tenant organizations with role-based access control?

Multi-tenant organizations with RBAC are configured by setting up the Better Auth organization plugin on both server and client sides, defining custom roles, and running database migrations. This enables dynamic access control for scalable SaaS applications.

What is the best way to manage user invitations and teams within a SaaS workspace?

Managing user invitations and teams is handled through the organization plugin's member management features. Administrators configure multi-tenant workspaces, invite members, and assign custom roles to control collaboration and access.

Does implementing multi-tenancy require database migrations?

Implementing multi-tenancy requires running database migrations to update your schema for organization, team, and member structures. You must execute the migration command after configuring both server-side and client-side plugin settings.

Can I define custom permissions for different roles in a multi-tenant application?

Custom permissions for different roles can be defined using the plugin's role-based access control features. This allows you to implement granular, dynamic access control so members only interact with authorized resources within their organization.

Why use a dedicated organization plugin for multi-tenant workspace management?

A dedicated organization plugin streamlines complex multi-tenant workspace setup by providing built-in RBAC, team management, and invitation handling. This avoids building custom access control logic from scratch for scalable SaaS platforms.