Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)8.1k · #12606

webiny-api-scheduler-catalog

Skill này làm gì

Skill này là danh sách tra cứu các phần hành động đã lên lịch trong backend Webiny. Skill dành cho lập trình viên cần quản lý các hành động theo thời gian trong code.

Khi nào nên dùng

  • ✓Khi bạn cần hủy hoặc chạy ngay một hành động đã lên lịch từ code backend.
  • ✓Khi bạn cần import để lấy lại một hành động đã lên lịch.
  • ✓Khi bạn đang tìm kiểu dữ liệu mô tả một hành động đã lên lịch.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/webiny/webiny-js/blob/next/skills/user-skills/generated/api/scheduler/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi nên import use case nào để hủy một hành động đã lên lịch trong backend Webiny?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê các use case và kiểu dữ liệu của bộ lập lịch, mỗi mục kèm dòng import, file nguồn và mô tả ngắn. AI đọc file nguồn trước khi dùng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

API — Scheduler

Scheduled action 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: 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.


Câu hỏi thường gặp

Các use case được liệt kê làm được gì?

Theo các mục, chúng hủy một hành động đã lên lịch, chạy ngay một hành động và lấy lại một hành động.

Danh sách có bao nhiêu mục?

Mô tả nói rằng nó bao phủ 15 abstraction.

Các kiểu dữ liệu được định nghĩa ở đâu?

Skill liệt kê file nguồn cho từng kiểu, chẳng hạn file abstraction dùng chung.

Chi tiết

Mô tả gốc của tác giả

API — Scheduler — 15 abstractions. Scheduled action use cases.

repo: webiny/webiny-js

Độ phổ biến

Sao GitHub
8.1k
Vị trí xếp hạng
#12606
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự