Trigger Authoring Tasks

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.

vladsez 80c422e 3.5 KB Updated

File contents

vladsez/easy-invoice-pdf/tree/main/.cursor/skills/trigger-authoring-tasks commit 80c422e978

Frequently asked questions

npx skillmds@latest add vladsez/trigger-authoring-tasks