Skip to content

docs: add CodeRabbit PR comment command cheat sheet - #171

Merged
dmartinol merged 2 commits into
RHEcosystemAppEng:mainfrom
rhartuv:docs/coderabbit-commands
Nov 19, 2026
Merged

dmartinol merged 2 commits into
RHEcosystemAppEng:mainfrom
rhartuv:docs/coderabbit-commands

Conversation

@rhartuv

@rhartuv rhartuv commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/CODERABBIT.md with the @coderabbitai PR comment commands contributors can use (review, full review, summary, help, resume, etc.).
  • Link the cheat sheet from CONTRIBUTING.md so it is discoverable next to the existing CodeRabbit overview.
  • Clarifies repo-specific behavior: auto-review on, approvals off, human/CODEOWNERS approval still required.

Plugin(s) affected

  • Other / repo-wide

Change type

  • Docs / README

Contribution method

  • Manual contribution (validated with make validate + make validate-skill-design-changed)

N/A for skill validation — docs-only change.

Plugin-persona alignment (new skills only)

N/A — no new skills.

AGENTS.md compliance

  • N/A (no skill changes)

Validation

  • N/A (docs-only; no skill/Compass/collection changes)

Test plan

  • Confirm .github/CODERABBIT.md renders correctly on GitHub
  • Confirm CONTRIBUTING.md links resolve to the new doc

@rhartuv rhartuv self-assigned this Nov 16, 2026
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Added a CodeRabbit command guide covering how to post commands as top-level PR comments, available review and follow-up commands, repository review settings, suggested PR workflows, and related documentation.
    • Updated contribution guidance to link to the command guide and include @coderabbitai help among useful PR comments. The guide is also linked in the Resources list.

Adds a CodeRabbit command cheat sheet with command descriptions, repository settings, a suggested workflow, and related resources. Updates CONTRIBUTING.md with a help command example and a link to the cheat sheet.

Changes: CodeRabbit command documentation

Layer / File(s) Summary
Document CodeRabbit PR commands
.github/CODERABBIT.md, CONTRIBUTING.md
Adds the command cheat sheet, including command descriptions, repository settings, and a suggested workflow. CONTRIBUTING.md adds @coderabbitai help and links to the cheat sheet.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: Minimal · up to 9cdb0

This pull request adds documentation for CodeRabbit PR commands and links it from CONTRIBUTING.md. It does not change runtime behavior, so merge risk is negligible.

Pre-merge checks: Passed 1

Check name Status Explanation
Description check Passed The description follows the repository template's main sections: Summary, Plugin(s) affected, Change type, Contribution method, AGENTS.md compliance, and Validation. The summary states what the PR add…
Full details: Description check

Explanation

The description follows the repository template's main sections: Summary, Plugin(s) affected, Change type, Contribution method, AGENTS.md compliance, and Validation. The summary states what the PR adds and why. Plugin, change type, and contribution method are checked. Sections not relevant to a docs-only change are marked N/A with a reason. The test plan lists two verification steps. Minor gaps: the template's Plugin-persona alignment section is answered with N/A, which is acceptable for a non-skill change. The author marks the two test plan items as checked, but the linked objectives say they are unchecked, so the author should confirm they were actually verified. The validation claim (make validate and make validate-skill-design-changed) is stated in the contribution method and validation sections with conflicting N/A wording, which is a minor inconsistency.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a715dae and 9cdb0af.

Files selected for processing: 1

  • .github/CODERABBIT.md

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

@rhartuv

rhartuv commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

@dmartinol PTAL Thanks 🙏

@dmartinol dmartinol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please take a look

Comment thread .github/CODERABBIT.md Outdated
- **Auto-review is on** for every push (`auto_pause_after_reviewed_commits: 0`)
- **Approvals are off** (`auto_approvals.enabled: false`): `@coderabbitai approve` will not approve the PR. Human / CODEOWNERS approval is still required.
- Skip auto-review with a `hold` label, a WIP title (`wip:` / `[WIP]`), or a GitHub Draft PR
- Reviews stay short and contract-focused (skills, `mcps.json`, Compass, `AGENTS.md`, secrets, `uv.lock`)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please align uv.lock with the decision taken in #170 (either **/uv.lock or uv.lock)

Comment thread .github/CODERABBIT.md Outdated
| --- | --- |
| `@coderabbitai resolve` | Resolve all CodeRabbit review threads on the PR |
| `@coderabbitai fix comments` | Attempt to fix unresolved CodeRabbit findings and commit to the branch |
| `@coderabbitai local commit` | Commit changes CodeRabbit proposed in a comment |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The guide says commands should be posted as new top-level PR comments, but:
@coderabbitai local commit
must be posted as a reply to the CodeRabbit comment containing the proposed changes. Otherwise, it will not operate as documented

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@dmartinol You’re right. The command entry should say that @coderabbitai local commit must be posted as a reply to the CodeRabbit comment containing the proposed changes.

The general instructions allow exceptions, but the entry does not state this one. I have not marked the finding as addressed.

You are interacting with an AI system.

Comment thread .github/CODERABBIT.md Outdated

| Comment | What it does |
| --- | --- |
| `@coderabbitai resolve` | Resolve all CodeRabbit review threads on the PR |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is accurate, but the documentation should clarify that it does not verify that the findings have been fixed. Contributors could otherwise interpret resolving threads as completing the review.

Suggested improvement: Add a short warning that the command resolves discussion threads without necessarily addressing the underlying findings.

@rhartuv
rhartuv requested a review from dmartinol November 18, 2026 10:28

@dmartinol dmartinol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

/lgtm

@dmartinol
dmartinol merged commit 89ba231 into RHEcosystemAppEng:main Nov 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants