Cursor IDE

MUR syncs patterns to Cursor IDE via the rules system.

How It Works

Cursor supports custom rules in ~/.cursor/rules/. MUR syncs patterns there:

~/.cursor/rules/
ā”œā”€ā”€ mur-index/
│   └── SKILL.md          # Index of all patterns
ā”œā”€ā”€ swift--testing/
│   ā”œā”€ā”€ SKILL.md          # Pattern summary
│   └── examples.md       # Detailed examples
└── go--error-handling/
    └── SKILL.md

Setup

# Initialize mur (if not done)
mur init

# Sync patterns to Cursor
mur sync

That's it! Cursor will automatically load patterns from the rules directory.

Verify Integration

Check that patterns are synced:

ls ~/.cursor/rules/
# Should show mur-index/ and pattern directories

mur stats
# Should show "Cursor" as a sync target

Usage

Once synced, Cursor's AI features will have access to your patterns. The AI can:

  • Reference patterns when generating code
  • Follow conventions from your patterns
  • Suggest solutions based on learned patterns

Manual Re-sync

After adding or updating patterns:

mur sync

Auto-sync

Enable automatic background sync:

mur sync auto enable
# Choose interval: 15m, 30m, 1h, etc.

Troubleshooting

Patterns not appearing

  1. Check sync succeeded: mur sync
  2. Verify files exist: ls ~/.cursor/rules/
  3. Restart Cursor to reload rules

Old patterns showing

# Clean and resync
mur sync --clean-old