What problem does it solve?
Developers extending the Webiny admin application often struggle to locate the correct tenancy-related hooks, components, and types across the monorepo. This Skill provides a curated catalog of 9 tenancy abstractions with exact import paths and source file locations.
Core Features & Use Cases
- Abstraction Lookup: Lists tenant context hooks (useCurrentTenant, useTenantContext), tenant guard components (IsRootTenant, IsNotRootTenant, IsTenant), and tenant management hooks (useEnableTenant, useDisableTenant).
- Exact Import Paths: Each entry includes the precise import statement from "webiny/admin/tenancy" plus the underlying source file in @webiny/tenant-manager or @webiny/app-admin.
- Use Case: When building a multi-tenant admin extension, quickly find IsRootTenant to conditionally render UI only for root tenant users, then read the source file to confirm its props and behavior.
Quick Start
Ask the AI to show you how to conditionally render admin UI based on the current tenant using the Webiny tenancy abstractions.