Skip to content

docs(ai): add CodeRabbit CLI setup guide and update AI reviews overview#36

Merged
dealako merged 1 commit intomainfrom
add-coderabbit-documentation
Mar 11, 2026
Merged

docs(ai): add CodeRabbit CLI setup guide and update AI reviews overview#36
dealako merged 1 commit intomainfrom
add-coderabbit-documentation

Conversation

@dealako
Copy link
Collaborator

@dealako dealako commented Mar 11, 2026

Summary

Create comprehensive CodeRabbit CLI documentation for LFX developers covering installation, setup, and usage.

Changes

  • New file: ai/coderabbit-cli.md — Full setup guide with 11 sections: Overview, LFX Organization Note, Installation (Homebrew + install script), Authentication, Basic Usage, IDE Integration (VSCode, Cursor), Anthropic CoWork workflow, Claude Code integration, Uninstall, and Resources
  • Updated: ai/ai-reviews.md — Added cross-reference link to the new CLI documentation

Key highlights

  • Contact platform engineering via #lf-ai Slack or CloudOps ticket to enable CodeRabbit on repos
  • Homebrew install: brew install --cask coderabbit
  • CLI command: cr with modes for interactive, plain text, and AI-agent-optimized output
  • IDE extensions for VSCode and Cursor
  • Claude Code native plugin: /coderabbit:review

Validation

  • All markdown passes markdownlint with 0 errors
  • Follows ATX-style headers, 120-char line limit, 2-space list indentation

Generated with Claude Code

Copilot AI review requested due to automatic review settings March 11, 2026 15:22
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 11, 2026

Important

Review skipped

This PR was authored by the user configured for CodeRabbit reviews. CodeRabbit does not review PRs authored by this user. It's recommended to use a dedicated user account to post CodeRabbit review feedback.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b39d7959-9bf3-4385-aa08-c2f2fa25e995

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

Updated AI Reviews doc to state CodeRabbit AI is enabled on some (not all) LFX orgs/repos, added steps to request repo enablement (Slack channels and ticket portal), updated ticket URL to CloudOps, clarified admin console access and GitHub authentication, and linked a new CLI setup doc. Added ai/coderabbit-cli.md with full CodeRabbit CLI documentation.

Changes

