If you already have rules defined in Cursor, GitHub Copilot, Claude, or other AI coding tools, you can import them into Mesrai so the same conventions are enforced during code review.
How it works
Mesrai detects rule files in your repository and offers to sync them as Mesrai Rules. Supported file formats include:
.cursorrules(Cursor).github/copilot-instructions.md(GitHub Copilot).claudefiles (Claude)- Other AI tool configuration files
Setting it up
- Go to Code Review Settings → Mesrai Rules
- Mesrai automatically detects compatible rule files in your repository
- Review the detected rules and import the ones you want
- Imported rules are added as Mesrai Rules and enforced during code review
Why this matters
Without syncing, your IDE and code review tools enforce different standards. A developer following Cursor’s rules might still get flagged during review for something their IDE didn’t catch — or vice versa.
Importing ensures one source of truth for coding standards across your entire workflow.
For details, see Sync IDE Rules.