
coderabbit-workflow
by CodexForgeBR
Shared CLI tools and scripts for CodexForge developers
SKILL.md
name: coderabbit-workflow description: Use when the user asks to address, fix, or handle CodeRabbit review feedback on GitHub Pull Requests. Delegates to the specialized coderabbit-fixer sub-agent to fetch new comments, apply fixes, run tests, and push only if tests pass. allowed-tools: ["Task"]
CodeRabbit Workflow Skill
This skill provides automated handling of CodeRabbit review cycles on GitHub Pull Requests.
When This Skill Activates
Use this skill when you detect the user wants to address CodeRabbit feedback. Common trigger phrases:
- "Address issues raised by coderabbit on PR #123"
- "Fix coderabbit comments on pull request 456"
- "Handle latest coderabbit feedback for PR #789"
- "Apply coderabbit suggestions from PR #42"
- "Address latest coderabbit review on PR #123"
Key indicators:
- Mentions "coderabbit" or "code rabbit"
- References a PR/pull request number
- Indicates action: address, fix, handle, apply, resolve
What This Skill Does
When activated, immediately delegate to the coderabbit-fixer sub-agent by using the Task tool:
Use the Task tool with:
- subagent_type: "coderabbit-fixer"
- description: "Fix CodeRabbit feedback on PR #<NUMBER>"
- prompt: "Address CodeRabbit feedback on pull request #<NUMBER>. Fetch comments created after the last commit, apply fixes, run tests, and push only if all tests pass."
Why Delegate to Sub-agent?
The coderabbit-fixer sub-agent is specialized for this workflow and will:
- Extract the PR number
- Get the last commit timestamp
- Fetch only NEW CodeRabbit comments (since last commit)
- Apply fixes systematically
- Run full test suite
- Only push if tests pass ✅
- Create detailed GitHub comment tagging @coderabbitai
User Experience
Before this skill:
User: "Address coderabbit issues on PR #123"
Claude: [Asks clarifying questions, manually runs commands, may forget steps]
With this skill:
User: "Address coderabbit issues on PR #123"
Skill: [Auto-activates]
Sub-agent: [Fetches comments, applies fixes, runs tests, pushes, comments]
Result: ✅ Done automatically with safety checks
Safety Features
The coderabbit-fixer sub-agent includes critical safety checks:
- Never pushes failing tests - Stops and reports if any test fails
- Filters out old comments - Only processes feedback from latest review
- Detailed GitHub comments - Provides transparency on what was fixed
- Respects project patterns - Follows BCL conventions and standards
Supporting Files
This skill directory includes:
SKILL.md(this file) - Skill definition and activation logicREADME.md- Detailed workflow documentationexamples/- Example interactions and use cases
Configuration
No configuration required. The skill uses:
- Script:
get-coderabbit-comments-with-timestamps.sh(must be in PATH or ~/source/cli-tools/bin/) - Sub-agent:
coderabbit-fixer(must exist in ~/.claude/agents/) - GitHub CLI:
gh(must be authenticated)
Troubleshooting
If the skill doesn't activate:
- Check that the user's message includes both "coderabbit" and a PR number
- Ensure the coderabbit-fixer sub-agent exists
- Verify the script is executable and in PATH
If tests fail:
- The sub-agent will NOT push changes
- Review test failures and fix them manually, or ask the user for guidance
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です