copilot-review
БесплатноБез исполняемых скриптовНе проверенTeach Copilot how to plan, address, and respond to pull request review feedback.
от github★ 5 758 звёзд на GitHubОб этом скилле
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-copilotor another Copilot actorgithub-actionsor 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, orrenovate[bot]unless the user explicitly asks to handle them. - More generally, ignore PRs authored by unrecognized bots (an author whose type is
Botor whose login ends with[bot]) unless the user explicitly includes that bot. - Continue to handle PRs from trusted GitHub automation such as
app/github-copilotandgithub-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 de
Установить copilot-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл copilot-review?
Teach Copilot how to plan, address, and respond to pull request review feedback.
Как установить скилл copilot-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл copilot-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
patterns
Find patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
от Anthropiccopilot-cli-quickstart
Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
от GitHubvardoger-analyze
Use when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
от GitHubpolicy-lookup
Find and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…
от Anthropic