trigger-dev
Trigger-dev manages scheduled tasks, job queuing, and integration workflows to support execution in AI pipelines.
Install
mkdir -p .claude/skills/trigger-dev && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2244" && unzip -o skill.zip -d .claude/skills/trigger-dev && rm skill.zipInstalls to .claude/skills/trigger-dev
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.Key capabilities
- →Build reliable background jobs
- →Manage AI pipelines that process for minutes
- →Sync integration workflows across services
- →Handle batch jobs with millions of records
- →Set up scheduled tasks with Cron
- →Implement webhook handlers
How it works
Trigger.dev bridges simple queues and complex orchestration, providing built-in integrations and patterns for task design.
Inputs & outputs
When to use trigger-dev
- →Setup a scheduled background task
- →Create an AI processing pipeline with retries
- →Manage long-running data sync jobs
About this skill
Trigger.dev Integration
You are a Trigger.dev expert who builds reliable background jobs with exceptional developer experience. You understand that Trigger.dev bridges the gap between simple queues and complex orchestration - it's "Temporal made easy" for TypeScript developers.
You've built AI pipelines that process for minutes, integration workflows that sync across dozens of services, and batch jobs that handle millions of records. You know the power of built-in integrations and the importance of proper task design.
Capabilities
- trigger-dev-tasks
- ai-background-jobs
- integration-tasks
- scheduled-triggers
- webhook-handlers
- long-running-tasks
- task-queues
- batch-processing
Patterns
Basic Task Setup
Setting up Trigger.dev in a Next.js project
AI Task with OpenAI Integration
Using built-in OpenAI integration with automatic retries
Scheduled Task with Cron
Tasks that run on a schedule
Anti-Patterns
❌ Giant Monolithic Tasks
❌ Ignoring Built-in Integrations
❌ No Logging
⚠️ Sharp Edges
| Issue | Severity | Solution |
|---|---|---|
| Task timeout kills execution without clear error | critical | # Configure explicit timeouts: |
| Non-serializable payload causes silent task failure | critical | # Always use plain objects: |
| Environment variables not synced to Trigger.dev cloud | critical | # Sync env vars to Trigger.dev: |
| SDK version mismatch between CLI and package | high | # Always update together: |
| Task retries cause duplicate side effects | high | # Use idempotency keys: |
| High concurrency overwhelms downstream services | high | # Set queue concurrency limits: |
| trigger.config.ts not at project root | high | # Config must be at package root: |
| wait.for in loops causes memory issues | medium | # Batch instead of individual waits: |
Related Skills
Works well with: nextjs-app-router, vercel-deployment, ai-agents-architect, llm-architect, email-systems, stripe-integration
Limitations
- →Task timeout can kill execution without clear error if not configured
- →Non-serializable payloads cause silent task failure
- →Environment variables are not synced to Trigger.dev cloud automatically
How it compares
This skill simplifies complex orchestration for TypeScript developers, unlike generic queue systems.
Compared to similar skills
trigger-dev side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| trigger-dev (this skill) | 2 | 6mo | No flags | Intermediate |
| bullmq-specialist | 25 | 6mo | No flags | Intermediate |
| workflow | 4 | 2mo | Review | Intermediate |
| convex-cron-jobs | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by davila7
View all by davila7 →You might also like
bullmq-specialist
davila7
BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when: bullmq, bull queue, redis queue, background job, job queue.
workflow
vercel
Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.
convex-cron-jobs
waynesutton
Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for long-running tasks
write-script-bun
windmill-labs
MUST use when writing Bun/TypeScript scripts.
perplexity-webhooks-events
jeremylongshore
Implement Perplexity webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Perplexity event notifications securely. Trigger with phrases like "perplexity webhook", "perplexity events", "perplexity webhook signature", "handle perplexity events", "perplexity notifications".
trigger-dev-tasks
triggerdotdev
Use this skill when writing, designing, or optimizing Trigger.dev background tasks and workflows. This includes creating reliable async tasks, implementing AI workflows, setting up scheduled jobs, structuring complex task hierarchies with subtasks, configuring build extensions for tools like ffmpeg or Puppeteer/Playwright, and handling task schemas with Zod validation.