organization-best-practices

Configure multi-tenant organizations, manage members and roles with Better Auth.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/mahou-labs/shiru --skill organization-best-practices-mahou-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organization-best-practices
Source: https://github.com/mahou-labs/shiru/tree/main/.agents/skills/organization-best-practices
Command: npx skills add https://github.com/mahou-labs/shiru --skill organization-best-practices-mahou-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers implement robust multi-tenant organization management by configuring an organization plugin, handling members, invitations, roles, and teams with RBAC in Better Auth.

Core Features & Use Cases

  • Organization setup and lifecycle management with per-organization scope.
  • Member invitations, role-based access control, and team management to structure collaboration.
  • Customizable schemas and hooks to adapt to complex enterprise needs and security requirements. Use case: SaaS apps needing tenant isolation can automatically create organizations, grant owner/admin/member roles, and enforce access control across resources.

Quick Start

Configure the Better Auth organization plugin in your server and client, then create an organization and invite members to begin.

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 Better Auth?

Multi-tenant organizations with Better Auth are set up by configuring the organization plugin on your server and client, creating an organization, and inviting members to establish per-organization access control.

Can I define custom roles and permissions for RBAC in a Better Auth organization?

Yes, you can define custom roles and permissions with Better Auth to enforce role-based access control, granting specific access levels like owner, admin, or member across organizational resources.

What is the best way to manage member invitations for a SaaS app using Better Auth?

The best way to manage member invitations in Better Auth is through its organization plugin, which handles team management and invitation workflows to structure collaboration within your SaaS application.

Does Better Auth support customizable schemas for multi-tenant team management?

Yes, Better Auth supports customizable schemas and hooks for organizations and members, allowing you to adapt multi-tenant team management to complex enterprise needs and security requirements.

When do I need multi-tenant access control with lifecycle hooks in Better Auth?

You need multi-tenant access control with lifecycle hooks in Better Auth when building SaaS apps requiring tenant isolation, per-organization scope, and automated responses to organization setup events.