011matthias

trigger-pack

Consolidated Trigger.dev skill pack. Use when building, testing, or deploying Trigger.dev tasks. Replaces trigger-agents, trigger-config, trigger-realtime, trigger-setup, trigger-tasks, and build/TRIGGER-DEV-* modules. Load modules individually per task.

011matthias 0 Updated 3mo ago

Resources

2
GitHub

Install

npx skillscat add 011matthias/agentic-ops1-01/trigger-pack

Install via the SkillsCat registry.

SKILL.md

Trigger.dev Pack

Unified reference for building Trigger.dev automations. Code-first: TypeScript task wrappers call Python scripts via python.runScript(). Deployed via npx trigger.dev deploy.


Build Procedure

  1. Detect — Confirm Trigger.dev orchestrator (trigger.config.ts exists in automations/)
  2. Read spec — Extract flow, trigger type, systems, acceptance criteria
  3. Write task → Load TASKS module for task patterns
  4. Add AI agents → Load AGENTS module if automation uses LLMs
  5. Configure → Load CONFIG module for trigger.config.ts changes
  6. Test locally — npx trigger.dev dev
  7. Deploy — npx trigger.dev deploy

Critical Rules (Always Apply)

  • TypeScript wraps Python — task files are .ts, they call Python scripts
  • Environment variables via TRIGGER_SECRET_KEY, TRIGGER_API_URL, client API keys in .env
  • Default for new clients — Trigger.dev is the default orchestrator

Module Index

Load ONE module at a time based on your current task.

Procedure Modules

When Module Source
Writing basic tasks TRIGGER-DEV-BASIC-TASKS build
Full build workflow TRIGGER-DEV-BUILD build
Modifying trigger.config.ts TRIGGER-DEV-CONFIG build
Advanced patterns (concurrency, retries) TRIGGER-DEV-ADVANCED-TASKS build
Scheduled/cron tasks TRIGGER-DEV-SCHEDULED build
Frontend monitoring TRIGGER-DEV-REALTIME build
AI agent tasks AGENTS trigger-pack
Configuration reference CONFIG trigger-pack
Realtime reference REALTIME trigger-pack
New client setup SETUP trigger-pack

Reference Modules (load ONLY for specific lookups)

When Module Source
Task orchestration patterns orchestration trigger-pack
Streaming patterns streaming trigger-pack
Waitpoint patterns waitpoints trigger-pack
AI tool integration ai-tool trigger-pack
Basic task reference basic-tasks trigger-pack
Advanced task reference advanced-tasks trigger-pack
Scheduled task reference scheduled-tasks trigger-pack
Full trigger.config.ts reference (custom + advanced build extensions) config trigger-pack
Full realtime reference (public tokens, run object properties) realtime trigger-pack
Env vars, dev vs prod keys, CI/CD and multi-environment setup environment-setup trigger-pack
Project layout, monorepos, multiple or collocated task dirs project-structure trigger-pack