Skip to main content
subagent GitHub Copilot official · GitHub

Universal PR Comment Addresser — GitHub Copilot subagent

Handles pull request review comments one by one. The subagent applies minimal edits and covers changes with tests.

Install into GitHub Copilot · Manually: put the files in place All methods and platforms ↓
.github/agents/address-comments.agent.md
Open on GitHub

What Universal PR Comment Addresser does

The subagent steps through pull request feedback systematically. It focuses strictly on the requested change without touching unrelated code. When an issue occurs in multiple spots within modified files, it updates every instance. If a reviewer comment makes no sense or degrades code quality, the agent pushes back with an explanation rather than blindly accepting it.

Under the hood, it relies on tools like editFiles, githubRepo, and runTests to inspect code and run checks. After applying a fix, it runs test suites and creates a descriptive commit before moving to the next item.

Install this if you spend too much time manually applying routine code review feedback.

What it helps with

  • Address review comments in pull requests without touching unrelated files
  • Reject unhelpful review suggestions with clear technical reasoning
  • Apply single-comment fixes across matching patterns in changed code
  • Add unit test coverage for newly modified logic
  • Create clean descriptive git commits for each resolved review note

Example prompts for the agent

  • Address the latest PR comments on this branch
  • Fix the issue mentioned by the reviewer and apply it to all similar methods
  • Explain to the reviewer why this suggestion should not be applied

How to install Universal PR Comment Addresser

Manually: put the files in place

.github/agents/address-comments.agent.md

From the same set554

The whole set →
git-commit official github This skill reviews Git changes, stages related files, and creates Conventional Commits. Use it when you want an agent to make one commit or split work into separate commits. GitHub Copilot 47,165installs excalidraw-diagram-generator official github Turn a plain-language description into an Excalidraw diagram. Useful for mapping processes, system structure, and relationships between entities. GitHub Copilot 31,639installs multi-stage-dockerfile official github This skill guides GitHub Copilot in writing multi-stage Dockerfiles for different languages and frameworks. Use it when the final runtime image should contain fewer build dependencies. GitHub Copilot 29,688installs documentation-writer official github Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing. GitHub Copilot 27,757installs prd official github Turns a feature idea into a structured PRD with user stories, technical requirements, and risks. Use it when planning a software feature or an AI-powered one. GitHub Copilot 24,035installs refactor official github This skill reshapes existing code without changing its external behavior. Use it for gradual cleanup of large functions, duplication, weak types, and code smells. GitHub Copilot 22,321installs java-springboot official github Gives GitHub Copilot Spring Boot development practices, from project layout to tests and security. Use it when writing or reviewing Java application code. GitHub Copilot 21,272installs create-readme official github This skill reviews a project and creates a structured README.md. Use it when the repository needs clear documentation based on its actual files and code. GitHub Copilot 19,081installs

Similar

powershell-security-hardening VoltAgent Community This subagent hardens PowerShell scripts, remoting, and Windows settings. Use it to review automation, credentials, logs, and CI/CD security gates. Claude Code 194installs dotnet-framework-4.8-expert VoltAgent Community Maintains and modernizes legacy enterprise apps on .NET Framework 4.8. It handles Web Forms, WCF services, and Windows integrations without breaking existing systems. Claude Code 187installs powershell-module-architect VoltAgent Community A subagent for designing and refactoring PowerShell modules, profiles, and automation libraries. Use it when code must work across PowerShell 5.1 and 7+. Claude Code 183installs code-reviewer official Anthropic Reviews code changes against CLAUDE.md project rules and flags material defects. Run it before a commit or pull request. Claude Code 31,050installs code-reviewer official Anthropic This subagent checks code changes for bugs, security issues, and project-rule violations. Use it when a review should focus on findings that matter. Claude Code 31,050installs security-auditor official Anthropic This subagent searches code for security flaws and gives engineers concrete fixes. Use it to review a project before hardening or modernization work. Claude Code 10,718installs test-engineer official Anthropic This subagent captures legacy behavior in tests and compares it with a rewritten implementation. Use it before changing existing modules. Claude Code 9,715installs code-reviewer VoltAgent Community Reviews code changes for bugs, security flaws and maintenance issues. Use it before merging complex work or auditing a project. Claude Code 31,050installs

Questions about Universal PR Comment Addresser

How to install Universal PR Comment Addresser?

Save the instruction file into your agent directory, such as .cursor/agents/address-comments.md or .claude/agents/address-comments.md.

What does Universal PR Comment Addresser do?

It resolves pull request review comments sequentially. It writes focused code changes and creates a git commit for each resolved issue.

What happens if a review comment is wrong?

The agent does not blindly apply bad advice. It will either request clarification or decline the change and explain why the code should stay as is.

Source text

address-comments.agent.md · MIT
---
description: "Address PR comments"
name: 'Universal PR Comment Addresser'
tools:
  [
    "changes",
    "codebase",
    "editFiles",
    "extensions",
    "fetch",
    "findTestFiles",
    "githubRepo",
    "new",
    "openSimpleBrowser",
    "problems",
    "runCommands",
    "runTasks",
    "runTests",
    "search",
    "searchResults",
    "terminalLastCommand",
    "terminalSelection",
    "testFailure",
    "usages",
    "vscodeAPI",
    "microsoft.docs.mcp",
    "github"
  ]
---

# Universal PR Comment Addresser

Your job is to address comments on your pull request.

## When to address or not address comments

Reviewers are normally, but not always right. If a comment does not make sense to you,
ask for more clarification. If you do not agree that a comment improves the code,
then you should refuse to address it and explain why.

## Addressing Comments

- You should only address the comment provided not make unrelated changes
- Make your changes as simple as possible and avoid adding excessive code. If you see an opportunity to simplify, take it. Less is more.
- You should always change all instances of the same issue the comment was about in the changed code.
- Always add test coverage for you changes if it is not already present.

## After Fixing a comment

### Run tests

If you do not know how, ask the user.

### Commit the changes

You should commit changes with a descriptive commit message.

### Fix next comment

Move on to the next comment in the file or ask the user for the next comment.

© github · MIT · github/awesome-copilot

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor