WhoBuilt

Fixing the PR Bottleneck

Sep 26, 2026· 23 min· 271K views·Watch on YouTube

Speaker

Matt Pocock of AIHero explains how to reduce the PR bottleneck by combining automated checks, agent review, and focused human review at AI Engineer in Paris.

Add brakes to the software factory

More agent-driven work can flood teams with low-quality PRs. Pocock proposes three layers to control quality: deterministic checks, automated review, and human review. Stronger early checks can make human review faster and reduce the number of needed interventions.

Make automated checks harder to fool

Pocock shows tests that repeat implementation details, such as checking a character limit by asserting the same constant, and a UI-order test that searches source text instead of rendering the page. He also describes mocked tests that cannot expose real AudioContext failure modes. Deep modules with small interfaces can encourage tests that exercise behavior rather than internal structure.

Use a separate agent for code review

Pocock recommends keeping coding standards out of the implementer agent's overloaded context. His review skill runs in a subagent with its own context, reads a repository's `coding-standards` file, and checks the diff against it. He says the reviewer should commit fixes by default, so it leaves a cleaner artifact for the human reviewer.

Make PRs easier to assess

Pocock describes a PR skill in progress that summarizes merge danger, including whether a change is reversible and its blast radius. A change that could email 60,000 people or cause data loss deserves close review. He also recommends pseudocode, diagrams, and concise visual summaries to help reviewers understand what changed and why.

Turn reviews into improvements

Pocock argues that review should examine the process that produces code as well as the code itself. His Retro skill analyzes agent sessions, PRs, and reviews to suggest checks, coding-standard updates, navigation pointers, more efficient tool use, and less bloated steering files. The aim is to prevent repeated feedback and make future reviews faster.

Takeaways

  • Add deterministic checks early because they are cheap to run, but treat green CI as insufficient proof of correctness.
  • Design deep modules with small interfaces so tests can focus on behavior instead of implementation details.
  • Give code review its own agent context and have it commit straightforward fixes before human review.
  • Prioritize human review by reversibility and blast radius, including seemingly simple changes with costly side effects.
  • Use review retrospectives to turn repeated comments into checks, standards, and better agent guidance.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • feature
    Code review skill: Reviews diffs against repository coding standards and makes fixes as commits by default.
    “The reviewer should commit. It should make fixes.”
    YouTube
    Unverified1 source· Talk
  • built
    “Here's my effort: my code review skill.”
    YouTube
    Unverified1 source· Talk
  • built
    “This is a new skill coming into the repo, which is currently in progress”
    YouTube
    Unverified1 source· Talk
  • feature
    PR skill: Summarizes PR changes and merge risk to make human review faster.
    “I end up with a nice little summary at the bottom of all my PRs, which is the merge danger.”
    YouTube
    Unverified1 source· Talk
  • uses
    “the Show Me skill from the Human Layer Skills repo by Dex Hadley”
    YouTube
    Unverified1 source· Talk
  • feature
    Retro: Analyzes sessions, PRs, and reviews to suggest automated checks, coding standard updates, navigation pointers, tool economy improvements, and steering file changes.
    “It will suggest automated checks and coding standards to make the next one better.”
    YouTube
    Unverified1 source· Talk
  • built
    “This is a new skill called Retro, for retrospective.”
    YouTube
    Unverified1 source· Talk

Related talks