Add LLM review to pull requests and related docs

A team inserted LLM checks into PR review, architecture testing, and documentation, with developers still approving the agent’s suggestions.

Done with Custom agent· Intermediate· Nov 2026

What they did
The team already had a review process built around explicit pass/fail requirements, code style checks, static checks, test automation, and manual QA and UAT rounds. Roughly two months ago, they expanded the pipeline with LLM-based architecture tests, LLM-generated product documentation, and an LLM reviewer for pull requests. When a change lacked enough context, the agent could search for matching Jira tickets and use them to spot missing requirements, but a developer still had to decide whether to accept the advice.
How it went
After the change, merged PRs went up by a factor of three, and problems are trending down. The average time to merge is around one day, although the author does not tie that result to LLM use. A downside is that the reviewer can become overly cautious, such as insisting on locks that no longer fit the business rules.
Tips
Use the agent for first-pass review, then have a developer make the final judgment on anything it flags. Expect it to be useful for finding spec gaps, but also to drift into outdated assumptions as product knowledge changes.

Try it yourself with GitHub Copilot

Set up an automated PR reviewer for [repo name]. For every pull request, compare the code changes with the linked item in [Jira/project tracker], look for bugs, missing tests, style problems, and mismatches with the requirements, and then draft a short review comment. If the PR is missing context, search for related tickets and note which ones informed your review. Before any change is committed, merged, deleted, or submitted, pause and show me the proposed workflow, the files you would add or edit, and the review output for approval.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.