Now reads TypeScript monoreposSee the context

AI code review for pull requests

Rubric reads the whole repo, then posts one review with a patch you can apply. First review in 4 minutes.

Every pull request, reviewed in one place.

The queue on the left, the diff on the right. Rubric reads the change, opens the files it touches and posts one comment with a patch you can apply. A person still approves the merge.

See what it checks

Inside every review. Before the first read.

Finds a breaking line in review

Rubric searches the repository for the pattern, then reads every caller it lands in.

Runs the tests before review

Rubric finds the tests that cover the changed lines and runs them first.

northwind/api zsh pr-482
~/northwind/api$pnpm test --changed
4 of 4 files
billing/settle.test.ts18 tests412ms
billing/invoice.test.ts31 tests868ms
queue/retry.test.ts46 tests1.21s
billing/timeout.test.ts33 tests377ms
Test files4 passed(4)
Tests128 passed(128)
Donein 3.84s
~/northwind/api$

Applies your review rules

It learns from your past review comments: naming, error handling, the patterns you always ask for.

Review rules
4 of 5 on
  • Naming matches the filecamelCase, one noun
  • No silent catchLog or rethrow
  • Tests cover the changeOne case per branch
  • Flag breaking API changesAsk for a version bump
  • No any in new codeUse the real type

Shows the review in order

The blocking issue comes first, the nits last, so the review reads in one pass.

Review steps
2 of 5
  • Read the diff
  • Check the callers
  • Run the touched tests
  • Write one comment
  • Apply the patch

Reads the code around the diff.

Before Rubric comments, it reads the callers, types and tests around the change. A rename in one file is checked against the callers it lands in.

Reads the whole repository, not only the diff.

Checks every caller and the tests that cover it.

Comments on the changed lines only.

See a full review

TSretry.ts TSsettle.ts 1 issue
export async function retry(job) {
  const cfg = loadConfig("billing");
  while (i++ < cfg.max) {
    const res = await post(job, 8000);
    if (res.ok) return res.receipt;
    await sleep(backoff(i, cfg.baseMs));
  }
}

function backoff(i, base) {
  return Math.min(base * 2 ** i, 30000);
}

export default retry;

// the caller in services/billing/queue.ts
The timeout is hard-coded. The config sets 20s.

The standard

The diff is not the whole change. Rubric reads the callers, the tests and the files around it before it writes a comment.

Pricing

Per developer, per month. Free for 14 days. No card.

Reads fromGitHubGitLabBitbucket

Open source

For public repositories and one private repo.

$0/ month

Add a public repo
  • Whole-repo context
  • One review per pull request
  • The patch, not only a note
  • Community support

Business

For teams that need SSO and an audit log.

$39/ developer / month

Start Business plan
  • Everything in Team
  • SAML SSO
  • Audit log
  • Self-hosted runner

Connects to your code stack.

Rubric reads pull requests from GitHub, GitLab and Bitbucket, then posts to Slack, Linear and Jira. The review lands where your team already works.

See what it checks