|
| 1 | +--- |
| 2 | +title: "Skills" |
| 3 | +description: "Install Trigger.dev skills to teach any AI coding assistant best practices for writing tasks, agents, and workflows." |
| 4 | +--- |
| 5 | + |
| 6 | +## What are agent skills? |
| 7 | + |
| 8 | +Skills are portable instruction sets that teach AI coding assistants how to use Trigger.dev effectively. Unlike vendor-specific config files (`.cursor/rules`, `CLAUDE.md`), skills use an open standard that works across all major AI assistants. For example, Cursor users and Claude Code users can get the same knowledge from a single install. |
| 9 | + |
| 10 | +Skills install as `SKILL.md` files that AI assistants automatically discover and follow. Each skill contains YAML frontmatter (name, description) and markdown instructions with patterns, examples, and best practices. |
| 11 | + |
| 12 | +## Installation |
| 13 | + |
| 14 | +When you run `npx skills add triggerdotdev/skills`, the CLI detects your installed AI tools and copies the appropriate files to each tool's expected location. For example, `.claude/skills/`, `.cursor/rules/`, `.github/copilot-instructions/`, etc. |
| 15 | + |
| 16 | +```bash |
| 17 | +npx skills add triggerdotdev/skills |
| 18 | +``` |
| 19 | + |
| 20 | +<Note>`skills` is an open-source CLI by Vercel. Learn more at [skills.sh](https://skills.sh).</Note> |
| 21 | + |
| 22 | +The result: your AI assistant understands Trigger.dev's specific patterns for exports, schema validation, error handling, retries, and more. |
| 23 | + |
| 24 | +## Supported AI assistants |
| 25 | + |
| 26 | +Skills work with any AI coding assistant that supports the [Agent Skills standard](https://agentskills.io), including: |
| 27 | + |
| 28 | +- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) |
| 29 | +- [Cursor](https://cursor.com) |
| 30 | +- [Windsurf](https://codeium.com/windsurf) |
| 31 | +- [GitHub Copilot](https://github.com/features/copilot) |
| 32 | +- [Cline](https://github.com/cline/cline) |
| 33 | +- [Codex CLI](https://github.com/openai/codex) |
| 34 | +- [Gemini CLI](https://github.com/google-gemini/gemini-cli) |
| 35 | +- [OpenCode](https://opencode.ai) |
| 36 | +- [View all →](https://skills.sh/docs/supported-agents) |
| 37 | + |
| 38 | +## Available skills |
| 39 | + |
| 40 | +Install all skills at once, or pick the ones relevant to your current work: |
| 41 | + |
| 42 | +```bash |
| 43 | +# Install all Trigger.dev skills |
| 44 | +npx skills add triggerdotdev/skills |
| 45 | + |
| 46 | +# Or install individual skills |
| 47 | +npx skills add triggerdotdev/skills --skill trigger-tasks |
| 48 | +npx skills add triggerdotdev/skills --skill trigger-agents |
| 49 | +npx skills add triggerdotdev/skills --skill trigger-config |
| 50 | +npx skills add triggerdotdev/skills --skill trigger-realtime |
| 51 | +npx skills add triggerdotdev/skills --skill trigger-setup |
| 52 | +``` |
| 53 | + |
| 54 | +| Skill | Use for | Covers | |
| 55 | +|-------|---------|--------| |
| 56 | +| `trigger-setup` | First time setup, new projects | SDK install, `npx trigger init`, project structure | |
| 57 | +| `trigger-tasks` | Writing background tasks, async workflows, scheduled tasks | Triggering, waits, queues, retries, cron, metadata | |
| 58 | +| `trigger-agents` | LLM workflows, orchestration, multi-step AI agents | Prompt chaining, routing, parallelization, human-in-the-loop | |
| 59 | +| `trigger-realtime` | Live updates, progress indicators, streaming | React hooks, progress bars, streaming AI responses | |
| 60 | +| `trigger-config` | Project setup, build configuration | `trigger.config.ts`, extensions (Prisma, FFmpeg, Playwright) | |
| 61 | + |
| 62 | +Not sure which skill to install? Install `trigger-tasks`; it covers the most common patterns for writing Trigger.dev tasks. |
| 63 | + |
| 64 | +## Next steps |
| 65 | + |
| 66 | +<CardGroup cols={2}> |
| 67 | + <Card title="MCP Server" icon="sparkles" href="/mcp-introduction"> |
| 68 | + Give your AI assistant direct access to Trigger.dev tools and APIs. |
| 69 | + </Card> |
| 70 | + <Card title="Writing tasks" icon="code" href="/tasks/overview"> |
| 71 | + Learn the task patterns that skills teach your AI assistant. |
| 72 | + </Card> |
| 73 | + <Card title="Building AI agents" icon="brain" href="/guides/ai-agents/overview"> |
| 74 | + Build durable AI workflows with prompt chaining and human-in-the-loop. |
| 75 | + </Card> |
| 76 | + <Card title="skills.sh" icon="box" href="https://skills.sh"> |
| 77 | + Browse the full Agent Skills ecosystem. |
| 78 | + </Card> |
| 79 | +</CardGroup> |
0 commit comments