Skip to main content
If you already have rules defined in Cursor, GitHub Copilot, Claude, or other AI coding tools, you can import them into Fossa so the same conventions are enforced during code review.

How it works

Fossa detects rule files in your repository and offers to sync them as Fossy Rules. Supported file formats include:
  • .cursorrules (Cursor)
  • .github/copilot-instructions.md (GitHub Copilot)
  • .claude files (Claude)
  • Other AI tool configuration files

Setting it up

  1. Go to Code Review Settings → Fossy Rules
  2. Fossa automatically detects compatible rule files in your repository
  3. Review the detected rules and import the ones you want
  4. Imported rules are added as Fossy 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.