-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add building with ai/skills pages and updated intro #2962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ffbc50f
Add building with ai/skills pages and updated intro
D-K-P aa4771a
Merge branch 'main' into docs/building-with-ai
D-K-P 11775af
Fix skills installation paths in docs
D-K-P 2e91071
More copy tweaks
D-K-P dc3c6ad
Simplified MCP tools page
D-K-P f151f01
Added new badge to skills and removed new badge from mcp pages
D-K-P bcf79e8
Reordered skills page
D-K-P a50aa05
Rabbit fixes
D-K-P 3ad630e
Improved get_current_worker description
D-K-P 4a95db7
Updated MCP intro page layout
D-K-P 07859b0
Updated quick start and building with ai intro page
D-K-P f6cecb0
Fixes
D-K-P File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| title: "Overview" | ||
| sidebarTitle: "Overview" | ||
| description: "Tools and resources for building Trigger.dev projects with AI coding assistants." | ||
| --- | ||
|
|
||
| We provide tools to help you build Trigger.dev projects with AI coding assistants. We recommend using them for the best developer experience. | ||
|
|
||
| <CardGroup cols={1}> | ||
| <Card title="MCP Server" icon="sparkles" href="/mcp-introduction"> | ||
| Give your AI assistant direct access to Trigger.dev tools - search docs, trigger tasks, deploy projects, and monitor runs. | ||
|
|
||
| ```bash | ||
| npx trigger.dev@latest install-mcp | ||
| ``` | ||
| </Card> | ||
| <Card title="Skills" icon="wand-magic-sparkles" href="/skills"> | ||
| Install pre-built prompts that teach AI assistants Trigger.dev best practices for writing tasks, configs, and more. | ||
|
|
||
| ```bash | ||
| npx skills add triggerdotdev/skills | ||
| ``` | ||
| </Card> | ||
| </CardGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| --- | ||
| title: "Skills" | ||
| description: "Install Trigger.dev skills to teach any AI coding assistant best practices for writing tasks, agents, and workflows." | ||
| --- | ||
|
|
||
| ## 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. | ||
|
|
||
| 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. | ||
|
|
||
| ## Installation | ||
|
|
||
| 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/skills/`, `.github/skills/`, etc. | ||
|
|
||
| ```bash | ||
| npx skills add triggerdotdev/skills | ||
| ``` | ||
|
|
||
| <Note>`skills` is an open-source CLI by Vercel. Learn more at [skills.sh](https://skills.sh).</Note> | ||
|
|
||
| The result: your AI assistant understands Trigger.dev's specific patterns for exports, schema validation, error handling, retries, and more. | ||
|
|
||
| ## Supported AI assistants | ||
|
|
||
| Skills work with any AI coding assistant that supports the [Agent Skills standard](https://agentskills.io), including: | ||
|
|
||
| - [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | ||
| - [Cursor](https://cursor.com) | ||
| - [Windsurf](https://codeium.com/windsurf) | ||
| - [GitHub Copilot](https://github.com/features/copilot) | ||
| - [Cline](https://github.com/cline/cline) | ||
| - [Codex CLI](https://github.com/openai/codex) | ||
| - [Gemini CLI](https://github.com/google-gemini/gemini-cli) | ||
| - [OpenCode](https://opencode.ai) | ||
| - [View all →](https://skills.sh/docs/supported-agents) | ||
|
D-K-P marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Available skills | ||
|
|
||
| Install all skills at once, or pick the ones relevant to your current work: | ||
|
|
||
| ```bash | ||
| # Install all Trigger.dev skills | ||
| npx skills add triggerdotdev/skills | ||
|
|
||
| # Or install individual skills | ||
| npx skills add triggerdotdev/skills --skill trigger-tasks | ||
| 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 | ||
| ``` | ||
|
|
||
| | 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) | | ||
|
|
||
| Not sure which skill to install? Install `trigger-tasks`; it covers the most common patterns for writing Trigger.dev tasks. | ||
|
|
||
| ## Next steps | ||
|
|
||
| <CardGroup cols={2}> | ||
| <Card title="MCP Server" icon="sparkles" href="/mcp-introduction"> | ||
| Give your AI assistant direct access to Trigger.dev tools and APIs. | ||
| </Card> | ||
| <Card title="Writing tasks" icon="code" href="/tasks/overview"> | ||
| Learn the task patterns that skills teach your AI assistant. | ||
| </Card> | ||
| <Card title="Building AI agents" icon="brain" href="/guides/ai-agents/overview"> | ||
| Build durable AI workflows with prompt chaining and human-in-the-loop. | ||
| </Card> | ||
| <Card title="skills.sh" icon="box" href="https://skills.sh"> | ||
| Browse the full Agent Skills ecosystem. | ||
| </Card> | ||
| </CardGroup> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.