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
- Check sync succeeded:
mur sync - Verify files exist:
ls ~/.cursor/rules/ - Restart Cursor to reload rules
Old patterns showing
# Clean and resync
mur sync --clean-old