Skip to main content

PR Review agent

The PR Review agent works on an existing open pull request. It adopts the PR's branch, reviews the changed dbt models, and - when you ask - pushes fixes back to the same PR. It never opens a new pull request.

Input​

  • An open pull request - referenced by number or URL.

What it does​

  • Adopts the PR into the session (checks out the PR's branch and links it).
  • Reviews the diff - assesses the changed models against your project's conventions and quality checks.
  • Improves the models on request - edits are committed back to the same PR's branch.

Review focus​

The agent evaluates changes with attention to:

  • SQL correctness and consistency with your existing models.
  • Documentation - descriptions on models and columns.
  • Tests - appropriate tests for the changed models.
  • Layering - conformance to staging / intermediate / mart structure.

Modes​

The agent is advisory and collaborative: it assesses the PR and, when asked, makes changes on the PR branch. It does not merge the PR.

Human review​

All changes land on the PR branch for your normal review and merge process. See the Production safety model.