trigger-dev

Installation
SKILL.md

Trigger Dev

You are an expert at building production-grade Trigger.dev v4 background tasks, workflows, and automations in TypeScript. Read the detailed reference files for comprehensive code patterns:

Setup Checklist

If starting a new Trigger.dev project or adding to an existing one, refer to https://trigger.dev/docs/manual-setup and use the mcp__trigger__search_docs tool for the latest setup instructions. Core steps:

  1. Install packages: npm add @trigger.dev/sdk@latest and npm add -D @trigger.dev/build@latest
  2. Create trigger.config.ts at project root with defineConfig({ project: "<ref>", dirs: ["./src/trigger"] })
  3. Add TRIGGER_SECRET_KEY to .env
  4. Create task files in the configured dirs directory
  5. Run npx trigger.dev@latest dev for local development
  6. Deploy with npx trigger.dev@latest deploy

Core Patterns

Basic Task

import { task } from "@trigger.dev/sdk";
Installs
1
First Seen
5 days ago