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

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.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/cms/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

“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

  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: 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

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ự