# Reduce Code Review Time

Use Haystack to get your human code review time to zero — humans only look at PRs that genuinely need judgment.

## The Problem

Review is the bottleneck of every fast-moving team, and it's getting worse: coding agents multiply PR volume while the number of humans stays flat. Most review minutes are spent confirming that a routine change is, in fact, routine.

## How Haystack Solves It

- **Triage before humans**: every PR is rated and analyzed on arrival; routine PRs are verified and merged by the queue without a human ever opening them.
- **Risk-based routing**: the small minority of PRs that need judgment land in a smart inbox, one card at a time, with findings and evidence pre-assembled.
- **Standards enforced automatically**: your team's rules, test-coverage expectations, and review policies (`.haystack/pr-rules.yml`, `review-policy.md`) are checked on every PR, so humans stop being the linter.

## Setup

```bash
npx -y @haystackeditor/cli@latest login
npx -y @haystackeditor/cli@latest setup --repo owner/name --yes
```

Setup scans the repo and writes your rules and review policy files; edit them to encode what your reviewers check by hand today.

## Related

- [Merge queue automation](/use-cases/merge-queue-automation)
- [Aggregate AI reviewers](/use-cases/ai-reviewer-aggregation)
