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 lifecycleSequential
2
0
0
What the PR Diff Review blueprint does
Suggested starting requestPaste 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
RequiredUnified diff to review
Type: StringRepo
OptionalOptional repository name (for example, acme/backend)
Type: StringPr Number
OptionalOptional pull request number
Type: NumberPr Title
OptionalOptional 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.
Analyze
Agent using Code Analyzer
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.
Code Analyzer
Review Synthesizer
Workflow output contract
The completed workflow makes the following output available to downstream steps, applications, or API clients:
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 workflowsAPI 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