organization-best-practices

Manages multi-tenant organizations, roles, teams, and users in Better, the code editor.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/TKlerx/webapp-template --skill organization-best-practices-tklerx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: organization-best-practices
Source: https://github.com/TKlerx/webapp-template/tree/main/.agents/skills/organization-best-practices
Command: npx skills add https://github.com/TKlerx/webapp-template --skill organization-best-practices-tklerx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires better-auth, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the setup and management of organizations, members, roles, and permissions using the Better Auth organization plugin, solving the challenges of team management and access control.

Core Features & Use Cases

  • Multi-Tenant Organization Setup: Configure and manage multi-tenant organizations with ease.
  • Role-Based Access Control (RBAC): Implement fine-grained access control based on roles.
  • Team Management: Create and manage teams within organizations.
  • Use Case: If you need to set up an organization with different teams and assign specific roles and permissions to members, this Skill will streamline the process.

Quick Start

Use the organization-best-practices skill to set up a new organization with a 'my-org' slug and assign an 'owner' role to the current user.

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 organization setup with Better Auth is configured by creating an organization using a specific slug and assigning initial roles to users. This process establishes the foundational tenant structure for your application.

How does role-based access control work for team management in Better Auth?

Role-based access control in Better Auth assigns fine-grained permissions to organization members based on their roles. You can create teams within an organization and manage user memberships to enforce specific access levels.

Do I need the Better Auth organization plugin to manage user permissions?

Yes, managing user permissions and multi-tenant setups requires the Better Auth library with the organization plugin installed. The plugin provides the necessary framework for role-based access control and team management.

What is the best way to structure teams and assign an owner role in Better Auth?

The best way to structure teams in Better Auth is to create an organization with a unique slug and assign an owner role to the current user. This establishes clear administrative control over the multi-tenant environment.

Can I manage fine-grained access control for specific teams within a Better Auth organization?

Yes, you can manage fine-grained access control by creating teams within your Better Auth organization and assigning specific roles and permissions to individual members. This allows detailed administrative workflow configuration.

Are there limitations when configuring multi-tenant organization setups in Better Auth?

Configuring multi-tenant organizations is limited to the administrative workflows supported by the Better Auth organization plugin. You must ensure the library and plugin are correctly installed to manage memberships and access control without errors.