Use Copilot for a First-Pass Code Review

A workflow to use Copilot as an automated reviewer before the human review.

category:code-review
quality
pr-review
workflow
multi-step
0

Prompt

A repeatable workflow where Copilot identifies issues, missing tests, or improvements before opening a PR.

## Steps:

1. Copy the diff or code changes.

2. Ask Copilot: "Review this code for bugs, complexity, and missing tests."

3. Apply simple improvements (naming, duplication).

4. Ask Copilot: "Show how you would implement improvements for the complex suggestions."

5. Update code.

6. Re-run tests.

7. Open the PR with a summary.