chore: add coderabbit review workflow#64
Merged
Conversation
Agentnote-Session: 019da962-23cc-7aa0-bbe3-a10f60fddada
There was a problem hiding this comment.
Actionable comments posted: 8
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.claude/commands/coderabbit-fix.md:
- Line 6: Add a top-level H1 as the very first line of the markdown file to
satisfy markdownlint MD041; prepend a heading (for example "# CodeRabbit review"
or similar descriptive H1) before the existing text "Use the repo-local
CodeRabbit review skill." so the file begins with an H1 and the current plain
text becomes the following paragraph.
In @.claude/skills/coderabbit-review/SKILL.md:
- Line 23: The GraphQL query is missing the $after cursor variable and the after
argument on the reviewThreads call, which prevents cursor-based pagination;
update the query declaration to include $after:String (alongside $owner, $repo,
$number) and add after:$after to the reviewThreads(first:100, after:$after)
invocation (also apply the same change to the second occurrence referenced at
line 37) so the query supports paginated fetching using endCursor.
In @.codex/commands/coderabbit-fix.md:
- Line 6: Add a top-level H1 heading to the start of the markdown body to
satisfy MD041: insert a line like "# <Descriptive Title>" immediately before the
existing first line "Use the repo-local CodeRabbit review skill." so the file's
first non-empty line is an H1 heading and the rest of the content remains
unchanged.
In @.codex/skills/coderabbit-review/SKILL.md:
- Line 23: The GraphQL query string needs cursor pagination: add an optional
variable $after: String to the query variables, change the reviewThreads call
from reviewThreads(first:100) to reviewThreads(first:100, after: $after), and
update the example fetch command to include -F after=<endCursor> when paginating
so the endCursor is passed into the $after variable; locate the query definition
(the line containing query($owner:String!,$repo:String!,$number:Int!){...}) and
the reviewThreads(...) fragment to make these edits.
In @.cursor/commands/coderabbit-fix.md:
- Line 6: Add a top-level H1 heading as the very first line of the document so
Line 6’s body text is no longer the first content; edit the file containing the
text "Use the repo-local CodeRabbit review skill." and insert a markdown H1
(e.g., "# <title>") above that line to satisfy MD041.
In @.cursor/skills/coderabbit-review/SKILL.md:
- Line 23: The GraphQL query string is missing the optional $after variable and
doesn't pass it to reviewThreads, so add $after:String to the variables list for
the existing query and include after:$after in the reviewThreads(first:100) call
(the query that defines repository->pullRequest->reviewThreads), ensuring the
query accepts and uses $after for pagination as described in the instructions.
In @.gemini/commands/coderabbit-fix.md:
- Line 6: Add a top-level H1 heading before the existing body text "Use the
repo-local CodeRabbit review skill." so the file begins with a first-level
markdown heading (e.g., "# CodeRabbit review" or similar) to satisfy MD041;
ensure the H1 is the very first line above the current content.
In @.gemini/skills/coderabbit-review/SKILL.md:
- Line 23: The GraphQL query string needs to accept and use a pagination cursor:
add a new variable declaration for $after (String) and set reviewThreads(...,
after: $after) so the query can request subsequent pages; then update the gh api
invocation that calls this query to pass the cursor (e.g. add a -f/--field for
after using your runtime cursor variable like AFTER) so the repeated pagination
step on line 37 can supply endCursor back into the query. Ensure you modify the
query variable list and the reviewThreads call (the query string variable) and
the gh api call that sends variables to include the after parameter.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 4976d270-eafb-456d-9ddf-2f33bc713bd1
📒 Files selected for processing (8)
.claude/commands/coderabbit-fix.md.claude/skills/coderabbit-review/SKILL.md.codex/commands/coderabbit-fix.md.codex/skills/coderabbit-review/SKILL.md.cursor/commands/coderabbit-fix.md.cursor/skills/coderabbit-review/SKILL.md.gemini/commands/coderabbit-fix.md.gemini/skills/coderabbit-review/SKILL.md
Agentnote-Session: 019da962-23cc-7aa0-bbe3-a10f60fddada
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
Notes
ghdirectly so each Agent can identify the current PR or an explicit PR number.🧑💬🤖 Agent Note
Total AI Ratio: ████████ 100%
Model:
gpt-5.4418605achore: add coderabbit review workflow4919a0adocs: fix coderabbit workflow guidance💬 Prompts & Responses (12 shown / 13 total)
418605achore: add coderabbit review workflow4919a0adocs: fix coderabbit workflow guidanceSummary by CodeRabbit
New Features
Documentation