LV.1
EXP 0/1000
โ—€ Playbook index
NO.09

๐Ÿ” Copilot Code Review

In one sentence

Copilot Code Review is a feature that lets you assign Copilot as a reviewer โ€” manually or automatically.

Once assigned, Copilot reads the code's intent and returns inline comments, a PR summary, and fix suggestions.

๐Ÿ’ก Analogy: A junior reviewer on call 24/7. Hand off all the basic feedback โ€” style, null safety, test coverage โ€” so humans can focus on design, business logic, and mentoring.

Strengths of Copilot Code Review

  • ๐Ÿง  Understands context โ€” grasps code intent and returns inline comments, PR summaries, and fix suggestions
  • โš™๏ธ Automation โ€” can run automatically at the Repo / Org / Enterprise level
  • ๐Ÿ“œ Customizable โ€” define review standards in copilot-instructions.md
  • ๐Ÿ”ง Fix suggestions โ€” apply fixes one by one or all at once
  • ๐Ÿ–ฅ๏ธ Smooth UI โ€” review and apply suggested changes via diff view in VS Code / GitHub.com
  • ๐Ÿ”Ž Transparency โ€” everything is traceable via Actions logs and agent sessions

Impact data

A leading automotive and manufacturing customer in Japan (Sep 2025 โ€“ Feb 2026, median PR open duration).

PR Open Duration (days)
Without Copilot Code Review With Copilot Code Review
14.2 days
11.6 days
Automotive customer
13.6 days
11.1 days
Manufacturing customer

๐Ÿ’ฐ Business value: Shorter time from PR approval to merge โ€” development lead time shrinks, time-to-market improves. Exceptionally high ROI.

How to use it

WhereTriggerWhat happens
GitHub.com manual reviewAdd Copilot to the Reviewers on a PRInline comments + PR Overview returned within minutes
GitHub.com automatic reviewEnable โ€œauto-review on PR creationโ€ in Repo / Org / Enterprise settingsAll new PRs are reviewed automatically (deploy org-wide in 3 steps)
VS CodeRun Copilot: Review uncommitted changes from the Source Control panelInstant review of uncommitted changes โ†’ self-check before push
GitHub CLIRun /review in the terminalReview the current working tree / branch diff inline โ€” no editor needed
GitHub CLI (rubber duck)Discuss design or implementation approach โ†’ bounce ideas off the rubber-duck agentCatch blind spots, logic gaps, and alternatives before implementing โ†’ prevent rework

Setting up automatic review

Enable โ€œauto-review on PR creationโ€ via a Ruleset. Choose scope at Repo / Org / Enterprise level.

ScopeSettings pathKey options
RepositoryRepo โ†’ Settings โ†’ Code and automation โ†’ Rules โ†’ Rulesets โ†’ New branch rulesetโœ… Automatically request Copilot code review
โœ… Review new pushes
โœ… Review draft pull requests
OrganizationOrg โ†’ Settings โ†’ Repository โ†’ Rulesets โ†’ New branch rulesetTarget repositories by pattern (e.g. *-feature)
EnterpriseEnterprise โ†’ Policies โ†’ RulesetsForce-apply to all Orgs โ€” centralized governance

๐Ÿ“˜ Official guide: Configure automatic code review โ€” with screenshots

Customization

Define review standards in .github/copilot-instructions.md โ€” thatโ€™s all it takes.

# Code Review Standards
## <Security>
- ...
## <Naming Conventions>
- ...
## <Library Policy>
- ...

To scope rules by file type, combine with NAME.instructions.md:

---
applyTo: "**/*.test.ts"
---
## <Testing Conventions>
- ...

Limits and the human role

Copilot Code Review is powerful but not omniscient. Humans still own these areas:

  • Business logic correctness โ€” comparing against requirements and specs is beyond AI
  • Deep security analysis โ€” combine with dedicated tools like CodeQL for SAST / SCA
  • Design review โ€” architecture, module boundaries, and trade-off discussions
  • Mentoring โ€” explaining why code should be written a certain way to teammates

๐ŸŽฏ Division of labor: AI handles basic feedback, style, null safety, and missing tests, freeing humans for the high-value work of design, requirements, and team growth.