review-pr-comments
Review PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every thread
от nikeyes★ 24 звезды на GitHub
Установить review-pr-comments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Review PR Comments
Review the pending comments on a PR, decide on each one, implement the accepted changes, push them and reply in every thread. Do not ask for confirmation: the report at the end is how the user learns what you decided.
Rules
PR target: the PR number if given, otherwise the PR of the current branch. If there is none, say so and stop.
Plan: if a plan file is given, read it. It is the agreed design: a comment that asks to go against it needs a stronger reason to be accepted.
Scope: comments from anyone, bots and people alike. "Yours" below means written by the authenticated GitHub user.
Pending:
- An inline thread is pending when it is not resolved, not outdated, and its last comment is not yours.
- A general comment or a review body is pending when it is not yours and was created or edited after your last comment on the PR. If you never commented, all of them are.
- If nothing is pending, say so and stop.
Bias: defend the existing code. Only accept a change with a concrete technical reason (bug, violated principle, demonstrable readability gain). Reject style preferences without objective justification.
Context: before evaluating, read the full files affected plus related files (tests, types, direct dependencies).
Severity: take it from the comment's prefix when present (
[SECURITY — CRITICAL],[CODE QUALITY — HIGH],[TESTS — LOW],[SUGGESTION], etc.). Otherwise infer it: correctness or security bugs are HIGH; performance, tests or missing error paths are MEDIUM; style, docstrings, naming and "for consistency" nits are LOW.Decision: one of these for every pending comment.
ACCEPT: you will make the change.REJECT: you will not, and you can say why.REPEATED: it raises a point you already answered on this PR and adds no new argument. Do not reply again.
Implementing: change only what the accepted comments ask for.
- A change in behavior goes test-first. If
/stepwise-core:tddis available, invoke it with theSkilltool: describe the accepted comment as the behavior to implement and pass the plan file if you have one. If it is not available, write the failing test yourself before the fix. - A change that does not alter behavior (naming, comments, docs, configuration) is a direct edit.
- If you cannot make an accepted change, do not pretend: reply saying what blocked it and list it in the report.
- A change in behavior goes test-first. If
Publishing the code: if any file changed, invoke
/stepwise-git:commitwith theSkilltool, thengit push. Never force-push. Do this before replying. If the commit or the push fails, do not post any reply that says a change is done: stop and report.Replying: one reply per
ACCEPTand perREJECT, posted after the code is pushed.- Inline threads get a reply in the thread. General comments and review bodies get a general PR comment that links to the comment it answers.
ACCEPT: what changed and the commit that changed it.REJECT: the technical reason, and what you propose instead if anything. One line is enough for LOW.- Always in English, whatever the comment's language. No Claude attribution.
- Never resolve a thread: that belongs to whoever opened it.
Report: every comment grouped by severity, one block each, and then whether you pushed code (with the commits), so a caller knows a new round of checks has started.
N. [ACCEPT|REJECT|REPEATED] {path}:{line or "general"} @{user} — {the claim in one sentence, in your own words} Reason: {1-2 lines, technical} Commit: {sha} # only if ACCEPT Alternative: {what you proposed} # only if REJECT Link: {comment.html_url}
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(gh pr view:*) - 02
Bash(gh api:*) - 03
Bash(git status:*) - 04
Bash(git diff:*) - 05
Bash(git log:*) - 06
Bash(git add:*) - 07
Bash(git commit:*) - 08
Bash(git push:*) - 09
Read - 10
Glob - 11
Grep - 12
Edit - 13
Write - 14
Skill
FAQ
Что делает скилл review-pr-comments?
Review PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every thread
Как установить скилл review-pr-comments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-pr-comments запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…