Skip to content

Commit ffbc50f

Browse files
committed
Add building with ai/skills pages and updated intro
1 parent eeab6bd commit ffbc50f

File tree

5 files changed

+116
-6
lines changed

5 files changed

+116
-6
lines changed

docs/building-with-ai.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "Overview"
3+
sidebarTitle: "Overview"
4+
description: "Tools and resources for building Trigger.dev projects with AI coding assistants."
5+
---
6+
7+
We provide tools to help you build Trigger.dev projects with AI coding assistants. We recommend using them for the best developer experience.
8+
9+
<CardGroup cols={1}>
10+
<Card title="MCP Server" icon="sparkles" href="/mcp-introduction">
11+
Give your AI assistant direct access to Trigger.dev tools - search docs, trigger tasks, deploy projects, and monitor runs.
12+
13+
```bash
14+
npx trigger.dev@latest install-mcp
15+
```
16+
</Card>
17+
<Card title="Skills" icon="wand-magic-sparkles" href="/skills">
18+
Install pre-built prompts that teach AI assistants Trigger.dev best practices for writing tasks, configs, and more.
19+
20+
```bash
21+
npx skills add triggerdotdev/skills
22+
```
23+
</Card>
24+
</CardGroup>

docs/docs.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@
4343
"apikeys"
4444
]
4545
},
46+
{
47+
"group": "Building with AI",
48+
"pages": [
49+
"building-with-ai",
50+
{
51+
"group": "MCP Server",
52+
"pages": ["mcp-introduction", "mcp-tools", "mcp-agent-rules"]
53+
},
54+
"skills"
55+
]
56+
},
4657
{
4758
"group": "Writing tasks",
4859
"pages": [
@@ -166,10 +177,6 @@
166177
}
167178
]
168179
},
169-
{
170-
"group": "MCP Server",
171-
"pages": ["mcp-introduction", "mcp-tools", "mcp-agent-rules"]
172-
},
173180
{
174181
"group": "Using the Dashboard",
175182
"pages": ["run-tests", "troubleshooting-alerts", "replaying", "bulk-actions"]

docs/images/intro-ai.jpg

5.37 KB
Loading

docs/introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ mode: "center"
1616
>
1717
Browse our wide range of guides, frameworks and example projects
1818
</Card>
19-
<Card title="MCP Server" img="/images/intro-mcp.jpg" href="/mcp-introduction">
20-
Learn how to install and configure the Trigger.dev MCP Server
19+
<Card title="Building with AI" img="/images/intro-ai.jpg" href="/building-with-ai">
20+
Learn how to build Trigger.dev projects using AI coding assistants
2121
</Card>
2222
<Card title="Video walkthrough" img="/images/intro-video.jpg" href="/video-walkthrough">
2323
Watch an end-to-end demo of Trigger.dev in 10 minutes

docs/skills.mdx

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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

Comments
 (0)