This guide shows how to add Cursor rules to a project to help you write Trigger.dev tasks faster and more accurately.
.cursor/rules
folder in your project root, or click the “add new rule” button in Cursor Settings
> Rules
..cursor/rules
folderHelps with | Don’t use it for |
---|---|
Creating basic tasks | Deploying |
Creating scheduled tasks | Project setup |
Creating schema tasks | Infrastructure configuration |
Triggering tasks from backend | API keys |
Task lifecycle functions | Using tags |
Using Realtime | |
Idempotency patterns | |
Metadata handling | |
Using build extensions |