Install
$ agentstack add skill-rodolfochicone-rc-project-rc-fix-coderabbit-review ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Fix CodeRabbit Review
Execute PR review remediation in a strict sequence: export issues, fix all issues, commit once, resolve threads.
Core principle: evaluate each review item technically before changing code. Do not apply suggestions blindly.
Required Inputs
- PR number (integer).
GITHUB_TOKENin environment.ghauthenticated for the target repository.
Workflow
- Export review issues for the PR.
- Triage and validate every unresolved issue.
- Fix every validated issue completely.
- Commit all remediation changes together in one commit.
- Resolve review threads and mark exported issues resolved.
Run commands from repository root.
Step 1: Export CodeRabbit Issues
Use bundled exporter script:
PR_NUMBER=
uv run .claude/skills/fix-coderabbit-review/scripts/pr_review.py "$PR_NUMBER" --hide-resolved
Read generated files in:
ai-docs/reviews-pr-/_summary.mdai-docs/reviews-pr-/issues/*.md
If _summary.md shows unresolved issues, continue until all are addressed in code.
Step 2: Triage and Validate Issues
Review each unresolved issue file before implementation.
For each issue:
- Restate the concrete technical change required.
- Verify against current codebase behavior and tests.
- Decide one of:
VALID: suggestion is correct and should be implemented.INVALID: suggestion is incorrect or not actionable for this codebase.
Rules:
- If an issue is ambiguous, treat it as
INVALID, document rationale and assumptions in the issue file, and continue execution. - If an issue is
INVALID, document technical rationale directly in the issue file and do not force a bad change. - Prefer technical evidence over agreement language.
Step 3: Fix Issues Completely
Process all unresolved issue files under ai-docs/reviews-pr-/issues/.
- Implement production-quality fixes in source code.
- Add or update tests so each fix is verified.
- Execute fixes one issue at a time and validate each before moving to the next.
- Do not leave partial fixes.
- Do not skip issues unless they are invalid; for invalid issues, keep rationale in the issue file.
After finishing all issue fixes, run full verification before commit:
pnpm run lint
pnpm run typecheck
pnpm run test
Step 4: Commit All Fixes Together
Create exactly one remediation commit containing all related code, test, and issue-tracking changes.
git add -A
git commit -m "fix(repo): resolve PR # review issues"
Do not split fixes across multiple commits.
Step 5: Resolve Review Threads
After the single commit is created, resolve exported issue threads.
Determine the issue range from issue files (example: 001 to 018) and run:
uv run .claude/skills/fix-coderabbit-review/scripts/resolve_pr_issues.py \
--pr-dir ai-docs/reviews-pr- \
--from \
--to
Re-open ai-docs/reviews-pr-/_summary.md and confirm unresolved count is 0.
If thread resolution fails for specific IDs, keep those issues marked unresolved and report exact failures instead of claiming completion.
Output Contract
Deliver:
- One commit containing all remediation changes.
- Per-issue technical disposition (
VALIDorINVALID) recorded during triage. - Updated
ai-docs/reviews-pr-/issues/*.mdstatuses. - Updated
ai-docs/reviews-pr-/_summary.mdcounts/checklist. - Resolved review threads for addressed issues.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: rodolfochicone
- Source: rodolfochicone/rc-project
- License: MIT
- Homepage: https://rodolfochicone.dev
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.