Skip to main content

1. Install the cubic GitHub App

1

Sign up

Go to cubic.dev/sign-up and sign in with your GitHub account.
2

Install the app

Select the repositories you want cubic to review. You’ll get 7 days free, no credit card required.

2. Trigger your first review

Open a new pull request cubic automatically starts reviewing new pull requests in your selected repositories. Or review an existing PR Post this comment on GitHub to start a review:
You’ll see inline comments pointing out bugs and improvements, with explanations and suggested fixes.
For complex PRs, trigger an Ultrareview for a deeper review.
Automatically approve clean PRs. Enable auto-approval to let cubic approve PRs that meet your review policy.

3. Interact with cubic

Ask follow-up questions

Reply to a review comment to ask for clarification:
cubic responds with more context. Tell it when a finding isn’t relevant to help it learn your team’s preferences.

Request a fix

Click Fix with cubic on a review comment, or ask cubic directly:
cubic generates the fix and pushes it to your PR branch. Review the changes before merging. To get a separate PR, ask: @cubic-dev-ai open a fix PR. See Coding agents for setup and Interactive comments for more ways to work with cubic.

4. Review locally with the CLI

Run a review before you push to catch issues while you’re working. Install the cubic CLI:
Run cubic and sign in through your browser. Then, from your repository, review your uncommitted changes:
To review all changes on your branch against its base, run cubic review -b. Use the findings to fix issues yourself or pass them to your coding agent, then push your changes for a GitHub review. See Local CLI review for more commands and model options.

5. Review the PR in cubic

Open your pull request on cubic.dev to review the code yourself. cubic helps you understand how the changes fit together and where to focus your attention:
  • Review related changes together. File groups organize the diff by what changed, with explanations of the intent and behavior behind each group.
  • Get a guided walkthrough. Ask chat to “tour this PR” for a step-by-step review of the changes and what to check.
  • Ask questions beside the code. Select code and choose Add to AI chat to ask about it with the diff and codebase as context.
  • Submit your review. Leave comments, approve, or request changes from cubic. Your review is published to GitHub.
Use the grouped diff to get oriented, then dig into the changes that need your judgment before merging.

Next steps