diff --git a/docs/skills.mdx b/docs/skills.mdx index f12c5c36eb..1a446e9e18 100644 --- a/docs/skills.mdx +++ b/docs/skills.mdx @@ -2,7 +2,6 @@ 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? @@ -10,7 +9,9 @@ tag: "new" 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. - 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. 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. @@ -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: @@ -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: @@ -84,4 +86,4 @@ Skills work with any AI coding assistant that supports the [Agent Skills standar Browse the full Agent Skills ecosystem. - \ No newline at end of file +