Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)8.1k · #12611

webiny-api-website-builder-catalog

Skill này làm gì

Danh sách tra cứu các tính năng trang và chuyển hướng trong Webiny Website Builder. Dành cho lập trình viên xây hoặc thay đổi website trên Webiny bằng code.

Khi nào nên dùng

  • ✓Khi lập trình viên muốn tạo một trang mới trong dự án Webiny Website Builder.
  • ✓Khi lập trình viên cần tạo một revision trang từ trang có sẵn.
  • ✓Khi lập trình viên hỏi cách thêm chuyển hướng URL trong Webiny.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/website-builder/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm sao để thêm chuyển hướng từ địa chỉ trang này sang địa chỉ trang khác trên website Webiny của tôi?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê từng tính năng trang và chuyển hướng kèm tên, dòng import và file nguồn. AI dùng danh sách để tìm đúng tính năng và yêu cầu bạn đọc file nguồn trước khi viết code.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

API — Website Builder

Page and redirect 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: CreatePageRevisionFromUseCase Import: import { CreatePageRevisionFromUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/CreatePageRevisionFrom/abstractions.ts Description: Create a page revision from an existing one.


Name: CreatePageUseCase Import: import { CreatePageUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/CreatePage/abstractions.ts Description: Create a new page.


Name: CreateRedirectUseCase Import: import { CreateRedirectUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/CreateRedirect/abstractions.ts Description: Create a URL redirect.


Name: DeletePageUseCase Import: import { DeletePageUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/DeletePage/abstractions.ts Description: Delete a page.


Name: DeleteRedirectUseCase Import: import { DeleteRedirectUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/DeleteRedirect/abstractions.ts Description: Delete a URL redirect.


Name: DuplicatePageUseCase Import: import { DuplicatePageUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/DuplicatePage/abstractions.ts Description: Duplicate a page.


Name: GetActiveRedirectsUseCase Import: import { GetActiveRedirectsUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/GetActiveRedirects/abstractions.ts Description: Retrieve all active URL redirects.


Name: GetDeletedPageByIdUseCase Import: import { GetDeletedPageByIdUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/GetDeletedPageById/abstractions.ts


Name: GetPageByIdUseCase Import: import { GetPageByIdUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/GetPageById/abstractions.ts Description: Retrieve a page by ID.


Name: GetPageByPathUseCase Import: import { GetPageByPathUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/GetPageByPath/abstractions.ts Description: Retrieve a page by its URL path.


Name: GetPageRevisionsUseCase Import: import { GetPageRevisionsUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/GetPageRevisions/abstractions.ts Description: Retrieve all revisions of a page.


Name: GetRedirectByIdUseCase Import: import { GetRedirectByIdUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/GetRedirectById/abstractions.ts Description: Retrieve a URL redirect by ID.


Name: InvalidateRedirectsCacheUseCase Import: import { InvalidateRedirectsCacheUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/InvalidateRedirectsCache/abstractions.ts Description: Invalidate the redirects cache.


Name: ListDeletedPagesUseCase Import: import { ListDeletedPagesUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/ListDeletedPages/abstractions.ts


Name: ListPagesUseCase Import: import { ListPagesUseCase } from "webiny/api/website-builder/page" Source: @webiny/api-website-builder/features/pages/ListPages/abstractions.ts Description: List pages with filtering and pagination.


Name: ListRedirectsUseCase Import: import { ListRedirectsUseCase } from "webiny/api/website-builder/redirect" Source: @webiny/api-website-builder/features/redirects/ListRedirects/abstractions.ts Description: List URL redi

Câu hỏi thường gặp

Danh sách này có bao phủ mọi tính năng của Website Builder không?

Không. Nó tập trung vào tính năng trang và chuyển hướng, các phần khác của Website Builder không được mô tả ở đây.

Tôi có thể xóa trang bằng danh sách này không?

Có. Danh sách có use case xóa trang, nên AI của bạn có thể chỉ cho bạn.

Vì sao nên đọc file nguồn?

Skill nói file nguồn có kiểu dữ liệu chính xác và chi tiết mà danh sách không hiển thị.

Chi tiết

Mô tả gốc của tác giả

API — Website Builder — 58 abstractions. Page and redirect event handlers and use cases.

repo: webiny/webiny-js

Độ phổ biến

Sao GitHub
8.1k
Vị trí xếp hạng
#12611
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự