my-git

AI Reviewer and Human Reviewer

English 中文

AI Reviewers are suitable for finding repetitive problems, checking for omissions, and generating review checklists.

Human Reviewers are responsible for judging intent, boundaries, long-term maintenance costs, and whether a merge is permissible.

AI Reviewer Suitable for Checking

Human Reviewer Responsible for Judging

Reusable Prompt

Please act as an AI reviewer and review the current git diff.
List only specific risks, sorted by severity.
Each entry includes file location, problem, and suggestion.
Do not output vague praise or summaries.

Collaboration Principles

AI Reviewers can increase check coverage, but they cannot replace human owner judgment.

Recommended process:

  1. The author self-reviews the diff first.
  2. The AI Reviewer performs the first round of risk scanning.
  3. The author addresses clear problems.
  4. The Human Reviewer makes the final judgment.
  5. Merge only after CI and necessary manual verification pass.

Cooperation with CODEOWNERS

The AI Reviewer can perform a general risk scan first, and CODEOWNERS can then assign the PR to the person who truly understands that directory.

Recommended combination:

AI reviewer -> author self-fix -> code owner review -> CI -> merge

This can reduce low-value checks for reviewers and save human attention for semantics, boundaries, long-term maintenance costs, and deployment risks.

Extended Reading