Skip to Content

Using review

Review.ai is designed to be your AI pair programmer, helping you write better code through continuous feedback.

CLI Workflow

Our recommended workflow emphasizes early reviews, similar to pair programming:

  1. Write code incrementally
  2. Stage and review changes often
  3. Address any obvious issues before moving forward

Login to review.ai

review login

You will be presented with a link and be redirected to GitHub to authorize the review.ai agent.

Review staged changes

To review your staged changes:

review

Review specific commits

Review changes in a commit:

review -- <commit>

Where <commit> can be:

  • A single commit (e.g. HEAD, HEAD~1, abc123)
  • A commit range (e.g. HEAD~3..HEAD, main..feature)

For more detailed CLI options and commands, see our CLI Reference.

Editor integration

Use our VS Code/Cursor extension to catch issues before creating a PR. Get instant AI feedback as you write code.

Follow these steps to use review.ai in your editor:

  1. Install the extension from the marketplace
  2. Stage your changes using Git
  3. Open the review.ai SCM panel by either:
    • Clicking the review.ai icon in the activity bar
    • Using the command palette (Ctrl+Shift+P or Cmd+Shift+P): “Review: Show SCM View”
  4. Click the “Login with GitHub” button
    • You’ll be redirected to GitHub to authorize the review.ai agent
  5. Click “Review Staged Changes” to analyze your code
  6. Review feedback in the comments panel or directly in your code
  7. Interact with feedback by:
    • Marking suggestions as âś… actionable, ⏭️ skip, or ❌ invalid
    • Providing detailed feedback to help improve future reviews

Watch this quick demo to see the extension in action:

GitHub Integration

Get AI-powered code reviews automatically in your GitHub workflow. Review.ai analyzes your pull requests and provides thoughtful feedback to improve code quality. Track changes over time with revision history and AI summaries of your PR’s evolution.

  1. Install and authorize the review.ai agent on your repositories
  2. Create a pull request or draft pull request on GitHub
  3. Review.ai automatically:
    • Analyzes your changes
    • Posts review comments with suggestions
    • Tracks revisions as you update your PR
  4. View and address feedback:
    • Check the “Conversation” or “Files changed” tab in your PR
    • Look for review.ai’s comments
    • You decide which suggestions you want to address

Providing feedback

Help us improve by rating each review comment. Your feedback is essential for improving the quality of our suggestions and making review.ai more useful for everyone.

Last updated on