Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions docs/skills.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
title: "Skills"
description: "Install Trigger.dev skills to teach any AI coding assistant best practices for writing tasks, agents, and workflows."
sidebarTitle: "Skills"
tag: "new"
---

## What are agent skills?

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.

<Note>
Skills are one of three AI tools we provide. You can also install [Agent Rules](/mcp-agent-rules) for client-specific rule sets or the [MCP Server](/mcp-introduction) for live project interaction. See the [comparison table](/building-with-ai#skills-vs-agent-rules-vs-mcp) for details.
Skills are one of three AI tools we provide. You can also install [Agent Rules](/mcp-agent-rules)
for client-specific rule sets or the [MCP Server](/mcp-introduction) for live project interaction.
See the [comparison table](/building-with-ai#skills-vs-agent-rules-vs-mcp) for details.
</Note>

Skills are installed as directories containing a `SKILL.md` file. Each `SKILL.md` includes YAML frontmatter (name, description) and markdown instructions with patterns, examples, and best practices that AI assistants automatically discover and follow.
Expand All @@ -27,7 +28,6 @@ npx skills add triggerdotdev/skills

The result: your AI assistant understands Trigger.dev's specific patterns for exports, schema validation, error handling, retries, and more.


## Available skills

Install all skills at once, or pick the ones relevant to your current work:
Expand All @@ -42,19 +42,21 @@ npx skills add triggerdotdev/skills --skill trigger-agents
npx skills add triggerdotdev/skills --skill trigger-config
npx skills add triggerdotdev/skills --skill trigger-realtime
npx skills add triggerdotdev/skills --skill trigger-setup
npx skills add triggerdotdev/skills --skill trigger-cost-savings

```

| Skill | Use for | Covers |
|-------|---------|--------|
| `trigger-setup` | First time setup, new projects | SDK install, `npx trigger init`, project structure |
| `trigger-tasks` | Writing background tasks, async workflows, scheduled tasks | Triggering, waits, queues, retries, cron, metadata |
| `trigger-agents` | LLM workflows, orchestration, multi-step AI agents | Prompt chaining, routing, parallelization, human-in-the-loop |
| `trigger-realtime` | Live updates, progress indicators, streaming | React hooks, progress bars, streaming AI responses |
| `trigger-config` | Project setup, build configuration | `trigger.config.ts`, extensions (Prisma, FFmpeg, Playwright) |
| Skill | Use for | Covers |
| ---------------------- | ----------------------------------------------------------- | ---------------------------------------------------------------- |
| `trigger-setup` | First time setup, new projects | SDK install, `npx trigger init`, project structure |
| `trigger-tasks` | Writing background tasks, async workflows, scheduled tasks | Triggering, waits, queues, retries, cron, metadata |
| `trigger-agents` | LLM workflows, orchestration, multi-step AI agents | Prompt chaining, routing, parallelization, human-in-the-loop |
| `trigger-realtime` | Live updates, progress indicators, streaming | React hooks, progress bars, streaming AI responses |
| `trigger-config` | Project setup, build configuration | `trigger.config.ts`, extensions (Prisma, FFmpeg, Playwright) |
| `trigger-cost-savings` | Cost savings, performance optimization, resource management | Cost optimization, performance optimization, resource management |

Not sure which skill to install? Install `trigger-tasks`; it covers the most common patterns for writing Trigger.dev tasks.


## Supported AI assistants

Skills work with any AI coding assistant that supports the [Agent Skills standard](https://agentskills.io), including:
Expand Down Expand Up @@ -84,4 +86,4 @@ Skills work with any AI coding assistant that supports the [Agent Skills standar
<Card title="skills.sh" icon="box" href="https://skills.sh">
Browse the full Agent Skills ecosystem.
</Card>
</CardGroup>
</CardGroup>
Loading