All blueprintsEngineering AI workflow blueprint

AI pull request code review workflow blueprint

Review a code diff and get structured feedback on risks, bugs, and suggested changes

See where this blueprint fits in the production workflow lifecycle
Sequential
Code Review
Github
Pr
Slack
DevOps
Connectors
Multi Agent
Use this blueprint
Pattern
Sequential
Agents
2
Functions
0
MCP servers
0

What the PR Diff Review blueprint does

Suggested starting request

Paste a unified diff for a code review; repository and pull-request details are optional context.

Inputs for the PR Diff Review workflow

Provide the following information when starting this workflow. Required inputs are validated before the first workflow stage runs.

  • Diff

    Required

    Unified diff to review

    Type: String
  • Repo

    Optional

    Optional repository name (for example, acme/backend)

    Type: String
  • Pr Number

    Optional

    Optional pull request number

    Type: Number
  • Pr Title

    Optional

    Optional pull request title or change summary

    Type: String

Input template

This request shape is generated from the blueprint's input schema. Angle-bracket values are placeholders; defaults and examples appear only when the source blueprint defines them.

{
  "diff": "<required string>",
  "repo": "<optional string>",
  "pr_number": "<optional number>",
  "pr_title": "<optional string>"
}

How the PR Diff Review AI workflow works

This engineering blueprint uses a sequential workflow with 2 agents, 0 functions, and 0 MCP servers. Open it in GraphN to customize the resources, inputs, and workflow behavior for your use case.

  1. Analyze

    Agent using Code Analyzer

  2. Synthesize

    Agent using Review Synthesizer

Blueprint resources and prerequisites

These are the actual agents, functions, and MCP servers declared by the blueprint. If an MCP server connects to an external system, configure the required connection and credentials in your GraphN workspace before running the workflow.

AI agent

Code Analyzer

AI agent

Review Synthesizer

Workflow output contract

The completed workflow makes the following output available to downstream steps, applications, or API clients:

Result

Frequently asked questions

What does the PR Diff Review blueprint do?
Review a code diff and get structured feedback on risks, bugs, and suggested changes
What inputs does the PR Diff Review workflow use?
The workflow uses Diff, Repo, Pr Number, Pr Title. Required fields and their expected formats are listed on this page.
What resources are included in the PR Diff Review blueprint?
The blueprint contains 2 AI agents, 0 functions, 0 MCP servers. Its workflow pattern is Sequential.
Can I customize the PR Diff Review blueprint in GraphN?
Yes. Open the blueprint in GraphN to customize its inputs, models, resources, and workflow behavior before deployment.

Related Engineering blueprints

View all software engineering workflows

API Data Summarizer

Fetch any public JSON API and get a clear, plain-language summary of the response

API Docs Generator

Point it at your API code and get OpenAPI-style docs with examples

Architecture Decision Record Writer

Describe a technical decision, get a formatted ADR with tradeoffs and alternatives

Production Incident Response

Triage a production incident: analyze the alert, logs, and evidence in parallel and propose next steps