本文へスキップ
Skillpedia
APIとサーバー(バックエンド)8.1k · #12609

webiny-api-tenancy-catalog

できること

このスキルは、Webinyのバックエンドのテナントの機能を、それぞれのインポートの行とソースファイルとともに挙げた一覧です。テナントを管理する必要がある、Webinyで作る開発者向けです。

使う場面

  • ✓Webinyプロジェクトでテナントを作成または削除する方法を、開発者が尋ねるとき。
  • ✓Webinyの中で、テナントにアプリをインストールする必要がある開発者がいるとき。
  • ✓テナンシーのユースケースの正しいインポート名を見つけたい開発者がいるとき。

スキルのリンク

https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/tenancy/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/tenancy/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のプロジェクトで新しいテナントを作るには、どのWebinyの部品を使いますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

スキルは、テナンシーの各部品を、その名前、インポートの行、ソースファイルと一緒に一覧にします。AIは正しいものを示し、使う前にソースファイルを読むよう伝えます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

API — Tenancy

Tenant lifecycle and installation event handlers and use cases.

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills 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

よくある質問

これらを使う前に、ソースファイルを読む必要がありますか?

はい。スキルは、コードを書く前に正確な型を知るためにソースファイルを読むよう述べています。

このスキルは何を扱いますか?

テナントのライフサイクル、つまりテナントの作成、削除、テナントへのアプリのインストール、およびそれらの段階のイベントハンドラーを扱います。

このスキルは代わりにコードを書きますか?

適切な部品とそのインポートの行を示します。その後、AIがそれを使うコードを書く手助けをします。

詳細

作者による元の説明

API — Tenancy — 17 abstractions. Tenant lifecycle and installation event handlers and use cases.

repo: webiny/webiny-js

人気

GitHubのスター
8.1k
ランキング
#12609
ライセンス
—
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル