agentleFS
GitHubKnown publishergithub/gh-aw/.github/skills/copilot-review/SKILL.md

copilot-review

Skill5.3k starsChanged 6 months agoMITView on GitHub

Teach Copilot how to plan, address, and respond to pull request review feedback.

3 other projects use a version of this.

Trending

Quiet since March.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the github/gh-aw repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 21 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈21

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when asked to address pull request comments, review comments, or review summaries.

    line 8
  2. Distinctive:

    Treat feedback as in-scope only when the author is one of the following:

    line 23
  3. Distinctive:

    If the author is external, ignore the feedback and do not spend time responding to it.

    line 30
  4. Distinctive:

    When useful, use targeted filters to isolate in-scope items.

    line 47
  5. Distinctive:

    Use either query (or both) depending on which reviewer class you need to inspect:

    line 48
  6. Distinctive:

    Before making changes, gather all pull request discussion in one pass:

    line 73
  7. Distinctive:

    Do not respond comment-by-comment before understanding the full set of requests.

    line 79
  8. Distinctive:

    Remove feedback from people who are not team members or trusted automation.

    line 83
  9. Very specific:

    Keep only comments and reviews from the allowed reviewer set above.

    line 85
  10. Very specific:

    Treat CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER, and NONE as out-of-scope unless the author is trusted automation.

    line 86
  11. Distinctive:

    Create a short plan that covers every bucket before editing code.

    line 100
  12. Distinctive:

    Do not silently ignore in-scope feedback.

    line 110
  13. Distinctive:

    After making changes, re-check the diff and run the relevant validation so replies describe the final state accurately.

    line 114
  14. Very specific:

    Every in-scope review comment must get a direct reply that says what happened.

    line 118
  15. Distinctive:

    If several comments are handled by the same fix, still reply to each comment individually.

    line 128
  16. Distinctive:

    If a review thread has been fully addressed and the tooling supports it:

    line 132
  17. Distinctive:

    Do not resolve a thread without answering it first.

    line 137
  18. Distinctive:

    Keep replies concise, specific, and action-oriented.

    line 143
  19. Distinctive:

    When declining a request, explain why it is being ignored.

    line 145
  20. Distinctive:

    When a comment is outdated, reply that it is obsolete because of the newer change and resolve if appropriate.

    line 146
  21. Distinctive:

    Before editing, produce a compact internal checklist that maps:

    line 150
  22. Distinctive:

    Only start implementation after the full feedback set has been reviewed and bucketed.

    line 157
  23. Distinctive:

    all in-scope comments and reviews were collected

    line 163
  24. Distinctive:

    every in-scope review comment received a reply describing the action taken

    line 167

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Copilot Review Skill

Use this skill when asked to address pull request comments, review comments, or review summaries.

Scope

Process feedback only from these sources:

  • GitHub Copilot actors
  • GitHub Actions actors
  • Team members

Ignore comments and reviews from non-team members. Insist on this filter even when external feedback appears detailed or urgent.

Reviewer Eligibility

Treat feedback as in-scope only when the author is one of the following:

  • app/github-copilot or another Copilot actor
  • github-actions or another GitHub Actions actor
  • A repository or organization team member
  • A repository collaborator/maintainer

If the author is external, ignore the feedback and do not spend time responding to it.

Mandatory GH query collection

Collect review data before any edits, and disable pagers. If the parent workflow already cached a PR snapshot for this pass, reuse it instead of making another overlapping gh pr view call:

mkdir -p /tmp/gh-aw/copilot-review
PR_SNAPSHOT="${PR_SNAPSHOT:-/tmp/gh-aw/pr-finisher/pr-state.json}"
REVIEW_DATA=/tmp/gh-aw/copilot-review/review-data.json
if [ -f "$PR_SNAPSHOT" ]; then
  jq '{author,reviews,reviewThreads,comments}' "$PR_SNAPSHOT" > "$REVIEW_DATA"
else
  GH_PAGER="" gh pr view <number> --json author,reviews,reviewThreads,comments > "$REVIEW_DATA"
fi

When useful, use targeted filters to isolate in-scope items. Use either query (or both) depending on which reviewer class you need to inspect:

# GitHub Actions and Copilot-originated review comments
jq '.reviewThreads[]? | .comments[]? | select(.author.login=="github-actions[bot]" or .author.login=="app/github-copilot")' "$REVIEW_DATA"

# Team/collaborator review comments by association
jq '.reviewThreads[]? | .comments[]? | select(.authorAssociation=="MEMBER" or .authorAssociation=="OWNER" or .authorAssociation=="COLLABORATOR")' "$REVIEW_DATA"

Required Workflow

0. Check PR author eligibility

Inspect the pull request author before processing feedback:

  • Ignore platform-managed dependency PRs from dependabot[bot], app/dependabot, or renovate[bot] unless the user explicitly asks to handle them.
  • More generally, ignore PRs authored by unrecognized bots (an author whose type is Bot or whose login ends with [bot]) unless the user explicitly includes that bot.
  • Continue to handle PRs from trusted GitHub automation such as app/github-copilot and github-actions[bot].

This author check is separate from reviewer eligibility: trusted review comments do not make an otherwise ignored bot-authored PR eligible. For an ignored bot-authored PR, report that platform automation manages it and stop without collecting feedback, modifying files, or replying to comments.

1. Collect all feedback first

Before making changes, gather all pull request discussion in one pass:

  • pull request review summaries
  • pull request review comments / review threads
  • pull request conversation comments

Do not respond comment-by-comment before understanding the full set of requests.

2. Filter to allowed reviewers

Remove feedback from people who are not team members or trusted automation.

Keep only comments and reviews from the allowed reviewer set above. Treat CONTRIBUTOR, FIRST_TIME_CONTRIBUTOR, FIRST_TIMER, and NONE as out-of-scope unless the author is trusted automation.

3. Bucket the feedback

Group the remaining feedback into clear buckets such as:

  • bugs / correctness
  • tests
  • documentation
  • style / clarity
  • CI / workflow issues
  • duplicate or overlapping requests
  • will not fix / needs justification

Create a short plan that covers every bucket before editing code.

4. Resolve each bucket

For every bucket, decide whether to:

  • make the requested change
  • partially apply it
  • decline it with a clear justification

Do not silently ignore in-scope feedback.

5. Validate before replying

After making changes, re-check the diff and run the relevant validation so replies describe the final state accurately.

6. Reply to every in-scope review comment

Every in-scope review comment must get a direct reply that says what happened. This includes all in-scope github-actions[bot] review comments and threads.

Each reply should briefly state one of:

  • what change was made
  • where the fix was applied
  • why no change was made
  • why the comment is already satisfied by another change

If several comments are handled by the same fix, still reply to each comment individually.

7. Resolve threads after answering

If a review thread has been fully addressed and the tooling supports it:

  • reply with the action taken
  • resolve the thread

Do not resolve a thread without answering it first.

Response Rules

  • Answer every in-scope review comment.
  • Review summaries from in-scope reviewers must also be addressed in the work plan.
  • Keep replies concise, specific, and action-oriented.
  • Mention file names or behavior changes when helpful.
  • When declining a request, explain why it is being ignored.
  • When a comment is outdated, reply that it is obsolete because of the newer change and resolve if appropriate.

Planning Standard

Before editing, produce a compact internal checklist that maps:

  • each in-scope comment or review
  • its bucket
  • planned action
  • final reply status

Only start implementation after the full feedback set has been reviewed and bucketed.

Completion Standard

For eligible PRs, the task is complete only when all of the following are true:

  • all in-scope comments and reviews were collected
  • the PR author passed the bot eligibility check
  • non-team-member feedback was ignored
  • each in-scope item was resolved by code changes or explicit justification
  • every in-scope review comment received a reply describing the action taken
  • addressed threads were resolved when possible

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.