mikkelkrogsholm/dev-skills/trigger-dev

Claude Code and agent skill by mikkelkrogsholm/dev-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Trigger.dev — open-source background jobs platform for TypeScript with durable execution, retries, scheduling, and real-time monitoring. Use when building with Trigger.dev or asking about its task definitions, schedules, delays, batching, concurrency, or deployment. Fetch live documentation for up-to-date details.

Install

npx vskill@latest install mikkelkrogsholm/dev-skills/trigger-dev

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Trigger.dev

CRITICAL: Your training data for Trigger.dev is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use WebFetch to read the live docs:
`WebFetch("https://trigger.dev/llms.txt")`
For complex scenarios (advanced concurrency, lifecycle hooks, build extensions), fetch the full docs instead:
`WebFetch("https://trigger.dev/docs/llms-full.txt")`
Do not proceed without fetching first. Never assume an API exists — verify against current docs.

Trigger.dev is an open-source background jobs platform for TypeScript with durable execution, built-in retries, scheduling, and real-time monitoring.

Key Capabilities

  • Durable waits: wait.for({ seconds: 30 }), wait.until({ date }), and wait.forToken() suspend execution without consuming timeout — the run resumes after the wait, not a new invocation.
  • No default timeout: Tasks have no built-in timeout. Set maxDuration per task or globally in config if a limit is needed.
  • Batch triggering: tasks.batchTrigger() accepts up to 1,000 items in a single call.
  • Child tasks with results: childTask.triggerAndWait() suspends the parent until the child completes and returns a typed Result object — check .ok before accessing .output, or call .unwrap().
  • Lifecycle hooks: onStart, onSuccess, onFailure, and init in config handle cross-cutting concerns without modifying task code.
  • Build extensions: @trigger.dev/build/extensions provides first-party support for Prisma, FFmpeg, Playwright, and system packages — use instead of manual Docker layers.

Best Practices

  • Never wrap triggerAndWait or batchTriggerAndWait in Promise.all — this pattern is explicitly unsupported and will cause failures.
  • Every task must be exported from its file. Non-exported tasks are silently ignored and will not run.
  • Use AbortTaskRunError to fail a run without retrying (e.g., for validation failures). Throwing any other error triggers the retry policy.
  • Each Trigger.dev environment (dev, staging, prod) has its own TRIGGER_SECRET_KEY — using the wrong key triggers runs in the wrong environment with no obvious error.
  • processKeepAlive reduces cold starts but the process can be killed at any time; do not rely on in-memory state persisting between task runs.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
Repository forks
3
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 May 2026, 6 months ago.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mikkelkrogsholm/dev-skills/trigger-dev/badge)](https://verified-skill.com/skills/mikkelkrogsholm/dev-skills/trigger-dev)

Something wrong with this skill or its page? Tell us.