Claude-skill-registry coderabbit-workflow
Systematic workflow for CodeRabbit reviews - local CLI, PR threads, and commit attribution
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/coderabbit-workflow" ~/.claude/skills/majiayu000-claude-skill-registry-coderabbit-workflow && rm -rf "$T"
manifest:
skills/data/coderabbit-workflow/SKILL.mdsource content
CodeRabbit Workflow
Address CodeRabbit review comments systematically. Workflows for local CLI usage, PR thread processing, and commit attribution.
When to use this skill
- When addressing CodeRabbit review comments on a PR
- Before push, to get early feedback with local CLI
- When asked to "fix coderabbit issues" or "address coderabbit comments"
Skill Contents
Available Resources
📚 references/ - Detailed documentation
🔧 scripts/ - Automation scripts
Two Review Modes
| Mode | When | Reference |
|---|---|---|
| Local CLI | Before push, get early feedback | |
| PR Threads | After CodeRabbit reviews your PR | |
Quick Start
- Export comments:
node .claude/skills/coderabbit-workflow/scripts/export-comments.ts --pr <number> - Review by severity: critical, major, minor
- Apply fixes following patterns in
references/workflow-examples.md - Commit with CodeRabbit co-author attribution (see below)
- Update exported JSON to mark comments as fixed (set
)status: 'fixed' - Push and reply to threads:
node .claude/skills/coderabbit-workflow/scripts/reply-to-threads.ts --file .tmp/coderabbit-*.json
Note: The reply script only processes comments with
status !== 'pending'. After applying fixes, update the JSON file to change status from 'pending' to 'fixed' before running the reply script.
Scripts
| Script | Purpose |
|---|---|
| Run CodeRabbit CLI and save findings |
| Export PR comments to local JSON |
| Batch reply to threads after fixes |
References
| Reference | Content |
|---|---|
| Installation, authentication, troubleshooting |
| CLI commands and async workflow |
| All commit message templates |
| Complete workflow examples |
Key Requirement: Co-Author
All CodeRabbit fix commits must include:
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
See
references/commit-formats.md for all templates.
Related
- pr-workflow - PR lifecycle including CodeRabbit integration
- CodeRabbit CLI Docs
- Cursor Integration