coderabbit-review
Skill15 starsChanged 6 months agoMITView on GitHub
Fetch CodeRabbit review feedback for the current PR, classify actionable items, implement fixes, verify them, and resolve only addressed review threads.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- SynkraAI/aios-coretheir own version, first seen Oct 8, 2026
- SynkraAI/aiox-coretheir own version, first seen May 21, 2026
- ImScottDev/brain-scotttheir own version, first seen Mar 31, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- SynkraAI/aios-core★ 3.1ksame name
- SynkraAI/aiox-core★ 3.1ksame name
- ImScottDev/brain-scott★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agentnote-releaseSkill
- ui-ux-pro-maxSkill
- agentnote-releaseSkill
- coderabbit-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 15 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the task asks to address CodeRabbit comments, review CodeRabbit feedback, or resolve CodeRabbit threads.
- Distinctive: line 14
Use the PR number from the user when one is provided.
- Very specific: line 16
If that fails, run gh pr list --head "$(git branch --show-current)" --json number,url,state.
- Distinctive: line 17
If no PR can be identified, stop and report that the current branch has no open PR.
- Very specific: line 39
If pageInfo.hasNextPage is true, repeat the GraphQL query with after: <endCursor> until all review threads have been checked.
- Distinctive: line 43
Treat unresolved review threads as the primary action list.
- Distinctive: line 44
Treat summary comments as context, not as automatic TODOs.
- Distinctive: line 47
Do not resolve a thread until the fix is present and verified.
- Distinctive: line 51
Prefer the smallest source change that addresses the review.
- Distinctive: line 52
If the comment points at a generated file, update the source and regenerate the generated file.
- Distinctive: line 53
Keep unrelated refactors out of the fix unless they are required for safety.
- Distinctive: line 58
Run the narrowest relevant test first.
- Distinctive: line 59
Run broader checks when behavior, generated files, docs, or public output changed.
- Distinctive: line 60
If no automated check is relevant, explain the manual verification.
- Distinctive: line 72
Always run the resolve command for threads that are fixed and verified.
- Distinctive: line 74
If a thread will not be changed, leave it unresolved and add a short rationale comment in English instead.
- Distinctive: line 84
Do not resolve issue comments or summary comments.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CodeRabbit Review Workflow
Use this skill when the task asks to address CodeRabbit comments, review CodeRabbit feedback, or resolve CodeRabbit threads.
Fetch
Determine the pull request before fetching review feedback:
- Use the PR number from the user when one is provided.
- Otherwise run
gh pr view --json number,urlfor the current branch. - If that fails, run
gh pr list --head "$(git branch --show-current)" --json number,url,state. - If no PR can be identified, stop and report that the current branch has no open PR.
Fetch review threads with GraphQL, then keep only unresolved CodeRabbit-authored threads. Replace the variables with the current repository and PR:
gh api graphql \
-f query='query($owner:String!,$repo:String!,$number:Int!,$after:String){repository(owner:$owner,name:$repo){pullRequest(number:$number){reviewThreads(first:100,after:$after){pageInfo{hasNextPage endCursor} nodes{id isResolved isOutdated path line startLine comments(first:50){nodes{id databaseId body url author{login}}}}}}}}' \
-F owner=<owner> \
-F repo=<repo> \
-F number=<pr-number>For later pages, rerun the same command with -F after=<endCursor>.
Fetch CodeRabbit summary comments when useful:
gh api 'repos/<owner>/<repo>/issues/<pr-number>/comments?per_page=100'Filter both outputs to CodeRabbit authors. For review threads, keep threads where isResolved is false and at least one comment author is CodeRabbit; use the latest CodeRabbit-authored comment as the actionable text. Treat those unresolved review threads as the primary action list.
If pageInfo.hasNextPage is true, repeat the GraphQL query with after: <endCursor> until all review threads have been checked.
Triage
- Treat unresolved review threads as the primary action list.
- Treat summary comments as context, not as automatic TODOs.
- Classify each thread as
fix,false-positive,already-fixed, orneeds-user-decision. - Inspect the referenced file and surrounding code before deciding.
- Do not resolve a thread until the fix is present and verified.
Fix
- Prefer the smallest source change that addresses the review.
- If the comment points at a generated file, update the source and regenerate the generated file.
- Keep unrelated refactors out of the fix unless they are required for safety.
- Preserve Agent Note behavior: commits must not fail because review automation failed.
Verify
- Run the narrowest relevant test first.
- Run broader checks when behavior, generated files, docs, or public output changed.
- If no automated check is relevant, explain the manual verification.
Resolve
Resolve fixed review threads with:
gh api graphql \
-f query='mutation($threadId:ID!){resolveReviewThread(input:{threadId:$threadId}){thread{id isResolved}}}' \
-F threadId=<review-thread-id>Always run the resolve command for threads that are fixed and verified.
If a thread will not be changed, leave it unresolved and add a short rationale comment in English instead. Do not silently resolve rejected, deferred, or uncertain feedback.
Reply to an unresolved review comment without resolving it by using the latest CodeRabbit review comment databaseId from the GraphQL output:
gh api --method POST \
repos/<owner>/<repo>/pulls/<pr-number>/comments/<comment-database-id>/replies \
-f body='<short English rationale>'Do not resolve issue comments or summary comments; only GitHub review threads can be resolved.
Report
End with:
- Fixed threads
- Threads intentionally left unresolved
- Checks run
- Any remaining risk
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

