跳到正文
Skillpedia
部署与云(DevOps)8.1k · #12612

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 AI

“我可以在哪里添加一个在管理后台部署完成后运行的步骤?”

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

工作原理

该技能列出每个基础设施扩展的名称、导入语句和文件位置。AI 利用它找到正确的钩子,并提醒你先阅读源文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Infrastructure

Infrastructure extensions.

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>";

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 项目构建和部署步骤的开发者。

详情

作者的原始描述

Infrastructure — 35 abstractions. Infrastructure extensions.

repo: webiny/webiny-js

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能