Agent rules improve the quality of code generated by AI tools like Cursor and Claude when working with Trigger.dev's official MCP server.
What they cover
The agent rules provide comprehensive guidance for AI tools across different areas:
- Basic tasks: Core rules for writing Trigger.dev tasks (1,200 tokens)
- Advanced tasks: Complete rules for complex workflows (3,000 tokens)
- Scheduled tasks: How to write and use scheduled tasks (780 tokens)
- Configuration: Setting up
trigger.config.ts
properly (1,900 tokens) - Realtime: Using Realtime in tasks and frontend (1,700 tokens)
Supported AI tools
Agent rules work with Cursor, Claude Code, VSCode Copilot, Windsurf, Gemini CLI, Cline, and more through various formats including AGENTS.md.
Installation
Agent rules are included when you install our official MCP server:
npx trigger.dev@latest mcp
Read the announcement blog post
Agent rules were announced as part of Launchweek 2.