What problem does it solve? Writing background jobs with Trigger.dev involves many subtle APIs—task() vs schemaTask(), retries, waits, queues, idempotency keys, and the Result shape of triggered runs—and small mistakes (like treating a wait result as raw output) cause silent bugs. This Skill loads the version-pinned authoring reference bundled inside your installed @trigger.dev/sdk so the guidance always matches your SDK version. ## Core Features & Use Cases - Version-pinned reference loading: Points the AI to the SKILL.md and docs shipped inside node_modules/@trigger.dev/sdk, eliminating drift between documentation and installed code. - Common mistake prevention: Covers critical pitfalls such as misreading triggerAndWait results, wrapping waits in Promise.all, importing task instances into backend code, and misusing metadata outside run(). - Use Case: You are adding a new scheduled email sequence in your /trigger directory. Load this Skill so the AI writes the schemaTask with correct retries, idempotency keys, and trigger.config.ts settings on the first attempt. ## Quick Start Use the trigger-authoring-tasks skill to write a new Trigger.dev task in my /trigger directory that retries on failure and triggers a child task.