---
name: review-agent-written-pull-requests-against-quality
description: "Check machine-generated diffs for tests, style and structural fit. A review bot that inspects code contributions produced by coding agents before they reach a shared branch."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Terminal, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/review-agent-written-pull-requests-against-quality/"
  kind: workflow
  hermes:
    tags: ["code-review", "quality", "agents", "testing"]
    category: coding
---
# Review agent-written pull requests against quality gates

Check machine-generated diffs for tests, style and structural fit

## When to use

A review bot that inspects code contributions produced by coding agents before they reach a shared branch. It runs the project's checks, reads the diff against existing conventions, looks for missing tests and risky edits, and drafts review notes so a person can decide what merges. The bot keeps the same quality steps in place even when output volume rises.

## Steps

1. When something happens: New pull request arrives
2. Run checks and read the diff
3. Draft review notes for approval

## Instructions

When a pull request appears, read the diff and the surrounding files it touches. Run the repository's lint, formatting and test commands and record what passed or failed. Flag changes with no accompanying tests, edits that break the module's existing structure, and anything that looks like unrelated scope creep. Write concrete review comments pointing at the lines involved. Post nothing on its own: prepare the review as a draft and wait for the user's approval before submitting comments or requesting changes. Never merge, close or delete branches without explicit approval.

## Source

Summarized in our own words from [I Read the Clankers' Code](https://news.ycombinator.com/item?id=50340362) (Hacker News, checked 2026-11-13). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/review-agent-written-pull-requests-against-quality/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
