AI PR AnalyzerReview a large change the way it was written, not the way it was filed. A pull request of fifty files arrives as an alphabetical list. AI PR Analyzer orders those files into the flow a reader should follow, opens each one at the change itself, and draws a diagram of what the change actually does — so you can understand a branch before you start reading it. Built for reviewing AI-written changes, where the volume is high and the reviewer has no memory of writing any of it. What it looks likeBoth samples below are a made-up "submit an order" change — no real code — just to show the shape of what you get. The map. Each box is a step in the flow, numbered in reading order and marked new, changed, or left plain when untouched, so you can see exactly where a branch reached. In the extension the boxes are clickable and open the file behind them:
Green is new, amber is changed, plain is untouched. The read-through. The book icon narrates the same change end to end, in the order it runs, with the values moving through it, and ends on what an operator would see before and after:
What it doesOrders the change as a flow. Files are placed in the order execution reaches them, starting at the entry point rather than at whatever sorts first. Each step is named for what happens there — "Setup task entry", "Resolve the capacity profile" — not for its file name. Walks changes, not files. Next and Previous move through the hunks inside a file and then carry on into the next file, so a fifty-file change is one continuous read. Draws the change. A diagram of how the code works at runtime, with every node marked as new, changed, or existing, so you can see where this branch touched the flow. Numbered, so you can point at a box in review. Clicking a node opens the file behind it. Explains a diff in context. Explains one change where it sits. Every changed region carries an Explain this link above it. Pressing it answers that region alone, in a comment anchored there, so the explanation is beside the code rather than in another panel. Nothing is generated until you ask: a change of any size would otherwise be a long wait for paragraphs you did not want.
Reads the whole change end to end. The book icon opens a read-through: what the change accomplishes, then each step of the flow in the order it runs, with the values moving through it. Every heading opens that file's diff, so you can read the account and drop into the code where it matters. It ends with what an operator would find before and after the change. Written once per review, with Write it again for another pass, and Stop while it is thinking. Works before you push. The default source is your branch against its merge base, including uncommitted work. You do not need a pull request, or even a commit. Groups files the way the repository does. The Files view lists changes in reading order by default, numbered to match the flow. The tree icon switches to a folder view that reads like the pull request page — the repository's own shape, sorted alphabetically — for when you want to find a file by where it lives rather than when it runs. Shows the git it ran. Every git command is recorded — what ran, where, how long it took, and what git said when it failed — reachable from the terminal icon or Show the git commands. When a checkout or fetch fails, the reason is a line you can read and reproduce, not a mystery. Checks intent against the change. Map intent to evidence reads what the change set out to do — a pull request's description and its linked work items, or a branch's commit subjects — and lays each intent beside the files that implement it and the tests that cover it, so a promise made with no code or no test behind it is visible rather than buried. Flags what changed with no test. A production file altered without a matching test change is marked no test in the Files list, so the gap is on screen before you open anything. Shows what an answer read. Every Keeps count of what you have seen. The status bar tracks how many of the changed files you have opened, and how many were left out, so a large review has a finish line. Remembers where you were. Reopen the same change and it resumes at the file you left, with the files you had already read still marked — nothing is re-read from the top. Adds a note to the pull request. Add a review note posts a comment back to the pull request, anchored to the file and line on screen, so a finding made here lands in the review everyone else is reading. Requirements
A language server for the repository's language is optional. It sharpens the reference graph when it is running, and is skipped when it is not. In a workspace you have not trusted, the diff and its navigation still work; reading the wider
repository for Reviewing a branch needs no account at all. Reviewing a pull request needs access to Azure DevOps, either way round:
Both Getting startedTwo ways in. Neither asks you to prepare anything by hand. A pull request, from nothing. Run AI PR Analyzer: Review a pull request by URL and paste an Azure DevOps link. That is the whole setup: the repository does not have to be open, checked out, or even cloned. A missing clone is offered, and the pull request is checked out into a worktree of its own, removed when you move on. Your branch is never touched. A branch you are already on. Open the repository and run AI PR Analyzer: Review this branch, or press the button in the AI PR Analyzer view. Uncommitted work is included, so there is nothing to push or even commit first. Then, either way:
To review something else, pick Review a pull request by URL or Review this branch
again from the To read the whole repository rather than only the changed files, a clone is looked for in three places, cheapest first:
The pull request is then checked out into a temporary worktree, which is removed when you move on. Continuing without a clone still works, with only the changed files. Commands
Settings
Moving around the diagram
When git goes wrongEvery git command is recorded, with the folder it ran in, how long it took, and what git said when it failed. Open it from the toolbar button above the Files list, or run AI PR Analyzer: Show the git commands. Each line is written the way you would type it, so a failure can be reproduced in a terminal. What it sends, and whereThe extension talks to two services, both with your existing credentials:
Nothing is sent anywhere else, and nothing is written outside VS Code's own storage. How the ordering and the diagram are producedOrdering is a model's judgement, given evidence: which files declare which symbols, and which files reference them. Its answer is reconciled against the real file list, so an invented path is discarded and an omitted one is appended — you always see every file exactly once. The diagram is drawn by a model that is given the added and removed declarations and the rewritten conditions from each file, and can read the repository to fill in what the digest does not show. If it returns something unparseable, a plain file map is shown instead and the reason is reported rather than hidden. Both cost one Copilot request each. Set Known limitations
Installing itIt uses your own GitHub Copilot sign-in — there is nothing else to set up. From the Marketplace. Search AI PR Analyzer in the Extensions view, or open the listing and press Install. From a terminal:
A freshly published version can take a while to surface in search; typing
From a build. Every push to
From source.
Then reload VS Code. Working over Remote-SSH or WSL? Install it in the remote, since that
is where A sideloaded LicenseMIT — see LICENSE. Development
Press Logic worth testing lives outside any module that imports The diagram prompt and the digest that feeds it are pinned by |

