agent-reviews
Manage and automatically resolve GitHub PR comments with one click
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: agent-reviews. It is used for: Manage and automatically resolve GitHub PR comments with one click Full Skill content: https://321skill.com/skills/agent-reviews/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
During code review, AI bots (like Copilot, CodeRabbit) and humans leave numerous inline comments. Manually replying to, fixing, and re-checking each one is time-consuming, especially when bots repeatedly raise new issues, often trapping you in a "fix-push-new comment" loop. agent-reviews provides a CLI tool and Agent Skills that let you directly list, filter, reply to, and monitor all PR comments from your terminal or within an AI coding agent, automating the entire workflow from categorization and fixing to replying.
Usage is straightforward: For terminal-only operation, install the npm package globally and use the agent-reviews command to quickly view unresolved comments in the current branch's PR, filter for bot-only comments, reply to specific comments, and more. If you want an AI agent to handle it automatically, simply install the corresponding Skill (e.g., resolve-agent-reviews). Trigger the slash command in conversation, and the agent will automatically fetch comments, analyze code, generate fixes, and reply until all comments are resolved.
This tool is particularly useful for backend, full-stack, and test engineers, especially teams frequently dealing with large volumes of comments from AI code review bots. It's also suitable for those working in cloud or remote development environments where reliance on local GUI tools isn't feasible.
It's recommended to first use the --unresolved or --bots-only flags to quickly assess the current comment state before deciding whether to let the agent handle it automatically. For sensitive or complex PRs, manually review the agent's proposed fixes before replying to avoid introducing new issues.
Key Features
Unlike `gh` CLI's fragile pagination and syntax quirks, agent-reviews is purpose-built for the PR comment workflow. It reliably detects whether a comment has already been replied to and provides a built-in auto-monitoring loop that continuously applies fixes until all bot comments are quiet.
Limitations
Not applicable for managing PR comments on non-GitHub platforms (e.g., GitLab, Bitbucket).
FAQ
How do I install this Skill?
In an AI coding agent that supports Agent Skills (like Claude Code, Cursor), run `npx skills add pbakaus/agent-reviews@resolve-agent-reviews`. No global npm installation is required.
Do I need to log into GitHub first?
It's recommended to log in via `gh auth login`; agent-reviews will automatically use the token. Alternatively, authenticate by setting the `GITHUB_TOKEN` or `GH_TOKEN` environment variable.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agent-reviews/raw/index.md to read the original Skill definition (Markdown format) for agent-reviews, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agent-reviews/raw/index.md