# Trigger Tasks

> Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(),…

Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and concurrency, idempotency keys, run metadata, logging, triggering other tasks (and the Result shape), scheduled/cron tasks, and the essentials of trigger.config.ts. Load this whenever you are authoring or editing code inside a /trigger directory, defining a task, or writing backend code that triggers tasks. Realtime/React hooks and AI chat are covered by separate skills.

- Page: https://ss33.ai/skills/triggerdotdev/trigger-tasks-15896584591
- Publisher: triggerdotdev
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [APIs & backend](https://ss33.ai/skills/category/software-development-t44z8z/apis-and-backend-t0x840)
- Source: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-tasks/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/triggerdotdev/skills/blob/e0f9f87153d1502fd9f6298e2eb1d58cfd7f9871/trigger-tasks/SKILL.md
