Agent Upstart

Cool things people are building with agents — and practical help getting the most out of them.

Playbooks · Coding agents

Review a pull request with a coding agent

A small team asks GitHub Copilot to review a pull request first, then a human still decides what merges.

Audience: Small team · Stack: A GitHub repo with pull requests, GitHub CLI installed and authenticated · Tool: GitHub Copilot code review, requested through GitHub CLI

Before you start

Steps

  1. When creating a pull request, request Copilot as a reviewer with gh pr create --reviewer @copilot, as the author docs show. For a pull request that already exists, use gh pr edit PR-NUMBER --add-reviewer @copilot, replacing PR-NUMBER with the pull request number.
  2. Wait for the review. The author docs say this usually takes less than 30 seconds. Read the overview comment first, then the inline comments.
  3. Use the severity labels on each comment — High, Medium, Low, per the author docs — to order your work, not to decide it. A Low comment can still be wrong, and a High comment can still misunderstand intent.
  4. Where a comment includes a suggested change, apply it only if you agree with it after reading the surrounding code. The author docs say you can accept a single suggestion or a group of suggestions together in a single commit.
  5. For a comment you want fixed by the agent, use the Fix with Copilot action on that review comment, where enabled, and check the resulting commit or pull request the same way you would check a teammate's fix.
  6. If you push new changes after the review, request a re-review rather than assuming the old review still applies. The author docs note Copilot does not automatically re-review pushes unless automatic review of new pushes is configured, and that a re-review may repeat comments already dismissed or downvoted.
  7. The human reviewer then does the normal review: intent, design, and edge cases the agent cannot judge. Only a human approval merges the pull request under your normal rules.

Worked example

A three-person team opens a pull request that adds rate limiting to an internal API endpoint. The author requests Copilot with gh pr create --reviewer @copilot and also assigns a teammate. Copilot flags a Medium comment: a counter that never resets, with a suggested change. The teammate reads the surrounding code, agrees, applies the suggestion, and pushes. The team then re-requests the Copilot review, confirms the comment is gone, and the teammate reviews the design question Copilot never raised — whether the limit should be per user or per API key — before approving. The agent caught a defect; the human decided the design.

What can go wrong

Limits

Time and cost: NOT_MEASURED. This page gives no time or cost figure because the tool docs fetched for it state none that applies to this task.

Verification

Checked 2026-10-23 against the author's own docs. The workflow on this page was not run end to end; every command, flag, and capability claim was checked against an author doc or repo fetched that day.

Cut from this page, with reason:

If a step here does not match what your installed tool shows, trust the tool's own docs for your version and stop before approving a change you cannot read.

Back to: Coding playbooks hub · Skills index

Also: Small-team hub