webiny-api-scheduler-catalog
它能做什么
这个技能是 Webiny 后端定时操作相关组件的查询列表。适用于需要在代码中管理定时操作的开发者。
适用场景
- ✓需要从后端代码取消或运行定时操作的时候。
- ✓需要获取定时操作的导入的时候。
- ✓正在查找用于描述定时操作的类型的时候。
技能链接
https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/scheduler/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 Webiny 后端取消定时操作,应该导入哪个用例?”
每周 5 个新技能,1 分钟读完。
工作原理
该技能列出调度器的用例和类型,每项都附带导入语句、源文件和简短说明。AI 在使用前会阅读源文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
API — Scheduler
Scheduled action 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: CancelScheduledActionUseCase
Import: import { CancelScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/CancelScheduledAction/index.ts
Description: Cancel a scheduled action.
Name: ExecuteScheduledActionUseCase
Import: import { ExecuteScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ExecuteScheduledAction/index.ts
Description: Execute a scheduled action immediately.
Name: GetScheduledActionUseCase
Import: import { GetScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/GetScheduledAction/index.ts
Description: Retrieve a scheduled action.
Name: IScheduledAction
Kind: type
Import: import type { IScheduledAction } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: IScheduledActionEntry
Kind: type
Import: import type { IScheduledActionEntry } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: ListScheduledActionsUseCase
Import: import { ListScheduledActionsUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ListScheduledActions/index.ts
Description: List scheduled actions.
Name: NamespaceHandler
Import: import { NamespaceHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/NamespaceHandler/index.ts
Description: Handle namespace-specific scheduled action logic.
Name: ScheduleActionError
Kind: type
Import: import type { ScheduleActionError } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts
Name: ScheduleActionUseCase
Import: import { ScheduleActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts
Description: Schedule an action for future execution.
Name: SCHEDULED_ACTION_PUBLISH
Import: import { SCHEDULED_ACTION_PUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the publish scheduled action type.
Name: SCHEDULED_ACTION_UNPUBLISH
Import: import { SCHEDULED_ACTION_UNPUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the unpublish scheduled action type.
Name: ScheduledActionHandler
Import: import { ScheduledActionHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Handle execution of a scheduled action.
Name: ScheduledActionModel
Import: import { ScheduledActionModel } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: ScheduledActionModel - A CMS model used by the scheduler for persistence.
Name: ScheduledActionType
Kind: type
Import: import type { ScheduledActionType } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: SchedulerService
Import: import { SchedulerService } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Core service for managing scheduled actions.
常见问题
列出的用例能做什么?
根据条目说明,它们可以取消定时操作、立即运行一个定时操作,以及获取定时操作。
列表中有多少项?
描述中说明它涵盖 15 个抽象。
类型定义在哪里?
该技能为每个类型列出源文件,例如共享抽象文件。
详情
热度
- GitHub 星标
- 8.1k
- 排名
- #12606
- 许可证
- —
- 更新时间
- 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 中构建表单。