webiny-infra-catalog
它能做什么
这是 Webiny 基础设施扩展点的查询列表,每项都附有导入名称和源文件。适用于希望自定义 Webiny 项目构建和部署方式的开发者。
适用场景
- ✓开发者想在管理后台构建之前或之后运行自定义步骤的时候。
- ✓开发者询问哪些钩子可用于部署管理后台的时候。
- ✓开发者需要 Webiny 基础设施扩展的导入语句的时候。
技能链接
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/infra/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我可以在哪里添加一个在管理后台部署完成后运行的步骤?”
每周 5 个新技能,1 分钟读完。
工作原理
该技能列出每个基础设施扩展的名称、导入语句和文件位置。AI 利用它找到正确的钩子,并提醒你先阅读源文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Infrastructure
Infrastructure extensions.
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>";
Abstractions
Name: AdminAfterBuild
Import: import { AdminAfterBuild } from "webiny/infra/admin"
Source: @webiny/project/abstractions/features/hooks/AdminAfterBuild.ts
Name: AdminAfterDeploy
Import: import { AdminAfterDeploy } from "webiny/infra/admin"
Source: @webiny/project/abstractions/features/hooks/AdminAfterDeploy.ts
Name: AdminBeforeBuild
Import: import { AdminBeforeBuild } from "webiny/infra/admin"
Source: @webiny/project/abstractions/features/hooks/AdminBeforeBuild.ts
Name: AdminBeforeDeploy
Import: import { AdminBeforeDeploy } from "webiny/infra/admin"
Source: @webiny/project/abstractions/features/hooks/AdminBeforeDeploy.ts
Name: AdminBeforeWatch
Import: import { AdminBeforeWatch } from "webiny/infra/admin"
Source: @webiny/project/abstractions/features/hooks/AdminBeforeWatch.ts
Name: AdminPulumi
Import: import { AdminPulumi } from "webiny/infra/admin"
Source: @webiny/project-aws/abstractions/features/pulumi/AdminPulumi.ts
Name: AdminStackOutputService
Import: import { AdminStackOutputService } from "webiny/infra/admin"
Source: @webiny/project-aws/abstractions/services/AdminStackOutputService.ts
Name: AdminStackOutputService
Import: import { AdminStackOutputService } from "webiny/infra"
Source: @webiny/project-aws/abstractions/index.ts
Name: AfterBuild
Import: import { AfterBuild } from "webiny/infra"
Source: @webiny/project/abstractions/features/hooks/AfterBuild.ts
Name: AfterDeploy
Import: import { AfterDeploy } from "webiny/infra"
Source: @webiny/project/abstractions/features/hooks/AfterDeploy.ts
Name: ApiAfterBuild
Import: import { ApiAfterBuild } from "webiny/infra/api"
Source: @webiny/project/abstractions/features/hooks/ApiAfterBuild.ts
Name: ApiAfterDeploy
Import: import { ApiAfterDeploy } from "webiny/infra/api"
Source: @webiny/project/abstractions/features/hooks/ApiAfterDeploy.ts
Name: ApiBeforeBuild
Import: import { ApiBeforeBuild } from "webiny/infra/api"
Source: @webiny/project/abstractions/features/hooks/ApiBeforeBuild.ts
Name: ApiBeforeDeploy
Import: import { ApiBeforeDeploy } from "webiny/infra/api"
Source: @webiny/project/abstractions/features/hooks/ApiBeforeDeploy.ts
Name: ApiBeforeWatch
Import: import { ApiBeforeWatch } from "webiny/infra/api"
Source: @webiny/project/abstractions/features/hooks/ApiBeforeWatch.ts
Name: ApiGqlClient
Import: import { ApiGqlClient } from "webiny/infra"
Source: @webiny/project-aws/abstractions/index.ts
Name: ApiPulumi
Import: import { ApiPulumi } from "webiny/infra/api"
Source: @webiny/project-aws/abstractions/features/pulumi/ApiPulumi.ts
Name: ApiStackOutputService
Import: import { ApiStackOutputService } from "webiny/infra/api"
Source: @webiny/project-aws/abstractions/services/ApiStackOutputService.ts
Name: ApiStackOutputService
Import: import { ApiStackOutputService } from "webiny/infra"
Source: @webiny/project-aws/abstractions/index.ts
Name: BeforeBuild
Import: import { BeforeBuild } from "webiny/infra"
Source: @webiny/project/abstractions/features/hooks/BeforeBuild.ts
Name: BeforeDeploy
Import: import { BeforeDeploy } from "webiny/infra"
Source: @webiny/project/abstractions/features/hooks/BeforeDeploy.ts
Name: BeforeWatch
Import: import { BeforeWatch } from "webiny/infra"
Source: @webiny/project/abstractions/features/hooks/BeforeWatch.ts
Name: CoreAfterBuild
Import: import { CoreAfterBuild } from "webiny/infra/core"
Source: @webiny/project/abstractions/features/hooks/CoreAfterBuild.ts
Name: CoreAfterDeploy
Import: import { CoreAfterDeploy } from "webiny/infra/core"
Source: @webiny/project/abstractions/features/hooks/CoreAfterDeploy.ts
Name: CoreBeforeBuild
Import: import { CoreBeforeBuild } from "webiny/infra/core"
Source: `@webiny/project/abstraction
常见问题
这份列表中提到了哪些钩子?
列表包括管理后台在构建和部署步骤前后运行的钩子,以及一个 watch 钩子和一个 Pulumi 项。
这个技能会修改我的基础设施吗?
不会。它只是参考列表。你的 AI 会协助编写修改,而是否部署由你决定。
这份列表是给谁的?
想要自定义 Webiny 项目构建和部署步骤的开发者。
详情
热度
- GitHub 星标
- 8.1k
- 排名
- #12612
- 许可证
- —
- 更新时间
- 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 中构建表单。