with one click
coderabbit-review
// Fetch CodeRabbit review feedback for the current PR, classify actionable items, implement fixes, verify them, and resolve only addressed review threads.
// Fetch CodeRabbit review feedback for the current PR, classify actionable items, implement fixes, verify them, and resolve only addressed review threads.
| name | coderabbit-review |
| description | Fetch CodeRabbit review feedback for the current PR, classify actionable items, implement fixes, verify them, and resolve only addressed review threads. |
Use this skill when the task asks to address CodeRabbit comments, review CodeRabbit feedback, or resolve CodeRabbit threads.
Determine the pull request before fetching review feedback:
gh pr view --json number,url for the current branch.gh pr list --head "$(git branch --show-current)" --json number,url,state.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.
fix, false-positive, already-fixed, or needs-user-decision.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.
End with:
Prepare and publish Agent Note releases with the repo-local Markdown workflow, including version bump validation, release note preview, tag creation, workflow monitoring, and npm/GitHub verification.
Use this skill when the user wants to set up Agent Note, inspect Agent Note history, understand why a line changed, troubleshoot PR Report or Dashboard output, or exclude generated files from AI Ratio. Do not use it for generic git history, generic commit writing, or non-Agent-Note review tasks.
UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.