Cohort / File(s) Summary
AI Reviews doc
ai/ai-reviews.md
Changed enablement wording to selective enablement; added actionable enablement steps (contact platform engineering via #lf-ai or tag platform in #lfx-devops), updated ticket URL to CloudOps portal, clarified administrator console access and GitHub auth, and linked CLI setup.
CLI documentation (new)
ai/coderabbit-cli.md
New comprehensive CodeRabbit CLI guide: overview, LFX org note, installation (Homebrew, install script), authentication flow (GitHub), basic commands, IDE integrations (VSCode, Cursor), Anthropic/Claude integrations, multi-repo analysis/config, uninstall, and resources.

Sequence Diagram(s)

mermaid
sequenceDiagram
participant User
participant CLI as CodeRabbit CLI
participant Auth as GitHub OAuth
participant API as CodeRabbit API
participant IDE as IDE/Editor
User->>CLI: run command (e.g., login / analyze)
CLI->>Auth: open browser for GitHub auth
Auth-->>CLI: return token/session
CLI->>API: authenticate with token; request operation
API-->>CLI: return analysis/results
CLI->>IDE: inject results / open in editor
IDE-->>User: display suggestions/results

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

SLIGHT

Manifest File Analyzer

NONE

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the two main changes: adding a CodeRabbit CLI setup guide and updating the AI reviews documentation.
Description check ✅ Passed The description is directly related to the changeset, detailing both the new CLI documentation file and updates to existing documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
mcp/jira.md (1)

250-265: ⚠️ Potential issue | 🟡 Minor

Refresh the validation transcript to match the renamed MCP server.

The guide now standardizes on atlassian, but this sample still shows mcp-atlassian:getJiraIssue. That leaves the validation section looking like it was captured before the rename and makes it harder for readers to confirm they configured the right server.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@mcp/jira.md` around lines 250 - 265, Update the validation transcript so the
renamed MCP server is reflected by replacing the old service identifier
mcp-atlassian:getJiraIssue with the new atlassian:getJiraIssue wherever it
appears in the sample output/transcript (the block that shows the assistant
calling the integration and the line starting with "mcp-atlassian:getJiraIssue
(MCP)..."); ensure the surrounding explanatory text remains consistent with the
new name so readers can confirm they configured the correct server.
ai/ai-reviews.md (1)

14-19: ⚠️ Potential issue | 🟠 Major

Fix the rollout statement and support path in this paragraph.

This now says CodeRabbit is enabled for all LFX organizations/repositories, but ai/coderabbit-cli.md says it is enabled on only some repositories and teams may need platform help to turn it on. Also, the “file a ticket with the CloudOps team” link points to the CodeRabbit dashboard, not a ticket form. As written, readers get both the wrong availability status and the wrong escalation path.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ai/ai-reviews.md` around lines 14 - 19, The paragraph in ai/ai-reviews.md
incorrectly states global enablement and has a wrong escalation link; update the
rollout statement to match ai/coderabbit-cli.md by stating CodeRabbit AI is
enabled only on select LFX repositories/organizations and that teams may need to
request enablement from Platform/CloudOps, and replace the “file a ticket with
the CloudOps team” dashboard URL with the correct CloudOps ticket/escalation
link (or internal support form) and clarify that administrators access the
CodeRabbit console via the dashboard using GitHub login; reference the paragraph
in ai/ai-reviews.md and the guidance in ai/coderabbit-cli.md when making the
edits.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@ai/coderabbit-cli.md`:
- Around line 25-39: Update the Installation section to mark the Homebrew method
as macOS-only by appending "(macOS only)" or similar to the Homebrew
heading/label for the command `brew install --cask coderabbit`, and add a short
clarifying sentence near the "Manual Install Script" text indicating that the
curl/sh installer is the cross-platform (macOS and Linux) alternative; ensure
the existing phrasing "Homebrew (Recommended)" is changed to "Homebrew
(Recommended, macOS only)" and the "Manual Install Script" paragraph explicitly
states it supports Linux and macOS.

In `@mcp/jira.md`:
- Around line 73-75: Replace the hardcoded cloudId examples ("linuxfoundation" /
"linuxfoundation.atlassian.net") with guidance that cloudId is a UUID and must
be discovered programmatically; update the explanatory text around the previous
examples to instruct users to call the getAccessibleAtlassianResources helper
(per Atlassian docs) to retrieve their cloudId (showing the UUID format like
"c497ae62-1596-4157-81fb-96205956683e" as the canonical example) and remove any
instructions that imply using site name or domain as the cloudId.

---

Outside diff comments:
In `@ai/ai-reviews.md`:
- Around line 14-19: The paragraph in ai/ai-reviews.md incorrectly states global
enablement and has a wrong escalation link; update the rollout statement to
match ai/coderabbit-cli.md by stating CodeRabbit AI is enabled only on select
LFX repositories/organizations and that teams may need to request enablement
from Platform/CloudOps, and replace the “file a ticket with the CloudOps team”
dashboard URL with the correct CloudOps ticket/escalation link (or internal
support form) and clarify that administrators access the CodeRabbit console via
the dashboard using GitHub login; reference the paragraph in ai/ai-reviews.md
and the guidance in ai/coderabbit-cli.md when making the edits.

In `@mcp/jira.md`:
- Around line 250-265: Update the validation transcript so the renamed MCP
server is reflected by replacing the old service identifier
mcp-atlassian:getJiraIssue with the new atlassian:getJiraIssue wherever it
appears in the sample output/transcript (the block that shows the assistant
calling the integration and the line starting with "mcp-atlassian:getJiraIssue
(MCP)..."); ensure the surrounding explanatory text remains consistent with the
new name so readers can confirm they configured the correct server.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 76993683-549c-4f8e-b7db-a2310b3fca4c

📥 Commits

Reviewing files that changed from the base of the PR and between ad12217 and d9bcfe8.

📒 Files selected for processing (3)
  • ai/ai-reviews.md
  • ai/coderabbit-cli.md
  • mcp/jira.md

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates internal developer documentation by adding a dedicated CodeRabbit CLI setup guide and refreshing related docs to reflect current tool usage and configuration guidance.

Changes:

  • Added a new CodeRabbit CLI setup guide for LFX developers (install, auth, usage, IDE integrations, workflows).
  • Updated the Jira MCP documentation to use Atlassian’s newer MCP endpoint and added an API-token authentication alternative.
  • Added a cross-reference from the AI reviews overview to the new CodeRabbit CLI guide.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
mcp/jira.md Updates Jira MCP configuration examples to the new endpoint and expands auth/usage guidance.
ai/coderabbit-cli.md New comprehensive CodeRabbit CLI installation and usage guide for LFX developers.
ai/ai-reviews.md Adds a link to the new CodeRabbit CLI setup guide.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dealako dealako force-pushed the add-coderabbit-documentation branch 2 times, most recently from 418adf9 to 9cd73df Compare March 11, 2026 15:34
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
ai/coderabbit-cli.md (1)

25-39: ⚠️ Potential issue | 🟡 Minor

Label the Homebrew installation method as macOS-only.

The Installation section presents brew install --cask coderabbit as "(Recommended)" without platform qualification. The Homebrew cask requires macOS, and Linux users following this guidance will encounter an error. Explicitly scope the Homebrew option to macOS and clarify that the Manual Install Script is the cross-platform alternative.

📝 Suggested fix for platform clarity
-### Homebrew (Recommended)
+### Homebrew (Recommended, macOS only)

And add a clarifying note to the Manual Install Script section:

 ### Manual Install Script
+
+This method works on both macOS and Linux:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ai/coderabbit-cli.md` around lines 25 - 39, Update the Installation section
to indicate platform scope: mark the "Homebrew (Recommended)" heading or the
line with "brew install --cask coderabbit" as macOS-only (e.g., "Homebrew
(macOS, Recommended)") and add a brief note that Homebrew casks require macOS,
and Linux users should use the "Manual Install Script" instead; also update the
"Manual Install Script" paragraph to state it is a cross-platform alternative
(works on macOS and Linux) and recommend it for non-macOS users so readers can
immediately choose the correct install method.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@ai/coderabbit-cli.md`:
- Around line 97-99: In the numbered list items within ai/coderabbit-cli.md
update the two entries that lack a space after the colon so the quoted text is
separated: change `results:"Evaluate the fixes and considerations. Fix major
issues only."` to `results: "Evaluate the fixes and considerations. Fix major
issues only."` and change `confirm:"Run cr one more time to make sure we
addressed all critical issues."` to `confirm: "Run cr one more time to make sure
we addressed all critical issues."` to restore consistent punctuation and
spacing.

---

Duplicate comments:
In `@ai/coderabbit-cli.md`:
- Around line 25-39: Update the Installation section to indicate platform scope:
mark the "Homebrew (Recommended)" heading or the line with "brew install --cask
coderabbit" as macOS-only (e.g., "Homebrew (macOS, Recommended)") and add a
brief note that Homebrew casks require macOS, and Linux users should use the
"Manual Install Script" instead; also update the "Manual Install Script"
paragraph to state it is a cross-platform alternative (works on macOS and Linux)
and recommend it for non-macOS users so readers can immediately choose the
correct install method.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f494b00d-d716-49b4-a9a4-821df2074546

📥 Commits

Reviewing files that changed from the base of the PR and between 418adf9 and 9cd73df.

📒 Files selected for processing (2)
  • ai/ai-reviews.md
  • ai/coderabbit-cli.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • ai/ai-reviews.md

@dealako dealako force-pushed the add-coderabbit-documentation branch 4 times, most recently from c323bdf to 8c1369a Compare March 11, 2026 15:43
Create ai/coderabbit-cli.md with comprehensive guide covering installation
(Homebrew and install script), authentication, CLI usage, multi-repo
analysis, IDE integration (VSCode and Cursor), Anthropic CoWork and Claude
Code workflows, and LFX-specific platform engineering contact information.
Update ai/ai-reviews.md with cross-reference link to the new CLI
documentation and align CodeRabbit enablement messaging between documents.

Generated with [Claude Code](https://claude.ai/code)

Signed-off-by: David Deal <ddeal@linuxfoundation.org>
@dealako dealako force-pushed the add-coderabbit-documentation branch from 8c1369a to b867a83 Compare March 11, 2026 15:48
@dealako dealako self-assigned this Mar 11, 2026
@dealako dealako added ai-assisted A task or activity that was supported by AI, such as CoPilot, ChatGPT, or other AI technology. documentation Improvements or additions to documentation labels Mar 11, 2026
@dealako dealako merged commit 1e54346 into main Mar 11, 2026
5 checks passed
@dealako dealako deleted the add-coderabbit-documentation branch March 11, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted A task or activity that was supported by AI, such as CoPilot, ChatGPT, or other AI technology. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants