YAML examples for Cursor
Run Cursor with all options
yaml
- action: "Run Cursor"
type: "CURSOR"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my-cursor-integration"
prompts:
- "Review the code and suggest improvements"
- file: ".buddy/cursor-prompt.md"
model: "auto-smart"
skills:
- buddy-works/security-audit
mcp_servers:
github:
type: "http"
url: "https://api.githubcopilot.com/mcp/"
headers:
Authorization: "Bearer $GITHUB_TOKEN"
filesystem:
type: "stdio"
command: "npx"
args:
- "-y"
- "@modelcontextprotocol/server-filesystem"
- "/buddy/my-repo"
Minimal Cursor
yaml
- action: "Cursor Review"
type: "CURSOR"
trigger_time: "ON_EVERY_EXECUTION"
integration: "my-cursor-integration"
prompts:
- "Review the code"