copilot-review
Skill0 starsChanged 32 days agoMITView on GitHub
Create a GitHub PR with Copilot as reviewer and poll until the review arrives.
- Commits and pushes
7 other projects use a version of this.
Adopted by
Most recently taken up by
- elastic/oblt-updatecli-policiestheir own version, first seen Oct 25, 2026
- elastic/oblt-awtheir own version, first seen Oct 25, 2026
- elastic/oblt-actionstheir own version, first seen Oct 25, 2026
- DanaResearchGroup/agent-skillstheir own version, first seen Aug 26, 2026
- gaurav/llmingtheir own version, first seen Aug 23, 2026
- github/gh-awtheir own version, first seen May 27, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- github/gh-aw★ 5.6ksame name
- elastic/oblt-actions★ 6same name
- hccnm/pocket-skills★ 4same name
- elastic/oblt-aw★ 2same name
- DanaResearchGroup/agent-skills★ 1same name
- elastic/oblt-updatecli-policies★ 0same name
- gaurav/llming★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- authoritative-text-rulesSkill
- breachreaperSkill
- bug-to-contractSkill
- code-review-gateSkill
- codex-contract-test-reviewSkill
- codex-plan-reviewSkill
- codex-reviewSkill
- debtreaperSkill
- diff-rootSkill
- docreaperSkill
- done-checkSkill
- driftreaperSkill
- file-adrSkill
- file-issueSkill
- file-pubdocSkill
- file-pullreqSkill
- finding-to-auditSkill
- finding-triageSkill
- gate-miss-to-issueSkill
- gh-body-auditSkill
- gh-body-conventionsSkill
- implementSkill
- land-via-integration-branchSkill
- quality-listSkill
- read-issueSkill
- reimreSkill
- research-and-implementSkill
- researchSkill
- review-pipelineSkill
- review-telemetrySkill
- stage-commit-pushSkill
- todo-checkSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create a GitHub PR, request Copilot review, poll until it arrives, and triage the results.
- Very specific: line 13
Use
pr-with-copilot-review.shfor the entire flow: Do NOT create the PR separately with gh pr create and then try to poll. - Very specific: line 21
All arguments are forwarded to gh-post pr create --reviewer @copilot.
- Distinctive: line 27
After pushing fix commits to an existing PR, trigger a new Copilot review and wait:
- Distinctive: line 37
If the PR was already created and review already requested:
- Distinctive: line 86
When no thread is due a reply, post nothing.
“Common” is measured: kept by at least 6 in 10 of the 6 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.
Files
Copilot Review
Create a GitHub PR, request Copilot review, poll until it arrives, and triage the results.
How it works
Use pr-with-copilot-review.sh for the entire flow. Do NOT create the PR separately with gh pr create and then try to poll.
Normal mode: create PR + review + poll
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --title "fix: foo" --body-file /tmp/body.md --base mainAll arguments are forwarded to gh-post pr create --reviewer @copilot. The script then polls until Copilot's review arrives, outputting the review body and inline comments to stdout.
Pass the body with --body-file <path> (preferred) or --body-stdin.
Re-review mode: after pushing fixes
After pushing fix commits to an existing PR, trigger a new Copilot review and wait:
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --re-review https://github.com/owner/repo/pull/123This records the current review count, runs gh pr edit --add-reviewer @copilot to trigger a new review, then polls until a new review appears (ignoring previous ones).
Poll-only mode: recovery for existing PRs
If the PR was already created and review already requested:
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --poll https://github.com/owner/repo/pull/123Environment variables
COPILOT_POLL_INITIAL— initial poll interval in seconds (default: 60)COPILOT_POLL_MAX— max poll interval (default: 300)COPILOT_POLL_ATTEMPTS— max attempts (default: 10)
Triage the review
Copilot reviews see the diff and file contents but lack project-specific knowledge about design decisions, test coverage, or runtime verification.
For each finding:
- Cross-check against what you already know from the current conversation — code you've read, tests you've run, decisions made with the user
- Classify under the
finding-triageSSOT dispositions, applying each per its definition there — typicallyactionable,false-positive, oruncertain-validity - Present the triage to the user — don't dump raw review output
Respond to review
Each Copilot finding lives on an inline thread; that thread is the unit of response. Each reply carries the disposition its finding now holds, by its finding-triage slug, and a body of one or two sentences, on one line and without <!--, stating the reasoning and what the run will do about the finding. reply-threads.sh writes the slug at the front of the reply; do not begin the body with it.
The requirement gh-body-conventions § Exclusions places on a body's tokens binds each reply as it binds a body, except that a finding-triage disposition slug may stand as a bare name whichever repository the pull request is in.
A thread is due a reply when all of these hold:
- the run has triaged its finding;
- the thread's
dispositionin thelist-pr-threads.shlisting is not the disposition the finding now holds,nullincluded; - the finding is not
actionable, or its fix is pushed.
Reply within each due thread via reply-threads.sh — a single batch covers every due thread:
# 1. List the Copilot-headed threads, one JSON object per line. `head_id` is the
# id `pr-with-copilot-review.sh` printed ahead of the thread's finding, and
# `disposition` is the slug in the marker `reply-threads.sh` ends each reply
# with, taken from the latest reply on the thread that carries one, or null.
${CLAUDE_SKILL_DIR}/scripts/list-pr-threads.sh {owner}/{repo} {number}
# 2. Build a JSONL file: one {"id": <head_id>, "disposition": "<slug>", "body": "<body>"} per due thread.
# 3. Send the batch.
${CLAUDE_SKILL_DIR}/scripts/reply-threads.sh {owner}/{repo} {number} < /tmp/replies.jsonlWhen no thread is due a reply, post nothing.
Prerequisites
ghCLI >= 2.88.0 (for--reviewer @copilotsupport)gh-postonPATHjqonPATH- Copilot code review enabled for the repository (via GitHub plan + org/repo settings)
- Alternative: configure automatic Copilot review via Repository Rulesets (Settings > Rules)
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
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.

