webiny-api-cms-catalog
它能做什么
这个技能是 Webiny 中 CMS 后端组件(包括条目、模型和分组)的查询列表。适用于编写处理 CMS 内容的后端代码的开发者。
适用场景
- ✓需要 CMS 条目、模型或分组构建模块的导入路径的时候。
- ✓想找到 CMS 条目生命周期某一步的事件处理器的时候。
- ✓需要为 CMS 查找 OpenSearch 或条目过滤器构建模块的时候。
技能链接
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/cms/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“编写后端用例时,CMS 条目类型需要导入哪个模块?”
每周 5 个新技能,1 分钟读完。
工作原理
该技能列出各构建模块的导入语句和源文件。AI 在使用前会阅读源文件,以获取确切类型。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
常见问题
包含多少个构建模块?
描述中说明 Headless CMS 后端有 137 个抽象。
它会提供完整示例吗?
不会。它只提供名称、导入路径和源文件,因此详细信息需要查看源文件。
它提到了哪些类型的项目?
条目、模型和分组的事件处理器与用例。
详情
作者的原始描述
API — Headless CMS — 137 abstractions. Entry, model, and group event handlers and use cases.
repo: webiny/webiny-js
热度
- GitHub 星标
- 8.1k
- 排名
- #12604
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
prd-to-plan
8.1k帮你的智能体把产品需求文档转化为分阶段的计划,由许多小的端到端切片组成,并保存为 Markdown 文件。
webiny-admin-architect
8.1k教你的智能体如何为 Webiny 平台构建管理界面,使用其业务逻辑层和呈现器模式。
webiny-admin-permissions
8.1k教你的智能体为 Webiny 管理界面添加权限控制,包括自动生成的权限表单以及显示或隐藏检查。
webiny-form-model
8.1k教你的智能体使用声明式字段构建器、布局、校验和条件规则,在 Webiny 中构建表单。