
Trigger Tasks
by triggerdotdeve0f9f87153d1No license33 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 5 weeks ago
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.
- e0f9f87153d1Currentcommit e0f9f87Published Oct 8, 2026
Source and attribution
Source:triggerdotdev/skillsintrigger-tasksat commite0f9f87
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from triggerdotdev/skills

Trigger Realtime
triggerdotdev
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata and AI/text streams in React (useRealtimeStream), trigger tasks from the browser (useTaskTrigger, useRealtimeTaskTrigger), and mint scoped frontend credentials with auth.createPublicToken / auth.createTriggerPublicToken. Load when wiring a frontend (React/Next.js/Remix) or backend-for-frontend to show live run progress, status badges, token streams, trigger buttons, or wait-token approval UIs. NOT for writing the backend task itself (streams.define / metadata.set is trigger-tasks territory); this is the consumer side.

Trigger Cost Savings
triggerdotdev
Analyzes Trigger.dev tasks, schedules, and runs to find cost-reduction opportunities and produce a prioritized report.