trigger-dev
Installation
SKILL.md
Trigger.dev
Trigger.dev is an open-source background jobs platform for TypeScript with durable execution, built-in retries, scheduling, and real-time monitoring.
Documentation
- Docs: https://trigger.dev/llms.txt
- Full Docs: https://trigger.dev/docs/llms-full.txt
Key Capabilities
- Durable waits:
wait.for({ seconds: 30 }),wait.until({ date }), andwait.forToken()suspend execution without consuming timeout — the run resumes after the wait, not a new invocation. - No default timeout: Tasks have no built-in timeout. Set
maxDurationper task or globally in config if a limit is needed. - Batch triggering:
tasks.batchTrigger()accepts up to 1,000 items in a single call. - Child tasks with results:
childTask.triggerAndWait()suspends the parent until the child completes and returns a typed Result object — check.okbefore accessing.output, or call.unwrap(). - Lifecycle hooks:
onStart,onSuccess,onFailure, andinitin config handle cross-cutting concerns without modifying task code. - Build extensions:
@trigger.dev/build/extensionsprovides first-party support for Prisma, FFmpeg, Playwright, and system packages — use instead of manual Docker layers.