webiny-api-tenancy-catalog
Fungsinya
Skill ini adalah daftar pencarian fitur tenant di back end Webiny, dengan baris import dan file sumber untuk setiap fitur. Skill ini untuk developer yang membangun di atas Webiny dan perlu mengelola tenant.
Kapan dipakai
- โSaat developer bertanya cara membuat atau menghapus tenant di proyek Webiny.
- โSaat developer perlu memasang aplikasi pada tenant di dalam Webiny.
- โSaat developer ingin menemukan nama import yang benar untuk use case tenancy.
Link skill
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/tenancy/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โBlok bangunan Webiny mana yang saya pakai untuk membuat tenant baru di proyek saya?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini mencantumkan setiap blok bangunan tenancy beserta nama, baris import, dan file sumbernya. AI mengarahkan Anda ke blok yang tepat dan meminta Anda membaca file sumber sebelum memakainya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
API โ Tenancy
Tenant lifecycle and installation event handlers and use cases.
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills for implementation patterns
Abstractions
Name: AppInstaller
Import: import { AppInstaller } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/InstallTenant/index.ts
Description: Install an application on a tenant with rollback support.
Name: CreateTenantRepository
Import: import { CreateTenantRepository } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/CreateTenant/index.ts
Description: Persist a newly created tenant.
Name: CreateTenantUseCase
Import: import { CreateTenantUseCase } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/CreateTenant/index.ts
Description: Create a new tenant.
Name: DeleteTenantRepository
Import: import { DeleteTenantRepository } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/DeleteTenant/index.ts
Description: Persist tenant deletion.
Name: DeleteTenantUseCase
Import: import { DeleteTenantUseCase } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/DeleteTenant/index.ts
Description: Delete a tenant.
Name: GetTenantByIdUseCase
Import: import { GetTenantByIdUseCase } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/GetTenantById/index.ts
Description: Retrieve a tenant by its ID.
Name: InstallTenantUseCase
Import: import { InstallTenantUseCase } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/InstallTenant/index.ts
Description: Run all app installers for a tenant.
Name: TenantAfterCreateEventHandler
Import: import { TenantAfterCreateEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/CreateTenant/index.ts
Description: Hook into tenant lifecycle after a tenant is created.
Name: TenantAfterDeleteEventHandler
Import: import { TenantAfterDeleteEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/DeleteTenant/index.ts
Description: Hook into tenant lifecycle after a tenant is deleted.
Name: TenantAfterUpdateEventHandler
Import: import { TenantAfterUpdateEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/UpdateTenant/index.ts
Description: Hook into tenant lifecycle after a tenant is updated.
Name: TenantBeforeCreateEventHandler
Import: import { TenantBeforeCreateEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/CreateTenant/index.ts
Description: Hook into tenant lifecycle before a tenant is created.
Name: TenantBeforeDeleteEventHandler
Import: import { TenantBeforeDeleteEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/DeleteTenant/index.ts
Description: Hook into tenant lifecycle before a tenant is deleted.
Name: TenantBeforeUpdateEventHandler
Import: import { TenantBeforeUpdateEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/UpdateTenant/index.ts
Description: Hook into tenant lifecycle before a tenant is updated.
Name: TenantContext
Import: import { TenantContext } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/TenantContext/index.ts
Description: Provides access to the current tenant and tenant-scoped execution.
Name: TenantInstalledEventHandler
Import: import { TenantInstalledEventHandler } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/InstallTenant/index.ts
Description: Hook into tenant lifecycle after a tenant is installed.
Name: UpdateTenantRepository
Import: import { UpdateTenantRepository } from "webiny/api/tenancy"
Source: @webiny/api-core/features/tenancy/UpdateTenant/index.ts
Description: Persist tenant updates.
Name: UpdateTenantUseCase
Import: import { UpdateTenantUseCase } from "webiny/api/tenancy"
Source: `@webiny/api-core/features/tena
Pertanyaan umum
Apakah saya perlu membaca file sumber sebelum memakainya?
Ya. Skill ini menyatakan Anda harus membaca file sumber untuk mendapatkan tipe yang tepat sebelum menulis kode.
Apa yang dicakup skill ini?
Siklus hidup tenant, yaitu membuat, menghapus, dan memasang aplikasi pada tenant, serta event handler untuk langkah-langkah itu.
Apakah skill ini menulis kodenya untuk saya?
Skill ini menunjuk blok yang tepat beserta baris importnya. AI Anda kemudian bisa membantu menulis kode yang memakainya.
Detail
Deskripsi asli dari pembuat
API โ Tenancy โ 17 abstractions. Tenant lifecycle and installation event handlers and use cases.
repo: webiny/webiny-js
Popularitas
- Bintang GitHub
- 8.1k
- Peringkat
- #12609
- Lisensi
- โ
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
prd-to-plan
8.1kMembantu agent Anda mengubah dokumen kebutuhan produk menjadi rencana bertahap yang terdiri dari irisan kecil dari ujung ke ujung, disimpan sebagai berkas Markdown.
webiny-admin-architect
8.1kMengajari agent Anda cara membangun layar admin untuk platform Webiny, dengan memakai lapisan logika bisnis dan pola presenter.
webiny-admin-permissions
8.1kMengajari agent Anda menambahkan kontrol izin ke layar admin Webiny, termasuk formulir izin yang dibuat otomatis dan pemeriksaan tampilkan atau sembunyikan.
webiny-form-model
8.1kMengajari agent Anda membangun formulir di Webiny dengan pembuat field deklaratif, tata letak, validasi, dan aturan bersyarat.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.