agentleFS
MicrosoftKnown publishermicrosoft/vscode-pull-request-github/src/lm/skills/address-pr-comments/SKILL.md

address-pr-comments

Skill2.6k starsChanged 5 months agoMITView on GitHub

Address review comments (including Copilot comments) on the active pull request. Use when: responding to PR feedback, fixing review comments, resolving PR threads, implementing requested changes from reviewers, addressing code review, fixing PR issues.

7 other projects use a version of this.

Trending

Quiet since June.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/vscode-pull-request-github repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about microsoft/vscode-pull-request-github

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub, Hacker News and Bluesky (16 times).

On GitHub · 10

5 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the active pull request, identify unresolved review comments and feedback, implement the requested changes, and resolve the threads.

    line 9
  2. Very specific:

    Call the github-pull-request_currentActivePullRequest tool.

    line 21
  3. Distinctive:

    Refresh logic: Check whether a refresh is needed before reading:

    line 23
  4. Very specific:

    Call the tool once *without* refresh to get the cached state

    line 24
  5. Very specific:

    If the timestamp is less than 3 minutes ago, the PR is actively changing - call the tool again with refresh: true to ensure you have the …

    line 26
  6. Distinctive:

    If the timestamp is older than 3 minutes, proceed with the cached data

    line 27
  7. Distinctive:

    Before modifying any files:

    line 40
  8. Distinctive:

    Read each unresolved comment carefully

    line 41
  9. Distinctive:

    Read the relevant file section before editing

    line 49
  10. Distinctive:

    Do not refactor or modify code outside the scope of each comment

    line 51
  11. Distinctive:

    If a comment is unclear or contradictory, note it for a follow-up reply rather than guessing

    line 52
  12. Distinctive:

    After all changes are made:

    line 56
  13. Distinctive:

    Ensure no unrelated code was modified

    line 58
  14. Very specific:

    Call github-pull-request_resolveReviewThread with the id from the reviewThreads array.

    line 63
  15. Very specific:

    Only resolve threads where canResolve is true.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Address PR Review Comments

Read the active pull request, identify unresolved review comments and feedback, implement the requested changes, and resolve the threads.

When to Use

  • A reviewer has left comments or change requests on the active PR
  • You need to systematically work through all open review threads
  • You want to respond to or implement reviewer feedback

Procedure

1. Read the Active PR

Call the github-pull-request_currentActivePullRequest tool.

Refresh logic: Check whether a refresh is needed before reading:

  • Call the tool once without refresh to get the cached state
  • Inspect the lastUpdatedAt field in the result
  • If the timestamp is less than 3 minutes ago, the PR is actively changing - call the tool again with refresh: true to ensure you have the latest comments and state
  • If the timestamp is older than 3 minutes, proceed with the cached data

2. Identify Unresolved Comments

From the tool result, collect all feedback that needs action:

  • reviewThreads array: inline review thread objects with an id, isResolved flag, canResolve flag, file path, and nested comments. Focus on threads where isResolved is false.
  • timelineComments array: general PR comments and reviews where commentType is "CHANGES_REQUESTED" or "COMMENTED"

Group related threads by file (file field) to handle them efficiently.

3. Plan Changes

Before modifying any files:

  1. Read each unresolved comment carefully
  2. Identify the file and location each comment refers to
  3. Determine the minimal correct fix for each, if a fix is needed (not all comments are worthy of a change)
  4. Note dependencies between comments (e.g., a rename that affects multiple files)

4. Implement Changes

Work through the grouped comments file by file:

  • Read the relevant file section before editing
  • Apply the requested change
  • Do not refactor or modify code outside the scope of each comment
  • If a comment is unclear or contradictory, note it for a follow-up reply rather than guessing

5. Verify

After all changes are made:

  • Review that each originally unresolved thread has a corresponding code change or a note about why no code change was needed.
  • Ensure no unrelated code was modified

6. Resolve Threads

For each thread that was addressed (either by a code change or by a deliberate decision not to change):

  • Call github-pull-request_resolveReviewThread with the id from the reviewThreads array.
  • Only resolve threads where canResolve is true.
  • Skip threads that are already resolved (isResolved: true) or where canResolve is false.

7. Summarize

Provide a concise summary of:

  • Which comments were addressed and what changes were made
  • Any comments that were intentionally skipped (with reasoning)
  • Any follow-up questions for the reviewer

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.