organization-best-practices

Implement RBAC for multi-tenant organizations using Better Auth's organization plugin.

1|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/spike-land-ai/spike-land-ai --skill organization-best-practices-spike-land-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organization-best-practices
Source: https://github.com/spike-land-ai/spike-land-ai/tree/main/.agents/skills/organization-best-practices
Command: npx skills add https://github.com/spike-land-ai/spike-land-ai --skill organization-best-practices-spike-land-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides guidance and enforcement rules for implementing multi-tenant organizations, teams, and role-based access control using Better Auth's organization plugin.

Core Features & Use Cases

  • Templates and configurations to set up organizations, teams, roles, and invitations with robust security and lifecycle hooks.
  • Guidance on enforcing limits (organization, membership), dynamic access control, and safe deletion/lifecycle policies.
  • Real-world examples covering setup, client-side and server-side configurations, and governance workflows.

Quick Start

Configure the organization plugin with appropriate limits and permissions, then migrate the database to apply the changes.

Frequently Asked Questions about organization-best-practices

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

FAQPage Schema
How do I implement multi-tenant organizations with RBAC using Better Auth?

Set up multi-tenant organizations by configuring Better Auth's organization plugin with customizable limits, roles, permissions, and lifecycle hooks. Apply database migrations afterwards to enforce governance policies.

What is the best way to manage organization invitations and team membership limits?

Manage organization invitations and team limits by applying best-practice guidance for the Better Auth organization plugin. This enforces customizable membership limits and governs invitation workflows securely across admin and user access levels.

Can I customize roles and permissions for multi-tenant teams in Better Auth?

Yes, you can customize roles and permissions for multi-tenant teams in Better Auth. The organization plugin supports dynamic access control, allowing you to enforce specific governance policies and schema customization across your application.

Does Better Auth support organization lifecycle hooks and safe deletion policies?

Better Auth supports organization lifecycle hooks and safe deletion policies through its organization plugin. This allows you to enforce robust security and governance workflows during team management and organization modifications.

How do I configure client-side and server-side settings for multi-tenant organizations?

Configure client-side and server-side settings for multi-tenant organizations by using Better Auth's organization plugin templates. These templates provide real-world examples for setting up robust security and governance workflows.