What problem does it solve?
Setting up Trigger.dev from scratch involves many error-prone steps: authenticating the CLI, installing the right SDK versions, writing trigger.config.ts, scaffolding a tasks directory, wiring tsconfig and .gitignore, and setting the secret key. This Skill guides an AI agent through the entire bootstrap process so a project goes from zero to a running dev server with a registered task.
Core Features & Use Cases
- Guided CLI or manual setup: Prefers
npx trigger.dev init, with full manual fallback steps for monorepos, existing configs, or non-interactive environments.
- Human handoff handling: Identifies the two steps only a person can do (CLI login and copying the DEV secret key / project ref from the dashboard) and pauses to request them.
- First task scaffolding: Creates a
/trigger directory with an exported task(), wires trigger.config.ts, tsconfig, .gitignore, and TRIGGER_SECRET_KEY, then runs trigger dev.
- Use Case: A developer says "add Trigger.dev to my Next.js app" — the agent installs
@trigger.dev/sdk and @trigger.dev/build, writes the config with the project ref, scaffolds a hello-world task, and starts the dev server so the task appears in the dashboard.
Quick Start
Ask the agent to set up Trigger.dev in this project and create a first task, then provide your dashboard project ref and DEV secret key when prompted.