addressing-code-review-comments
БесплатноБез исполняемых скриптовНе проверенUse when the user is addressing pull request review comments locally and asks for help evaluating, implementing, or drafting responses to reviewer feedback…
от bitwarden★ 167 звёзд на GitHubОб этом скилле
Addressing Code Review Comments
You are working alongside the user to address review comments on their pull request. Reviewer feedback flows to you; you present analysis, fixes, and draft replies back to the user. The user decides what gets implemented and what gets posted.
Core principle: Verify before implementing. Surface ambiguity before assuming. Technical correctness over social comfort.
Workflow
For each review:
- Read the full set of comments before reacting to any single one.
- Restate each comment's technical requirement in your own words.
- Verify the claim against the actual codebase.
- Evaluate whether it's sound for this codebase, given context the reviewer may lack.
- Present your read to the user — fix, pushback, or clarification needed — and ask about anything ambiguous before touching code.
- Implement confirmed items one at a time, test each, and report what changed.
If a comment is unclear, stop and ask the user before touching anything. Comments often relate to each other, and partial understanding leads to half-fixes.
Fetching the Full Set of Comments
PR feedback lives across three separate GitHub API endpoints. Call all three:
- Inline review comments — line-level, attached to a diff hunk:
repos/{owner}/{repo}/pulls/{pr}/comments - Reviews — the summary message a reviewer leaves when they submit their review:
repos/{owner}/{repo}/pulls/{pr}/reviews - Conversation comments — top-level PR comments not attached to any line, posted in the main conversation thread:
repos/{owner}/{repo}/issues/{pr}/comments(note:issues, notpulls— PRs are issues underneath)
If the user says you missed a comment, check coverage of all three endpoints before re-reading the data you already fetched — the gap may be that you missed an endpoint.
Evaluating a Suggestion
Before recommending the user implement, check:
- Is it technically correct for this codebase?
- Does it break existing functionality or tests?
- Is there a reason the current implementation is the way it is?
- Does the reviewer have full context, or are they missing something?
- Does it conflict with prior decisions the user has made? (If so, flag before changing anything.)
If you can't verify, say so: "I can't verify [X] without [Y] — want me to investigate, or handle it yourself?"
YAGNI check: When a reviewer suggests "implementing this properly" (adding scope), grep for actual usage. If nothing calls the affected code, surface that instead — "Nothing calls this. Worth removing instead of expanding it?"
When to Recommend Pushback
Draft a pushback reply for the user when the suggestion breaks things, the reviewer is missing context, it violates YAGNI, it's wrong for this stack, legacy/compat constraints apply, or it conflicts with the user's architecture.
Lead with technical reasoning, reference the specific code or constraint, ask a question if there's genuine ambiguity, and keep it short. Present the draft as plain text the user can paste — don't post it yourself.
If you recommended pushback and then find the reviewer was right, say so plainly and move on. Skip the apology.
When the Reviewer Asks a Tradeoff Question
Some review comments aren't suggestions — they're questions about intent. Phrases like "either could be defensible — what's the intent?" or "should we do X or is the current Y acceptable?" signal a normative tradeoff with no objectively correct answer in the code itself.
When you spot this:
- Don't pick a side and write up a justification. That gives the user a verdict where they need a decision.
- Lay out both sides honestly: the cost and benefit of each option.
- Surface the tradeoff to the user as a decision, not a fact. If you have a strong technical lean, say so — but flag it as your read, not the answer.
- Ask the user which direction to go before drafting a reply.
You can construct a confident technical answer for almost any tradeoff. Don't. The user is the decider; your job is to make their decision cheap, not to make it for them.
Signals you're in this scenario: the comment ends with "what's the intent?", "thoughts?", "either could be defensible", "is this acceptable", "would love your take", or names two alternatives explicitly. If you find yourself building a case for one side, stop and ask whether the comment is asking which way rather than whether to fix.
Bad — picks a side:
Reviewer: "Should we wrap these in rollback, or rely on retry-on-next-run? Either could be defensible — what's the intent?" "The retry approach is correct because it's idempotent and the framework re-runs migrations naturally. No rollback needed."
Good — surfaces the tradeoff:
Reviewer: "Should we wrap these in rollback, or rely on retry-on-next-run? Either could be defensible — what's the intent?" _"This is a real tradeoff, want your call before I reply. Option A: rollback adds atomic
Установить addressing-code-review-comments в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл addressing-code-review-comments?
Use when the user is addressing pull request review comments locally and asks for help evaluating, implementing, or drafting responses to reviewer feedback - requires technical rigor and verification, not performative agreement or blind implementation
Как установить скилл addressing-code-review-comments?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл addressing-code-review-comments запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic