You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Configuration used: CodeRabbit UI Review profile: CHILL Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between7232fa7 andd3f127f.
📒 Files selected for processing (5)
docs/guides/configuration-overview.md (1 hunks)
docs/guides/initial-configuration.md (1 hunks)
docs/guides/learnings.md (1 hunks)
docs/integrations/knowledge-base.md (2 hunks)
sidebars.ts (1 hunks)
🧰 Additional context used🧠 Learnings (6)📓 Common learnings
Learnt from: alexcoderabbitaiPR: coderabbitai/coderabbit-docs#0File: :0-0Timestamp: 2025-06-02T14:07:49.512ZLearning: For files in docs/tools/*.md directory: Do not recommend installation instructions or usage setup steps. All tools documented in this directory are pre-installed in CodeRabbit's default environment and require no installation steps from users. Documentation should focus on tool capabilities and features only.
docs/integrations/knowledge-base.md (2)
Learnt from: aravindputrevuPR: coderabbitai/coderabbit-docs#402File: docs/guides/setup-best-practices.md:21-21Timestamp: 2025-06-18T09:22:07.198ZLearning: The word "CodeRabbit" should always have both C and R capitalized (not "coderabbit", "Coderabbit", or "CoderabbitAI"). The correct format is "CodeRabbit" and "CodeRabbitAI" for the service account. Proactively correct this capitalization in review comments when contributors mistype it.
Learnt from: NatoBoramPR: coderabbitai/coderabbit-docs#125File: CONTRIBUTING.md:60-65Timestamp: 2024-10-31T17:01:26.168ZLearning: In the `CONTRIBUTING.md` file, the user prefers to keep the "Keeping your Fork Up-to-Date" section concise without additional comments on Git commands.
docs/guides/initial-configuration.md (3)
Learnt from: NatoBoramPR: coderabbitai/coderabbit-docs#165File: docs/finishing-touches/docstrings.md:9-9Timestamp: 2024-12-05T21:29:59.510ZLearning: The link `/future-developments#finishing-touches` in `docs/finishing-touches/docstrings.md` is correct and should not be flagged as incorrect in future reviews.
Learnt from: alexcoderabbitaiPR: coderabbitai/coderabbit-docs#0File: :0-0Timestamp: 2025-06-02T14:07:49.512ZLearning: For files in docs/tools/*.md directory: Do not recommend installation instructions or usage setup steps. All tools documented in this directory are pre-installed in CodeRabbit's default environment and require no installation steps from users. Documentation should focus on tool capabilities and features only.
Learnt from: NatoBoramPR: coderabbitai/coderabbit-docs#125File: CONTRIBUTING.md:60-65Timestamp: 2024-10-31T17:01:26.168ZLearning: In the `CONTRIBUTING.md` file, the user prefers to keep the "Keeping your Fork Up-to-Date" section concise without additional comments on Git commands.
sidebars.ts (1)
Learnt from: alexcoderabbitaiPR: coderabbitai/coderabbit-docs#0File: :0-0Timestamp: 2025-06-02T14:07:49.512ZLearning: For files in docs/tools/*.md directory: Do not recommend installation instructions or usage setup steps. All tools documented in this directory are pre-installed in CodeRabbit's default environment and require no installation steps from users. Documentation should focus on tool capabilities and features only.
docs/guides/configuration-overview.md (1)
Learnt from: alexcoderabbitaiPR: coderabbitai/coderabbit-docs#0File: :0-0Timestamp: 2025-06-02T14:07:49.512ZLearning: For files in docs/tools/*.md directory: Do not recommend installation instructions or usage setup steps. All tools documented in this directory are pre-installed in CodeRabbit's default environment and require no installation steps from users. Documentation should focus on tool capabilities and features only.
docs/guides/learnings.md (1)
Learnt from: alexcoderabbitaiPR: coderabbitai/coderabbit-docs#0File: :0-0Timestamp: 2025-06-02T14:07:49.512ZLearning: For files in docs/tools/*.md directory: Do not recommend installation instructions or usage setup steps. All tools documented in this directory are pre-installed in CodeRabbit's default environment and require no installation steps from users. Documentation should focus on tool capabilities and features only.
🪛 LanguageTooldocs/guides/learnings.md
[style] ~25-~25: Consider removing “of” to be more concise Context: ...ticular files. - Guidance for reviewing all of the files of one repository. - Code-review ...
(ALL_OF_THE)
[style] ~28-~28: Consider removing “of” to be more concise Context: ...nt to a pull request or issue, it loads all of the learnings that it has collected about y...
(ALL_OF_THE)
[style] ~74-~74: Consider removing “of” to be more concise Context: ...nings**. This displays a paged list of all of the learnings associated with your organiza...
(ALL_OF_THE)
[style] ~106-~106: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym. Context: ...](/reference/configuration#opt-out). - To disable all CodeRabbit features that re...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🔇 Additional comments (3)
docs/guides/initial-configuration.md (1)
60-60:Link update looks good The link now correctly points to/guides/learnings, matching the new guide.
docs/integrations/knowledge-base.md (1)
2-4:Front-matter change LGTM – title rename aligns with the page’s broader scope.
sidebars.ts (1)
86-90:Sidebar entry OK "guides/learnings" is added in the right section and keeps the trailing comma style.
Walkthrough
The documentation was updated to introduce and explain the "learnings" feature, which allows CodeRabbit to remember and apply team-specific code review preferences. A new guide was added, references and navigation were updated, and sidebar navigation was adjusted to include the new page. Existing documentation was revised for clarity and consistency.
Changes
File(s)
Change Summary
docs/guides/learnings.md
Added a new guide detailing the "learnings" feature, usage, configuration, and best practices.
docs/guides/configuration-overview.md
Added "Learnings" and "What's next" sections, referencing the new guide and improving navigation.
docs/guides/initial-configuration.md
Updated the link for review preferences to point to the new learnings guide.
docs/integrations/knowledge-base.md
Retitled to "Knowledge base overview" and replaced video reference with a link to the new guide.
sidebars.ts
Inserted "guides/learnings" into the sidebar under "Configure CodeRabbit".
Sequence Diagram(s)
sequenceDiagram participant User participant CodeRabbit participant WebInterface User->>CodeRabbit: Comments with review preference on PR/Issue CodeRabbit-->>User: Acknowledges and stores learning User->>WebInterface: Views or manages learnings WebInterface-->>User: Displays, filters, or allows editing/deletion of learnings CodeRabbit->>CodeRabbit: Applies relevant learnings during future code reviews
Loading
Poem
In docs we grow a garden new, Where learnings bloom in every queue. CodeRabbit listens, stores with care, Your team's review style everywhere. With guides and links, the path is clear— Hop along, improvements near! 🐇✨
Pre-Merge Checks (4 warnings)
❌ Failed Checks (4 warnings)
Objective
Addressed
Explanation
Resolution
Pull Request Title Check
⚠️ Warning
The title mentions only adding the overview page but does not reflect the accompanying navigation updates and section additions in the documentation.
Revise the title to clearly describe the addition of the Learnings overview page along with the related navigation and documentation updates, for example: "Add Learnings overview page and update navigation and configuration section".
Pull Request Description Check
⚠️ Warning
The description lists staged URLs but lacks background, rationale, and testing instructions, and the repository does not appear to have a pull request template.
Expand the description to include the motivation, context, and verification steps for the changes, and add a pull request template with sections like Motivation, Changes, and How to Test.
Linked Issues Assessment
⚠️ Warning
The changes address issue#362 by adding the Learnings page and links, but do not include the required link to the existing video mentioned in the issue.
Update the Learnings overview page to include a link to the existing video as specified in issue#362.
Docstring Coverage
⚠️ Warning
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%.
You can run@coderabbitai generate docstrings to improve docstring coverage.
Impact Analysis
New documentation and improved guidance for CodeRabbit "learnings" feature
ℹ️ Low 🔄 Impacts behavior
Users now have access to a comprehensive guide explaining how to teach CodeRabbit their code review preferences using natural language, how these preferences are stored and applied, and how to manage or opt out of this feature. Navigation and references across related documentation have been updated to improve discoverability and clarity regarding the "learnings" functionality.
Verify that users can easily find and understand the new "learnings" documentation from the sidebar and related guides. Test documentation workflows for adding, viewing, editing, and deleting learnings, and confirm that opt-out instructions are clear and actionable.
Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.
Explain this complex logic.
Open a follow-up GitHub issue for this discussion.
Files and specific lines of code (under the "Files changed" tab): Tag@coderabbitai in a new review comment at the desired location with your query. Examples:
@coderabbitai explain this code block.
@coderabbitai modularize this function.
PR comments: Tag@coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
@coderabbitai read src/utils.ts and explain its main purpose.
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
@coderabbitai help me debug CodeRabbit configuration file.
Support
Need help? Create a ticket on oursupport page for assistance with any issues or questions.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pause to pause the reviews on a PR.
@coderabbitai resume to resume the paused reviews.
@coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
@coderabbitai full review to do a full review from scratch and review all the files again.
@coderabbitai summary to regenerate the summary of the PR.
If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
Visit ourDocumentation for detailed information on how to use CodeRabbit.
Join ourDiscord Community to get help, request features, and share feedback.
Follow us onX/Twitter for updates and announcements.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
Fixes#362.
Staged: