본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)8.1k · #12609

webiny-api-tenancy-catalog

하는 일

이 스킬은 Webiny 백엔드의 테넌트 기능을 담은 목록입니다. 각 기능의 가져오기 줄과 소스 파일이 함께 나옵니다. Webiny로 개발하며 테넌트를 관리해야 하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Webiny 프로젝트에서 테넌트를 만들거나 삭제하는 방법을 물을 때.
  • ✓Webiny 안에서 테넌트에 앱을 설치해야 할 때.
  • ✓테넌시 유스케이스의 올바른 import 이름을 찾는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/tenancy/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