diff --git a/docs/integrations/knowledge-base.md b/docs/integrations/knowledge-base.md index 61ff141e..1da862e0 100644 --- a/docs/integrations/knowledge-base.md +++ b/docs/integrations/knowledge-base.md @@ -22,3 +22,21 @@ Or you can comment directly on some lines of code in the PR. `@coderabbitai do n Watch our [video walkthrough on learnings](https://www.youtube.com/watch?v=Yu0cmmOYA-U) for more information. ::: + +## Code Guidelines {#code_guidelines} + +CodeRabbit will analyse and learn from your organisation's code guidelines, which you can set up in the knowledge base section. These guidelines will then be used to conduct thorough code reviews. + +The following patterns are scanned by default. + +```text +**/.cursorrules +.github/copilot-instructions.md +**/CLAUDE.md +**/.cursor/rules/* +**/.windsurfrules +**/.clinerules/* +**/.rules/* +``` + +![Illustration of code guidelines configuration](/img/knowledge-base/code-guidelines.png) diff --git a/static/img/knowledge-base/code-guidelines.png b/static/img/knowledge-base/code-guidelines.png new file mode 100644 index 00000000..638a656f Binary files /dev/null and b/static/img/knowledge-base/code-guidelines.png differ