# Webiny API Tasks Catalog

> Webiny API Tasks Catalog is an Agent Skill for development published in the webiny/webiny-js repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

api/tasks — 2 abstractions.

- Skill name: `webiny-api-tasks-catalog`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/webiny/webiny-js/blob/HEAD/skills/user-skills/generated/api/tasks/SKILL.md
- Repository: webiny/webiny-js (8,014 GitHub stars when collected)

## SKILL.md

# api/tasks

## 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.

---

---

Source: https://www.openparable.com/skill/development/webiny-api-tasks-catalog (OpenParable). Cite the canonical URL above.
