Review before you push
Run a review on your own machine from your coding agent before opening a merge request.
You can have your branch reviewed on your own machine before you push it. The Entropix plugin's review-local skill reads your organisation's code reviewer agent (its main skill, its review skills and its rules) and reviews your local diff the same way. You fix what you agree with, then push, and the portal's review finds less. Nothing is written to the portal: the result stays in your coding agent's session.
/entropix:review-local in Claude Code, or the same skill in Cursor
Any role
Before you start
- Your coding agent is connected to Entropix with a personal access token, and the Entropix plugin is installed (version 0.30.0 or later). See Connect Claude Code or Cursor. A token of any role works, because the skill only reads.
- Your organisation has a code reviewer agent. Every organisation starts with one. See Set up reviews.
- You are in the repository you want reviewed, on your branch, with a remote named
origin.
The portal shows the command on Account › Your coding agent, and in a Review your branch before you push box on the Reviews and review setup pages.
Review your branch
- In Claude Code, run
/entropix:review-local. You can also ask in plain words, such as "review my branch" or "what would the reviewer say about this change". - The skill lists your organisation's agents and picks the code reviewer. If more than one agent reviews changes, it asks which, and recommends the one that holds this repository.
- It reads that agent's main skill, its
reviewing-a-changeandwriting-a-findingskills, and its rules. - It fetches from
originand reads your branch's diff against the default branch (or the branch you name), plus the code around the changed lines. - If your merge request names a PRD (such as
PRD-12), it reads that PRD's acceptance criteria too. - It reports back in your session.
What you get
The report has three parts:
- Intent: one sentence on what the change is for, and whether the diff does that.
- Findings, most severe first. Each has a severity (Will break, Should fix or Note), the angle it comes from, the file and line, the issue, why it matters and the fix, with the code quoted. A Note is never a requirement. A finding based on one of your organisation's rules cites it by number, such as R3.
- Angles clear: for each angle the reviewer's skill names with no finding, what it read to say so. The skill's angles are not the nine tiles of the portal's review page.
It also says plainly what it could not check, such as another repository or a running system. Then it suggests fixing what you agree with and pushing.
How it differs from the portal's review
A local review uses the same know-how, but it is not the portal's review. The portal's review, and a person's decision on it, are the record.
| Local review | The portal's review | |
|---|---|---|
| Where it runs | Your coding agent, with your model | Entropix, with your organisation's model |
| What it reads | Your local diff and files | The pushed commit, from Git |
| Other review agents and the security reviewer | No | Yes, when picked (see Review agents) |
| Leads, quoted proof, test checks | No | Yes |
| Status on the Git host, comments | No | Yes |
| Decisions and a record | No: the result stays in your session | Yes |
What you can and can't do
- Review your branch with your organisation's reviewer know-how before you push.
- Check it against a PRD's acceptance criteria.
- Run it as often as you like: it writes nothing.
- Use it in place of the portal's review: it is never "the review" or an approval.
- Save its findings to the portal, or decide them there.
- Have it change the reviewer's skills or rules. To suggest a rule, use
/entropix:suggest-rule; see The plugin's skills.
Troubleshooting
- The
entropixtools are missing. Your coding agent is not connected. Follow Connect Claude Code or Cursor, then try again. - It cannot find a code reviewer. The skill looks for an agent whose description says it reviews changes. Check the reviewer's description on its Settings tab; see Agent settings.
- The diff is empty or wrong. Make sure your branch is committed and name the base branch if it is not the default.