Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Run a branch review

Ask Autohand Code to inspect changed files for regressions, missing tests, security issues, and product contract drift.

Run a branch review with Autohand Code is a review workflow that inspects a branch or local diff for bugs, regressions, missing tests, security risks, and product contract drift.

At a glance

Question Answer
Best for checking a branch before human review, merging a hotfix, or sending a PR through CI
Primary inputs Current diff, branch name, or PR context; Product expectations that are not obvious from code; Priority areas such as auth, billing, migrations, UI state, or security
Autohand Code returns A review report with findings ordered by severity and file references.
Avoid when the author only wants formatting feedback or broad style preferences

How Autohand Code handles this workflow

  1. Compares changed files with nearby contracts, tests, routes, and data paths.
  2. Ranks findings by user-visible or operational severity.
  3. Points to exact files and lines when possible.
  4. Separates blocking defects from test gaps and open questions.

Best inputs

  • Current diff, branch name, or PR context
  • Product expectations that are not obvious from code
  • Priority areas such as auth, billing, migrations, UI state, or security

Strong prompt

autohand -p "Review my current branch for bugs, risks, and missing tests"

Autohand Code CLI options

  • Use /review inside an interactive session for the built-in staff-level review flow.
  • Run git diff main...HEAD | autohand -p "Review this diff for bugs, regressions, missing tests, and security risks" for a scripted branch check.
  • Use --restricted when the review should inspect files and diffs without running risky commands.

Review before accepting

Strong findings explain the failure mode, affected user or system, and a concrete verification path.

Source and validation signals

Autohand AI maintains this workflow as first-party product guidance for Autohand Code. Use the Autohand Code CLI Playbook, CLI reference, and configuration reference when choosing between interactive mode, command mode, auto-mode, feature-enabled /goal, /settings, skills, MCP, and permission settings. The related resources below link to product docs and tutorials for the workflow, and the final answer should name repository-specific files, commands, outputs, or docs that a reviewer can verify.

Frequently asked questions

What is Run a branch review with Autohand Code?

Run a branch review with Autohand Code is a review workflow that inspects a branch or local diff for bugs, regressions, missing tests, security risks, and product contract drift.

When should a team use Run a branch review?

Use it when the next reviewer needs a bug-focused pass instead of a general summary.

What evidence should reviewers check for Run a branch review?

Strong findings explain the failure mode, affected user or system, and a concrete verification path.

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification