webiny-api-cms-catalog
Skill này làm gì
Skill này là danh sách tra cứu các phần backend của CMS trong Webiny, gồm mục, mô hình và nhóm. Skill dành cho lập trình viên viết code backend làm việc với nội dung CMS.
Khi nào nên dùng
- ✓Khi bạn cần đường dẫn import cho một khối xây dựng mục, mô hình hoặc nhóm của CMS.
- ✓Khi bạn muốn tìm event handler cho một bước trong vòng đời mục CMS.
- ✓Khi bạn đang tìm khối xây dựng OpenSearch hoặc bộ lọc mục cho CMS.
Liên kết skill
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/cms/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần import nào cho kiểu mục CMS khi viết một use case backend?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill liệt kê các khối xây dựng kèm dòng import và file nguồn. AI đọc file nguồn để lấy đúng kiểu dữ liệu trước khi dùng.
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 — Headless CMS
Entry, model, and group 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: CmsEntry
Kind: type
Import: import type { CmsEntry } from "webiny/api/cms/entry"
Source: @webiny/api-headless-cms/types/types.ts
Description: A content entry definition for and from the database.
Name: CmsEntryOpenSearchBodyModifier
Import: import { CmsEntryOpenSearchBodyModifier } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchBodyModifier/index.ts
Name: CmsEntryOpenSearchFieldIndex
Import: import { CmsEntryOpenSearchFieldIndex } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchFieldIndex/index.ts
Name: CmsEntryOpenSearchFieldIndexRegistry
Import: import { CmsEntryOpenSearchFieldIndexRegistry } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchFieldIndex/index.ts
Name: CmsEntryOpenSearchFilter
Import: import { CmsEntryOpenSearchFilter } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchFilter/index.ts
Name: CmsEntryOpenSearchFilterRegistry
Import: import { CmsEntryOpenSearchFilterRegistry } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchFilter/index.ts
Name: CmsEntryOpenSearchFullTextSearch
Import: import { CmsEntryOpenSearchFullTextSearch } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchFullTextSearch/index.ts
Name: CmsEntryOpenSearchQueryModifier
Import: import { CmsEntryOpenSearchQueryModifier } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchQueryModifier/index.ts
Name: CmsEntryOpenSearchSortModifier
Import: import { CmsEntryOpenSearchSortModifier } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchSortModifier/index.ts
Name: CmsEntryOpenSearchValueSearch
Import: import { CmsEntryOpenSearchValueSearch } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchValueSearch/index.ts
Name: CmsEntryOpenSearchValueSearchRegistry
Import: import { CmsEntryOpenSearchValueSearchRegistry } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchValueSearch/index.ts
Name: CmsEntryOpenSearchValuesModifier
Import: import { CmsEntryOpenSearchValuesModifier } from "webiny/api/cms/opensearch"
Source: @webiny/api-headless-cms-ddb-es/features/CmsEntryOpenSearchValuesModifier/index.ts
Name: CmsEntryValues
Kind: type
Import: import type { CmsEntryValues } from "webiny/api/cms/entry"
Source: @webiny/api-headless-cms/types/types.ts
Description: A content entry values definition for and from the database.
Name: CmsGraphQLSchemaSorter
Import: import { CmsGraphQLSchemaSorter } from "webiny/api/cms/graphql"
Source: @webiny/api-headless-cms/features/graphql/index.ts
Name: CmsGroup
Kind: type
Import: import type { CmsGroup } from "webiny/api/cms/group"
Source: @webiny/api-headless-cms/types/modelGroup.ts
Description: A representation of content model group in the database.
Name: CmsModel
Kind: type
Import: import type { CmsModel } from "webiny/api/cms/model"
Source: @webiny/api-headless-cms/types/model.ts
Description: Base CMS Model. Should not be exported and used outside of this package.
Name: CmsModelField
Kind: type
Import: import type { CmsModelField } from "webiny/api/cms/model"
Source: @webiny/api-headless-cms/types/modelField.ts
Description: A definition for content model field. This type exists on the app side as well.
Name: CmsModelFieldPatternValidator
Import: `import { CmsModelFieldPatternValidator } from "webiny/a
Câu hỏi thường gặp
Có bao nhiêu khối xây dựng được đưa vào?
Mô tả nói rằng có 137 abstraction cho backend Headless CMS.
Có ví dụ đầy đủ không?
Không. Skill chỉ đưa ra tên, đường dẫn import và file nguồn, nên file nguồn là nơi xem chi tiết.
Nó nhắc đến những loại mục nào?
Các event handler và use case cho mục, mô hình và nhóm.
Chi tiết
Mô tả gốc của tác giả
API — Headless CMS — 137 abstractions. Entry, model, and group event handlers and use cases.
repo: webiny/webiny-js
Độ phổ biến
- Sao GitHub
- 8.1k
- Vị trí xếp hạng
- #12604
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
prd-to-plan
8.1kGiúp agent của bạn biến tài liệu yêu cầu sản phẩm thành kế hoạch theo giai đoạn gồm các lát cắt đầu-cuối nhỏ, lưu thành file Markdown.
webiny-admin-architect
8.1kDạy agent của bạn cách xây dựng màn hình quản trị cho nền tảng Webiny, dùng các tầng logic nghiệp vụ và mẫu presenter.
webiny-admin-permissions
8.1kDạy agent của bạn thêm kiểm soát quyền vào màn hình quản trị Webiny, gồm form quyền tự sinh và kiểm tra ẩn hoặc hiện.
webiny-form-model
8.1kDạy agent của bạn xây dựng form trong Webiny bằng trình tạo trường khai báo, bố cục, kiểm tra hợp lệ và quy tắc có điều kiện.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.