Skip to content

Best practices for building AI agents and background jobs with Trigger.dev. Use when creating durable tasks, scheduling workflows, or integrating with the Trigger.dev SDK.

Notifications You must be signed in to change notification settings

triggerdotdev/skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trigger.dev logo

Trigger.dev agent skills

Agent skills for building AI agents, workflows and durable background tasks with Trigger.dev.

Installation

# Install all skills
npx skills add triggerdotdev/skills

# Or install specific skills
npx skills add triggerdotdev/skills --skill setup
npx skills add triggerdotdev/skills --skill tasks
npx skills add triggerdotdev/skills --skill config
npx skills add triggerdotdev/skills --skill agents
npx skills add triggerdotdev/skills --skill realtime

Available Skills

setup

Use when getting started with Trigger.dev:

  • Installing the SDK
  • Running npx trigger init
  • Creating trigger.config.ts
  • Project structure
  • First task walkthrough
  • Environment variables

tasks

Use when creating background jobs, async workflows, or scheduled tasks. Core patterns for building durable tasks:

  • Basic and schema-validated tasks
  • Triggering tasks (single, batch, with wait)
  • Waits and checkpointing
  • Concurrency and queues
  • Debouncing and idempotency
  • Error handling and retries
  • Scheduled tasks (cron)
  • Metadata and progress tracking

config

Use when setting up trigger.config.ts or adding build extensions:

  • Build extensions (Prisma, Playwright, FFmpeg, Python)
  • System packages and additional files
  • Environment variable sync
  • Telemetry integration
  • Global lifecycle hooks

agents

Use when building LLM-powered workflows, orchestration, or multi-step AI agents:

  • Prompt chaining with validation gates
  • Routing (classify → dispatch)
  • Parallelization with batch operations
  • Orchestrator-workers (fan-out/fan-in)
  • Evaluator-optimizer loops
  • Human-in-the-loop with waitpoints

realtime

Use when subscribing to task runs in real-time from frontend or backend:

  • Progress indicators and live dashboards
  • React hooks for triggering and monitoring tasks
  • Streaming AI/LLM responses to UI
  • Wait tokens for human-in-the-loop workflows

What is Trigger.dev?

Trigger.dev is a durable execution platform for AI agents, workflows and background tasks. Long-running TypeScript functions with automatic retries, queuing, and real-time observability.

Key features:

  • Durable execution — Tasks survive restarts and scale automatically
  • Automatic retries — Exponential backoff with configurable retry policies
  • Concurrency control — Queues and rate limiting built-in
  • Long waits — Tasks can wait for up to a year
  • Real-time — Subscribe to task progress from anywhere
  • Multi-environment — Dev, staging, and production from one dashboard
  • No infrastructure to manage — our cloud product is fully managed
  • Open-source — The platform can also be self-hosted on your own infrastructure

Resources

About

Best practices for building AI agents and background jobs with Trigger.dev. Use when creating durable tasks, scheduling workflows, or integrating with the Trigger.dev SDK.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published