Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a Learnings overview page.#454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jmacdotorg wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromlearnings
Open

Add a Learnings overview page.#454

jmacdotorg wants to merge3 commits intomainfromlearnings

Conversation

jmacdotorg
Copy link
Contributor

@jmacdotorgjmacdotorg commentedJul 15, 2025
edited
Loading

@coderabbitaicoderabbitai
Copy link
Contributor

coderabbitaibot commentedJul 15, 2025
edited
Loading

Caution

Review failed

Failed to post review comments.

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.
🪛 LanguageTool
docs/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.mdAdded a new guide detailing the "learnings" feature, usage, configuration, and best practices.
docs/guides/configuration-overview.mdAdded "Learnings" and "What's next" sections, referencing the new guide and improving navigation.
docs/guides/initial-configuration.mdUpdated the link for review preferences to point to the new learnings guide.
docs/integrations/knowledge-base.mdRetitled to "Knowledge base overview" and replaced video reference with a link to the new guide.
sidebars.tsInserted "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)
ObjectiveAddressedExplanationResolution
Pull Request Title Check⚠️ WarningThe 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⚠️ WarningThe 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⚠️ WarningThe 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⚠️ WarningDocstring 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.

🔍 Related Files
  • docs/guides/learnings.md
  • docs/guides/configuration-overview.md
  • docs/guides/initial-configuration.md
  • docs/integrations/knowledge-base.md
  • sidebars.ts
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branchlearnings

🪧 Tips

Chat

There are 3 ways to chat withCodeRabbit:

  • 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.
  • @coderabbitai generate docstrings togenerate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add@coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add@coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add@coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a.coderabbit.yaml file to the root of your repository.
  • Please see theconfiguration documentation for more information.
  • 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.

@cloudflare-workers-and-pagesCloudflare Workers and Pages

Deploying coderabbit-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit:d3f127f
Status: ✅  Deploy successful!
Preview URL:https://63c16696.coderabbit-docs.pages.dev
Branch Preview URL:https://learnings.coderabbit-docs.pages.dev

View logs

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@aravindputrevuaravindputrevuAwaiting requested review from aravindputrevu

@helizagahelizagaAwaiting requested review from helizagahelizaga was automatically assigned from coderabbitai/typescript-reviewers

@sleep-404sleep-404Awaiting requested review from sleep-404sleep-404 was automatically assigned from coderabbitai/typescript-reviewers

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

We need a page about Learnings
1 participant
@jmacdotorg

[8]ページ先頭

©2009-2025 Movatter.jp