Agent skill
Address CodeRabbit Review
Triage and address CodeRabbit automated review comments on a pull request.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/coderabbit-carrot-foundation-methodology-rules-3
SKILL.md
-
Read comments: Use
gh api repos/carrot-foundation/methodology-rules/pulls/<PR_NUMBER>/commentsto fetch all review comments. Identify which ones are from CodeRabbit. -
Triage each comment into one of three categories:
- Valid issue: A real bug, missing validation, incorrect logic, or meaningful improvement
- False positive: The tool misunderstood the code or the suggestion does not apply
- Style preference: A subjective suggestion that does not affect correctness
-
Fix valid issues:
- Implement the fix following project conventions
- If the suggestion is directionally correct but the specific fix is wrong, implement the right fix instead
- Group related fixes into a single commit
-
Dismiss false positives: Leave a brief, respectful reply explaining why the suggestion does not apply. Be specific — reference the actual behavior or constraint that makes the suggestion unnecessary.
-
Handle style preferences: Apply if they align with project conventions. Skip if they contradict existing patterns or add no value.
-
Run quality checks after all fixes:
bashpnpm lint:affected pnpm ts:affected pnpm test:affected -
Push fixes: Commit with a message like
fix(shared): address CR feedback on schema validationand push to the PR branch.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?