trigger-dev

Manage TypeScript background jobs with retries, scheduling, and monitoring.

5|3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/mikkelkrogsholm/dev-skills --skill trigger-dev-mikkelkrogsholm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trigger-dev
Source: https://github.com/mikkelkrogsholm/dev-skills/tree/main/trigger-dev
Command: npx skills add https://github.com/mikkelkrogsholm/dev-skills --skill trigger-dev-mikkelkrogsholm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust platform for executing background jobs in TypeScript, ensuring tasks run reliably even through interruptions, with built-in retries and scheduling.

Core Features & Use Cases

  • Durable Execution: Tasks can pause and resume without consuming timeouts, ideal for long-running operations or waiting for external events.
  • Reliable Retries: Automatically retries failed tasks based on configurable policies.
  • Scheduling & Monitoring: Schedule jobs and monitor their execution in real-time.
  • Use Case: You need to process a large batch of user-uploaded images overnight. Use Trigger.dev to schedule this job, ensure it completes even if the server restarts, and monitor its progress.

Quick Start

Use the trigger-dev skill to define a new background job that sends a welcome email to a user upon signup.

Frequently Asked Questions about trigger-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run background jobs reliably in TypeScript without losing progress during server restarts?

Background jobs in TypeScript can run reliably using durable execution, which allows tasks to pause and resume without losing progress during interruptions. This ensures long-running operations complete successfully even through server restarts.

What is durable execution for asynchronous tasks and when do I need it?

Durable execution is a mechanism that lets asynchronous tasks pause and resume without consuming timeouts, ideal for long-running operations or waiting for external events. You need it when tasks must survive interruptions or run overnight.

How do I schedule background jobs and monitor their execution in real time?

To schedule background jobs, you provide schedule configurations and task definitions. Real-time monitoring is built in, allowing you to track the execution and progress of your scheduled jobs as they run.

Can I use serverless background jobs to process large batches of user-uploaded images overnight?

Yes, serverless background jobs support batch processing overnight by scheduling the job, ensuring it completes even if the server restarts, and monitoring its progress. Automatic retries handle any failures during the batch run.

How do I configure automatic retries for failed TypeScript tasks?

Automatic retries for failed TypeScript tasks are configured through customizable retry policies. You define the retry logic within your task definitions, ensuring failed operations are automatically retried based on your specified parameters.