跳到正文
Skillpedia
API 与服务器(后端)8.1k · #12608

webiny-api-system-catalog

它能做什么

这个技能是 Webiny 后端系统安装相关组件的小型查询列表。适用于需要运行或响应系统安装步骤的开发者。

适用场景

  • ✓需要系统安装用例的导入的时候。
  • ✓想在系统安装完成后运行代码的时候。
  • ✓正在检查存在哪些系统构建模块的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/system/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“要在 Webiny 系统安装后运行我自己的代码,应该导入哪个事件处理器?”

每周 5 个新技能,1 分钟读完。

工作原理

该技能列出安装用例和已安装事件处理器,每项都附带导入语句、源文件和简短说明。AI 在使用前会阅读源文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

API — System

System 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: InstallSystemUseCase Import: import { InstallSystemUseCase } from "webiny/api/system" Source: @webiny/api-core/features/system/InstallSystem/index.ts Description: Run system-wide installation.


Name: SystemInstalledEventHandler Import: import { SystemInstalledEventHandler } from "webiny/api/system" Source: @webiny/api-core/features/system/InstallSystem/index.ts Description: Hook into system lifecycle after the system is installed.


常见问题

列出了多少项?

描述中说明为 2 个抽象。

安装用例做什么?

条目将其描述为执行系统范围的安装。

安装之后触发哪个事件?

系统已安装事件处理器,它在系统安装完成后运行。

详情

作者的原始描述

API — System — 2 abstractions. System installation event handlers and use cases.

repo: webiny/webiny-js

热度

GitHub 星标
8.1k
排名
#12608
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能