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

Products

Pull Request ReviewsIDE ReviewsCLI Reviews

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand Guidelines

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 ReviewsIDE ReviewsCLI Reviews

Navigation

About UsFeaturesFAQSystem StatusCareersDPAStartup ProgramVulnerability Disclosure

Resources

BlogDocsChangelogCase StudiesTrust CenterBrand Guidelines

Contact

SupportSalesPricingPartnerships

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

discord iconx iconlinkedin iconrss icon

Code Guidelines: あなたのコーディング規約をCodeRabbitに取り込もう

by
Atsushi Nakatsugawa

Atsushi Nakatsugawa

Japanese,

July 10, 2025

1 min read

July 10, 2025

1 min read

  • Code Guidelinesの使い方
  • なぜ重要なのか
  • 今後の展開は?
Back to blog
Cover image

Share

https://incredible-friend-95c316f890.media.strapiapp.com/Reddit_feecae8a6d.pnghttps://incredible-friend-95c316f890.media.strapiapp.com/X_721afca608.pnghttps://incredible-friend-95c316f890.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

Article Card ImageArticle Card ImageArticle Card ImageArticle Card Image

Why users shouldn’t choose their own LLM models: Choice is not always good

Giving users a dropdown of LLMs to choose from often seems like the right product choice. After all, users might have a favorite model or they might want to try the latest release the moment it drops. One problem: unless they’re an ML engineer runnin...

Article Card ImageArticle Card ImageArticle Card ImageArticle Card Image

An (actually useful) framework for evaluating AI code review tools

Benchmarks have always promised objectivity. Reduce a complex system to a score, compare competitors on equal footing, and let the numbers speak for themselves. But, in practice, benchmarks rarely measure “quality” in the abstract. They measure whate...

Article Card ImageArticle Card ImageArticle Card ImageArticle Card Image

CodeRabbit's AI Code Reviews now support NVIDIA Nemotron

TL;DR: Blend of frontier & open models is more cost efficient and reviews faster. NVIDIA Nemotron is supported for CodeRabbit self-hosted customers. We are delighted to share that CodeRabbit now supports the NVIDIA Nemotron family of open models amon...

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.

Code Guidelines: Bring your coding rules to CodeRabbitの意訳です。

Cursorや他のAIコーディングツール(使ったことがない人はいないのでは?)を使っている、あるいは試したことがあるなら、その欠点にも気づいているかもしれません。新しいファイルを作成するたびにプロジェクト構成の説明を繰り返さなければならなかったり、UIコンポーネントにshadcn/uiを使っている場合だったり、ビルド時に先にバックエンドの依存コンポーネントをビルドしなければならなかったりと、何かと面倒がつきまといます。

CursorやWindsurf、Copilot、その他のAIコーディングエージェントは、再利用可能かつスコープ付きの指示を各リクエスト時や必要に応じて読み取れることで、こうした問題に対応しました。これは賢明な判断です。

Code Guidelinesの使い方

CodeRabbitは、以下のコーディングルールファイルを自動的に検出します。

  • Cursor: .cursorrules

  • GitHub Copilot: .github/copilot-instructions.md

  • Cline: /.clinerules/*

  • Windsurf: /.windsurfrules

  • Claude: /CLAUDE.md

  • その他にも対応しています

Code Guidelinesを使えば、これらのルールがすべてのプルリクエスト(PR)レビュー時のコンテキストとして使用されます。

さらに、独自のルールを設定ファイルとして読み込むことも可能です。たとえば docs/STANDARDS.md や team/code-style.txt にガイドラインが記載されている場合、そのパターンを指定するだけでCodeRabbitが自動的に読み取ります。

なぜ重要なのか

この仕組みは非常に大きな意味を持ちます。第一に、AIコーディングエージェントで設定したルールをそのままCodeRabbitでも使えるようになるということです。つまり、コンテキストの切り替えが不要になりますし、同じスタンダードを2度説明する必要もなくなります。

また、CodeRabbitに対して、どのようにPRレビューを行ってほしいか、どのベストプラクティスに従ってほしいかを明確に指定できるようになります。CursorやGitHubなどで定義したガイドラインをCodeRabbitでも活用できるのです。

例えば、以下のようなメリットが挙げられます。

  • スタイルやフォーマットの一貫性を強制できる .cursorrules に「関数はcamelCase、コンポーネントはPascalCase」と書かれていれば、CodeRabbitはレビュー時に違反箇所を指摘します。

  • アーキテクチャパターンの維持が可能になる 好きなファイル構成、モジュールの境界、依存関係ルールなどを一度定義すれば、CodeRabbitはすべてのPRがそれに従っているか確認します。

  • チーム独自のスタンダードを適用できる 例えば「必ずearly returnを使う」「継承より合成を優先する」といったルールも、レビューの一部としてチェックできます。

今後の展開は?

CodeRabbitが優れたPRレビューを行える理由は、強力なコンテキストエンジニアリングにあります。Code Guidelinesは、そのコンテキストの質をさらに高める機能です。今後の展開に関してヒントをひとつだけ言うなら、「コンテキストこそが王者」です。ぜひ今後のアップデートにもご注目ください。

まだCodeRabbitを試していないなら、今が絶好のチャンスです。 無料で始める ことで、コードレビューにかかる時間もバグも半減させましょう。