From claude-commands
Posts '@coderabbitai all good?' comment on the GitHub PR for the current branch using gh CLI, reports PR number and URL if successful.
How this command is triggered — by the user, by Claude, or both
Slash command
/claude-commands:coderabbitcommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
## ⚡ EXECUTION INSTRUCTIONS FOR CLAUDE **When this command is invoked, YOU (Claude) must execute these steps immediately:** **This is NOT documentation - these are COMMANDS to execute right now.** ## 🚨 EXECUTION WORKFLOW ### Step 1: Get Current Branch and Find PR Run the following to find the PR number for the current branch: If the command fails (no PR found), tell the user: "No open PR found for the current branch." ### Step 2: Post CodeRabbit Comment Post a comment on the PR saying exactly `@coderabbitai all good?`: ### Step 3: Confirm Report to the user: - The PR number and...
When this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now.
Run the following to find the PR number for the current branch:
gh pr view --json number,url,title
If the command fails (no PR found), tell the user: "No open PR found for the current branch."
Post a comment on the PR saying exactly @coderabbitai all good?:
gh pr comment <PR_NUMBER> --body "@coderabbitai all good?"
Report to the user:
Purpose: Post @coderabbitai all good? on the PR associated with the current local branch, prompting CodeRabbit to re-review or confirm the PR.
Usage: /coderabbit or /cr
What it does:
gh pr view@coderabbitai all good? as a PR commentAlias: /cr
npx claudepluginhub jleechanorg/claude-commands --plugin claude-commands/handle-pr-commentsIterates through all PR review comments, fixes issues, responds to threads, and ensures CI passes before marking the PR complete.
/create-prCreates pull requests with conventional commit titles and structured descriptions. Supports draft mode and optional dual AI review (CodeRabbit + Claude) before creation.
/ghprOpens existing or creates new GitHub pull request for current branch. Checks PR status, drafts conventional commit title/body from branch/commits, confirms with user, then creates and opens.
/resolve-pr-commentFetches and resolves PR review comments in priority order — blocking, high, medium, low — with user-selectable scope and todo tracking.
/pr-reviewReviews GitHub PR comments by priority, applies fixes via code edits, commits and pushes changes, verifies CI status, and outputs a markdown summary.