Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

trigger-dev-tasks

Skill by triggerdotdev

Guides an AI assistant to write, design and optimize Trigger.dev background tasks and workflows. It covers async tasks, scheduled jobs, subtasks, Zod-validated schemas and build extensions.

  • Score 94
  • 17k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install trigger-dev-tasks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/triggerdotdev/trigger.dev /tmp/trigger.dev && mkdir -p ~/.claude/skills && cp -r /tmp/trigger.dev/.claude/skills/trigger-dev-tasks ~/.claude/skills/trigger-dev-tasks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install trigger-dev-tasks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This is an agent skill (SKILL.md) that makes an AI assistant act as a Trigger.dev task expert. It covers creating tasks with task and schemaTask from @trigger.dev/sdk, triggering tasks from backend code and from inside other tasks, and using idempotency keys, debouncing, batch triggering and machine presets. It also points to reference files for scheduled tasks, realtime subscriptions and trigger.config.ts build extensions such as Prisma, Playwright and FFmpeg.

The skill sets critical rules, such as using @trigger.dev/sdk, using the built-in fetch instead of node-fetch, exporting every task, and not wrapping wait or trigger calls in Promise.all. It is written for developers building production background job systems on Trigger.dev, where tasks run in Node.js 21+.

Written from the project's SKILL.md and checked against it.

What it can do

  • Basic tasksDefines a background task with an id, retry settings and a run function.
  • Schema tasksDefines tasks whose payload is validated and typed with a Zod schema.
  • Triggering from backendTriggers tasks from backend code using tasks.trigger with a type-only import.
  • SubtasksTriggers child tasks from a parent and reads results with triggerAndWait.
  • Idempotency keysCreates run-scoped idempotency keys so retries do not repeat critical work.
  • DebouncingConsolidates rapid triggers into one execution using leading or trailing mode.
  • Batch triggeringTriggers up to 1,000 items per batch with batchTriggerAndWait.
  • Trigger optionsSets delay, ttl, idempotencyKey, queue, machine, maxAttempts and tags per trigger.
  • Reference docsPoints to reference files for cron schedules, realtime and build extensions.

What you need

  • Node.js 21+
  • @trigger.dev/sdk package
  • Zod for task schemas

Try asking

  • Write a Trigger.dev task that retries a payment call with idempotency keys
  • Create a schemaTask with a Zod schema for a signup email task
  • Debounce user activity updates so they run once after 5 seconds

Good to know

  • Batch triggering allows up to 1,000 items per batch and 3MB per payload.
  • Each trigger accepts a maximum of 10 tags.
  • Tasks are charged by millisecond, so the skill suggests fewer subtasks where a single task is enough.

Security check

B
  • Allowed to use Write, Edit, Bash without limitsIn SKILL.md

Checked automatically: .claude/skills/trigger-dev-tasks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditGlobGrepBash

  • SKILL.md6 KB
  • advanced-tasks.md12 KB
  • basic-tasks.md5 KB
  • config.md8 KB
  • realtime.md6 KB
Show all 6 files
  • scheduled-tasks.md3 KB

Alternatives to trigger-dev-tasks

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

trigger-dev-tasks: common questions

What runtime do Trigger.dev tasks use?

The skill says tasks deployed to Trigger.dev run in Node.js 21+ and use the @trigger.dev/sdk package.

Should I use node-fetch in Trigger.dev tasks?

No. The skill says to use the built-in fetch function instead of node-fetch.

How do I avoid repeating work when a task retries?

The skill recommends idempotency keys created with idempotencyKeys.create, scoped to the current run so they survive retries.

How do I install trigger-dev-tasks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is trigger-dev-tasks free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is trigger-dev-tasks safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.

What are alternatives to trigger-dev-tasks?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

trigger-dev-tasks Install

Add to stack

Loading.