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:
- Write code incrementally
- Stage and review changes often
- 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:
- Install the extension from the marketplace
- See getting started
- Stage your changes using Git
- 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”
- Click the “Login with GitHub” button
- You’ll be redirected to GitHub to authorize the review.ai agent
- Click “Review Staged Changes” to analyze your code
- Review feedback in the comments panel or directly in your code
- 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.
- Install and authorize the review.ai agent on your repositories
- See getting started
- Create a pull request or draft pull request on GitHub
- Review.ai automatically:
- Analyzes your changes
- Posts review comments with suggestions
- Tracks revisions as you update your PR
- 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.