trigger-basic
OfficialStreamline Trigger.dev tasks in TypeScript.
Authortrycompai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Efficiently create, orchestrate, and manage deterministic Trigger.dev tasks in TypeScript backends using the v4 SDK, reducing boilerplate and increasing reliability.
Core Features & Use Cases
- Basic Task: Define a Task with id, retry policy, and a run function to execute business logic.
- Schema Task: Validate and type-check payloads with a schema before running.
- Scheduled Task: Schedule recurring jobs and observe payload data like timestamp and next runs.
- Triggering Tasks: Trigger tasks from backend code, handle results, and coordinate batch operations.
- Waits: Introduce precise delays and waits for external signals or timeouts.
- Key Points: Distinguish between result and output, enforce type safety, and follow best practices for v4.
Quick Start
Write a simple task using the v4 SDK and wire it into your Node backend to start processing events.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: trigger-basic Download link: https://github.com/trycompai/comp/archive/main.zip#trigger-basic Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.