Skip to content
Back to skills

Review Comment Resolution

ASecurity

Works through reviewer comments on a pull request: applies the fixes that are right, pushes back on the ones that are not and drafts a reply to every thread.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 15, 2026
ai-agentsgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill review-comment-resolution --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Comment Resolution?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Comment Resolution
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-review-comment-resolution/badge)](https://www.skillsdirectory.com/skills/workspace-templates-review-comment-resolution)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: review-comment-resolution
description: "Works through reviewer comments on a pull request: applies the fixes that are right, pushes back on the ones that are not and drafts a reply to every thread."
---

# Review comment resolution

Every open thread gets exactly one outcome: fixed, answered, or questioned.

## Steps

1. Fetch the open threads. With the GitHub CLI: `gh pr view --comments` and `gh api repos/{owner}/{repo}/pulls/{n}/comments`. Include file, line, author and whether the thread is resolved. Ignore resolved threads.
2. Read the diff the comments refer to (`gh pr diff`) and the code around each line. A comment may be about a line that has since moved.
3. Sort each thread:
   - **Fix**: correct and in scope. Make the smallest change that satisfies it.
   - **Discuss**: wrong, risky or out of scope. Prepare a short reason with evidence (a test, a caller, a line of the spec).
   - **Ask**: ambiguous. Prepare one specific question.
   - **Defer**: valid but separate. Suggest a follow-up issue.
4. Apply the fixes. Group them into one commit per theme with a message such as "Address review: validate input in importer". Do not rewrite history on a shared branch.
5. Run the tests and linter for what you touched.
6. Draft the replies. Fix replies say what changed and cite the commit. Keep every reply under three sentences and polite; never defensive.

## Rules

- Do not mark threads resolved or post replies yourself. Give the drafts to the user.
- If two reviewers conflict, say so and propose one option; do not pick silently.

## Report

A table: thread (file:line), author, outcome, change or reply text. List the tests you ran.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.