# Review a change

The review skill reports what a branch did to the structure, and where a reviewer should look.

> Web page: https://enola.tech/docs/skill-review
> All pages: https://enola.tech/llms.txt

## What a review gives you

`enola-review` compares the architecture where a branch left its target with the architecture on the branch, and reports only the difference. It complements a line-by-line review and does not hunt for bugs.

- **Verdict**: findings the change introduced and resolved
- **Where to look**: at most five places, each with its reason, such as blast radius, rules governing the file, fix history, or code outside the stated scope
- **What changed structurally**: new dependencies and removed code
- **What Enola could not see**

## Review a branch

Ask your agent:

```
/enola-review Review this branch against main.
```

It needs a git repository. The "before" is built for the run with `enola check --base origin/main` (or `main` without a remote), so no baseline has to be pinned first. With a baseline pinned at the start, by you or by [hooks](https://enola.tech/docs/hooks.md), it can review your own session's edits too. Other ways to call it are in [Skills](https://enola.tech/docs/skills.md).

## What one review found

On a 28-line pull request that recorded the last login time, the review returned a clean structural check and these places to look, shortened:

| Place | Why |
| --- | --- |
| `login_wrapper_test.go` | The branch added a method to an interface that a test double implements, and the double does not have it |
| `LoginHandlerWrapper.Login` | The time is recorded before two-factor login is passed |
| `AppUser.LastLoginAt` | No query reads the new field |
| `migrations.createTables` | Bug fixes have changed this function more than any other |

Enola supplied the structure and the fix history. The agent read the code it pointed to and found the broken test double. The full run is in [Shift-Left Testing for AI Coding Agents](https://enola.tech/blog/shift-left-testing-ai-coding-agents).

## What it will not do

- **Invent a policy.** It reports the enforcement the repository already uses, and says when nothing enforced a finding.
- **Call an ungraded change clean.** When the two sides cannot be compared, it says so.
- **Read past the graph.** Code in an external library is named under what Enola could not see.

For a verdict without an agent, run [CI](https://enola.tech/docs/ci.md).
