Skip to content

Update code-review skill: replace --prompt-only with --agent#6

Merged
nehal-a2z merged 1 commit intomainfrom
update-code-review-agent-flag
Apr 13, 2026
Merged

Update code-review skill: replace --prompt-only with --agent#6
nehal-a2z merged 1 commit intomainfrom
update-code-review-agent-flag

Conversation

@juanpflores
Copy link
Copy Markdown
Contributor

@juanpflores juanpflores commented Apr 12, 2026

Summary

  • Replaces all --prompt-only flag references with --agent across the code-review skill (8 occurrences)
  • Adds a version requirement note in the prerequisites section

Why

The CodeRabbit CLI has deprecated the --prompt-only flag in favor of --agent, introduced in v0.4.0. Without this update, agents following the skill instructions would use a flag that no longer exists in the latest CLI, causing review commands to fail.

What changed in skills/code-review/SKILL.md

Section Change
Capabilities (line 15) --prompt-only--agent in description
Run Review (lines 64-67) Updated usage text and code block
Options table (line 85) Updated flag name in the options reference
Shorthand example (line 91) cr review --agent
Autonomous workflow (line 109) coderabbit review --agent
Review specific changes (lines 120, 126, 132) All three examples updated
Prerequisites (line 38) New: blockquote noting --agent requires CLI v0.4.0+

No changes to README.md or skills/autofix/SKILL.md — neither references --prompt-only.

Test plan

  • Verify grep -r "prompt-only" skills/ returns no results
  • Confirm the version note renders correctly in the prerequisites section
  • Test coderabbit review --agent with CLI v0.4.0+ to confirm the flag works

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated code-review documentation: --prompt-only flag replaced with --agent for AI-agent-optimized output mode.
    • Added version requirement: --agent flag requires CodeRabbit CLI v0.4.0 or later. Existing users should upgrade if needed.

The CodeRabbit CLI has deprecated --prompt-only in favor of the new
--agent flag (introduced in v0.4.0). This updates all references in
the code-review skill and adds a version requirement note so agents
can prompt users to upgrade if needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 0ab50890-b35d-422f-8ab3-745c5516b63b

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:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-code-review-agent-flag
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch update-code-review-agent-flag

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

@juanpflores juanpflores requested a review from nehal-a2z April 12, 2026 04:58
@nehal-a2z nehal-a2z merged commit 353cbab into main Apr 13, 2026
1 check passed
@nehal-a2z nehal-a2z deleted the update-code-review-agent-flag branch April 21, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants