This Claude Code skill enables developers to seamlessly integrate and manage Clerk Organizations within B2B SaaS applications. It provides pre-configured patterns for setting up multi-tenant workspaces, managing membership lifecycles (including invitations and roles), enforcing role-based access control (RBAC), and configuring enterprise single sign-on (SSO). Ideal for building robust team workspaces, securing Next.js and React routes, and executing programmatic organization operations via the Clerk Backend API.
主要功能
01Role-Based Access Control (RBAC): Guard routes and APIs using standard and custom roles/permissions like `has()` and `<Show>`.
02Enterprise SSO & Domain Verification: Streamline SAML/OIDC setup and domain restriction policies.
03Programmatic Org Management: Execute CRUD operations, membership changes, and invitations directly via CLI or API.
04Multi-Tenant Workspace Configuration: Easily enable, structure, and scale organizational workspaces.
05Next.js & React Core Integration: Ready-to-use patterns for dynamic route protection and session-task configuration.
0655 GitHub stars
使用场景
01Implementing granular role-based access control (RBAC) to protect sensitive dashboard views and APIs.
02Building a B2B SaaS application requiring secure team workspaces and multi-tenancy.
03Automating client-side organization switching and server-side membership validation in Next.js projects.