What problem does it solve? Long-running work like AI agent execution, webhook processing, and scheduled jobs cannot safely run inside a web request cycle. This Skill provides the patterns to build durable background tasks with automatic retries, queues, and observability using Trigger.dev v4. ## Core Features & Use Cases - Durable Task Execution: Define tasks with task() and schemaTask() from @trigger.dev/sdk, with typed payloads, retry policies, and machine presets. - Orchestration & Control: Trigger tasks from backend code or other tasks, use triggerAndWait() with Result handling, waits, debouncing, idempotency keys, and per-tenant concurrency queues. - Scheduled Jobs: Create cron-based recurring tasks with timezone support and dynamic multi-tenant schedules via the schedules API. - Use Case: You need to process uploaded files asynchronously without blocking your app. Define a task with retries and a concurrency-limited queue, trigger it from your API route, and track progress with metadata. ## Quick Start Create a Trigger.dev task that processes user data in the background with retries and a concurrency limit of five.