Skip to content
Agentmart
Submit a tool

copilot-review

Create a GitHub PR with Copilot as reviewer and poll until the review arrives.

Skill by ultimatile

IndexedMIT
Write a review

Chalk Labs

Need help deploying copilot-review?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ultimatile-copilot-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create a GitHub PR with Copilot as reviewer and poll until the review arrives.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/copilot-review

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(*/copilot-review/scripts/pr-with-copilot-review.sh:*),
  • Bash(*/copilot-review/scripts/list-pr-threads.sh:*),
  • Bash(*/copilot-review/scripts/reply-threads.sh:*)

What's inside

Skill name
copilot-review
Description
Create a GitHub PR with Copilot as reviewer and poll until the review arrives.
License
MIT
Allowed tools
Bash(*/copilot-review/scripts/pr-with-copilot-review.sh:*),, Bash(*/copilot-review/scripts/list-pr-threads.sh:*),, Bash(*/copilot-review/scripts/reply-threads.sh:*)
Instructions
90 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves some shell commands

Files (5)

  • SKILL.md
  • list-pr-threads.sh · scripts/
  • pr-with-copilot-review.sh · scripts/
  • reply-threads.sh · scripts/
  • test-scripts.sh · scripts/

SKILL.md (first lines)

# 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

```bash
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --title "fix: foo" --body-file /tmp/body.md --base main
```

All 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:

```bash
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --re-review https://github.com/owner/repo/pull/123
```

This 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:

```bash
${CLAUDE_SKILL_DIR}/scripts/pr-with-copilot-review.sh --poll https://github.com/owner/repo/pull/123
```

### Environment 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:

1. **Cross-check** against what you already know from the current conversation — code you've read, tests you've run, decisions made with the user
2. **Classify** under the `finding-triage` SSOT dispositions, applying each per its definition there — typically `actionable`, `false-positive`, or `uncertain-validity`
3. **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 `disposition` in the `list-pr-threads.sh` listing is not the disposition the finding now holds, `null` included;
- 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:

```bash
# 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.jsonl
```

When no thread is due a reply, post nothing.

## Prerequisites

- `gh` CLI >= 2.88.0 (for `--reviewer @copilot` support)
- `gh-post` on `PATH`
- `jq` on `PATH`
- Copilot code review enabled for the repository (via GitHub plan + org/repo settings)
- Alternative: configure automatic Copilot review via Repository Rulesets (Settings > Rules)

From ultimatile/development-skills, MIT.

More from ultimatile/development-skills

Signals

Stars
0
Forks
0
Open issues
71
Last commit (this folder)
Oct 21, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ultimatile

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get copilot-review running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying copilot-review?

CallGet help
Cite this page

copilot-review skill. Agent Mart. https://agentmart.dev/skills/ultimatile-copilot-review (last updated 2026-10-24)