CodeRabbit logoCodeRabbit logo
PlanEnterpriseCustomersPricingBlog
Resources
  • Docs
  • Trust Center
  • Contact Us
  • FAQ
  • Whitepapers
Log InGet a free trial
CodeRabbit logoCodeRabbit logo

Products

Pull Request ReviewsIssue plannerIDE ReviewsCLI ReviewsOSS

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand GuidelinesWhitepapers

Contact

SupportSalesPricingPartnerships

By signing up you agree to our Terms of Use and Privacy Policy

discord iconx iconlinkedin iconrss icon
footer-logo shape
Terms of Service Privacy Policy

CodeRabbit Inc © 2026

CodeRabbit logoCodeRabbit logo

Products

Pull Request ReviewsIssue plannerIDE ReviewsCLI ReviewsOSS

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand GuidelinesWhitepapers

Contact

SupportSalesPricingPartnerships

By signing up you agree to our Terms of Use and Privacy Policy

discord iconx iconlinkedin iconrss icon

Code Guidelines: Bring your coding rules to CodeRabbit

by
Edgar Cerecerez

Edgar Cerecerez

July 02, 2025

|

2 min read

July 02, 2025

2 min read

  • Using Code Guidelines
  • Why it matters
  • What's next?
Back to blog
Cover image

Share

https://victorious-bubble-f69a016683.media.strapiapp.com/Reddit_feecae8a6d.pnghttps://victorious-bubble-f69a016683.media.strapiapp.com/X_721afca608.pnghttps://victorious-bubble-f69a016683.media.strapiapp.com/Linked_In_a3d8c65f20.png

Cut code review time & bugs by 50%

Most installed AI app on GitHub and GitLab

Free 14-day trial

Get Started

Catch the latest, right in your inbox.

Add us your feed.RSS feed icon
newsletter decoration

Catch the latest, right in your inbox.

Add us your feed.RSS feed icon

Keep reading

A very brief history of AI coding, from Copilot to next-gen agents

A very brief history of AI coding, from Copilot to next-gen agents

How code models became coding assistants, how assistants became agents, and how the practice of software engineering began to reorganize around them.

Meet CodeRabbit Plan: Better plans. Faster delivery. Less rework

Meet CodeRabbit Plan: Better plans. Faster delivery. Less rework

The challenge Teams using coding agents need prompts that are clear, specific and context-aware. That's exactly why we built CodeRabbit Plan, a collaborative planning tool that turns vague ideas into

Gemini 3.1 Pro for code-related tasks: More focus, higher signal-to-noise

Gemini 3.1 Pro for code-related tasks: More focus, higher signal-to-noise

In practice, developers experience AI code review through the comments it leaves on pull requests: how often it finds real issues, how much noise it produces, and how actionable its feedback is. To an

The one thing devs will still read when they stop reading code

The one thing devs will still read when they stop reading code

Code was never meant to be read. We just had no alternative. Consider a real-world example: a production payments service with layered retry logic, idempotency keys, circuit breakers, feature flags, a

Get
Started in
2 clicks.

No credit card needed

Your browser does not support the video.
Install in VS Code
Your browser does not support the video.

If you're using or have tried out Cursor or another AI coding tool (who hasn't?), chances are you've also seen the downsides of it. Maybe you’re having to repeat how to structure the project when creating new files. Or maybe you're using shadcn/ui for UI components. Or maybe when you want to run a build that requires another command to build a backend dependency first.

Cursor, Windsurf, Copilot, and other AI coding agents addressed this problem by adding support for reusable, scoped instructions that can be read on every ask – or when requested. Smart move!

Using Code Guidelines

CodeRabbit will automatically detect your coding rules for:

  • Cursor .cursorrules

  • GitHub Copilot .github/copilot-instructions.md

  • Cline /.clinerules/*

  • Windsurf /.windsurfrules

  • Claude /CLAUDE.md

  • And more

With Code Guidelines, these rules are used as context on every PR review.

We also support adding your own rules by specifying a custom file pattern. Got your guidelines in docs/STANDARDS.md or team/code-style.txt? Just add the pattern and CodeRabbit will pick it up.

Why it matters

This has huge implications. For one, that means CodeRabbit will follow the same rules you set with your AI coding agent. No more context switching. No more explaining the same standards twice.

It also gives you a way to specify exactly how CodeRabbit should do a PR review and what best practices you want the CodeRabbit review agent to follow. Now, you can just add these guidelines to your rules (be it from Cursor, GitHub, etc.) and:

  • Enforce style and formatting consistency - If your .cursorrules say "use camelCase for functions, PascalCase for components," CodeRabbit will flag violations during review.

  • Maintain architecture patterns - Define your preferred file structure, module boundaries, or dependency rules once and CodeRabbit ensures every PR follows them.

  • Apply team-specific standards - Whether it's "always use early returns" or "prefer composition over inheritance," your unique team preferences become part of every review.

What's next?

CodeRabbit’s not-so-secret magic to PR reviews is the level of context engineering it does. Code Guidelines make CodeRabbit’s reviews even better by adding your coding rules. As for what’s next, I'll give you a hint: context is king. Stay tuned.

If you haven't tried CodeRabbit yet, there's never been a better time. Get started for free and start cutting your code review time (and bugs) in half.