organization-best-practices
Setting Up Organizations
When adding organizations to your application, configure the organization plugin with appropriate limits and permissions.
import { betterAuth } from "better-auth";
import { organization } from "better-auth/plugins";
export const auth = betterAuth({
plugins: [
organization({
allowUserToCreateOrganization: true,
organizationLimit: 5, // Max orgs per user
membershipLimit: 100, // Max members per org
}),
],
});
More from lukevella/rallly
devmoji
Devmoji commit message emoji conventions. Use when writing git commit messages, formatting commit descriptions, or choosing the right emoji prefix for a commit. Triggers on "commit message", "git commit", "commit emoji", "devmoji".
17logging
Wide events logging pattern and conventions for this project. Use when writing logging code, adding observability, or implementing request tracing.
1create-auth-skill
Skill for creating auth layers in TypeScript/JavaScript apps using Better Auth.
1email-and-password-best-practices
This skill provides guidance and enforcement rules for implementing secure email and password authentication using Better Auth.
1two-factor-authentication-best-practices
This skill provides guidance and enforcement rules for implementing secure two-factor authentication (2FA) using Better Auth's twoFactor plugin.
1better-auth-best-practices
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
1