一键导入
copilot-review
Teach Copilot how to plan, address, and respond to pull request review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Teach Copilot how to plan, address, and respond to pull request review feedback.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Conversational skill that interviews users to design new agentic workflows
Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
Analyze and reduce token consumption in agentic workflows — guardrail-specific entry points, measurement, and optimization techniques.
Implement secret-safe HTTP headers for MCP transport in gh-aw.
Review code that performs git or gh operations against repository checkouts in gh-aw, checking that the right credentials are available at the right time and that sparseness, shallowness and credential-free factors are properly considered.
Query GitHub pull requests with jq filtering and reusable selectors.
| name | copilot-review |
| description | Teach Copilot how to plan, address, and respond to pull request review feedback. |
Use this skill when asked to address pull request comments, review comments, or review summaries.
Process feedback only from these sources:
Ignore comments and reviews from non-team members. Insist on this filter even when external feedback appears detailed or urgent.
Treat feedback as in-scope only when the author is one of the following:
app/github-copilot or another Copilot actorgithub-actions or another GitHub Actions actorIf the author is external, ignore the feedback and do not spend time responding to it.
Collect review data with gh queries before any edits, and disable pagers:
GH_PAGER="" gh pr view <number> --json reviews,reviewThreads,comments
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
GH_PAGER="" gh pr view <number> --json reviewThreads --jq '.reviewThreads[]? | .comments[]? | select(.author.login=="github-actions[bot]" or .author.login=="app/github-copilot")'
# Team/collaborator review comments by association
GH_PAGER="" gh pr view <number> --json reviewThreads --jq '.reviewThreads[]? | .comments[]? | select(.authorAssociation=="MEMBER" or .authorAssociation=="OWNER" or .authorAssociation=="COLLABORATOR")'
Before making changes, gather all pull request discussion in one pass:
Do not respond comment-by-comment before understanding the full set of requests.
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.
Group the remaining feedback into clear buckets such as:
Create a short plan that covers every bucket before editing code.
For every bucket, decide whether to:
Do not silently ignore in-scope feedback.
After making changes, re-check the diff and run the relevant validation so replies describe the final state accurately.
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:
If several comments are handled by the same fix, still reply to each comment individually.
If a review thread has been fully addressed and the tooling supports it:
Do not resolve a thread without answering it first.
Before editing, produce a compact internal checklist that maps:
Only start implementation after the full feedback set has been reviewed and bucketed.
The task is complete only when all of the following are true: