Loading...
Loading...
Systematic workflow for CodeRabbit reviews - local CLI, PR threads, and commit attribution
npx skill4agent add bitsoex/bitso-java coderabbit-workflow| Mode | When | Reference |
|---|---|---|
| Local CLI | Before push, get early feedback | |
| PR Threads | After CodeRabbit reviews your PR | |
node .claude/skills/coderabbit-workflow/scripts/export-comments.ts --pr <number>references/workflow-examples.mdstatus: 'fixed'node .claude/skills/coderabbit-workflow/scripts/reply-to-threads.ts --file .tmp/coderabbit-*.jsonstatus !== 'pending''pending''fixed'| Script | Purpose |
|---|---|
| Run CodeRabbit CLI and save findings |
| Export PR comments to local JSON |
| Batch reply to threads after fixes |
| Poll for approval, request review/approval automatically |
| Reference | Content |
|---|---|
| Installation, authentication, troubleshooting |
| CLI commands and async workflow |
| All commit message templates |
| Complete workflow examples |
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>references/commit-formats.md# Monitor PR and automatically request review/approval when appropriate
node scripts/monitor-approval.ts --pr <number>
# With custom poll interval (default: 60s)
node scripts/monitor-approval.ts --pr <number> --interval 30
# Dry-run mode (show what would be done)
node scripts/monitor-approval.ts --pr <number> --dry-run--interval| Time Since Last Commit | Action |
|---|---|
| 0-15 minutes | Wait for CodeRabbit to review automatically |
| 15+ minutes (no review) | Request review: |
| 30+ minutes (no approval) | Request approval: |
# Check time of last commit
git log -1 --format='%ci'
# Request review (after 15 min with no activity)
gh pr comment <PR_NUMBER> --body "@coderabbitai review"
# Request approval (after 30 min with no approval)
gh pr comment <PR_NUMBER> --body "@coderabbitai approve"