api/tasks

SkillProductivity

Helps your agent add long-running background tasks to Webiny apps using ready-made code definitions.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the api/tasks skill

About this skill

api/tasks, 2 abstractions.

What this skill tells your AI

The instructions your AI receives, as published by webiny/webiny-js in skills/user-skills/generated/api/tasks/SKILL.md and read by ahel’s review.

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: TaskDefinition Import: import { TaskDefinition } from "webiny/api/tasks" Source: @webiny/api-core/features/task/TaskDefinition/index.ts Description: Define a long-running background task with lifecycle hooks.


Name: TaskService Import: import { TaskService } from "webiny/api/tasks" Source: @webiny/api-core/features/task/TaskService/index.ts Description: Trigger and manage long-running background tasks.


Signals

GitHub stars
8k
Forks
679
Last commit
Sep 2026
Advanced
Item type
skill
Key
webiny-api-tasks-catalog
Source
github.com/webiny/webiny-js