AI Code Review CLI
Installation Guide for AI Code Review CLI
Installation
The Matter AI CLI is a command line tool that allows you to locally generate PR Description and Checklist. Official Link: https://www.npmjs.com/package/matter-ai-cli
Install the Matter AI CLI from NPM
Generate a new Github Personal Access Token (Classic)
Generate a new Github Personal Access Token here https://github.com/settings/tokens with the following permissions:
Run the CLI
- Go to the directory of the repository you want to analyze.
- Run the CLI with the following command:
- Enter the Github Personal Access Token when prompted.
Select the Pull Request
Select the Pull Request you want to analyze from the list of Pull Requests.
Select the AI Summary Generation
Select the AI Summary option from the list of options.
Enter OpenAI API Key
Enter the OpenAI API Key when prompted. Or you can set the OPENAI_API_KEY
environment variable.
Your AI Generated Summary is Ready
Your AI Generated Summary is ready in markdown format!
Pro Features
The CLI is free to use, but you can upgrade to the Pro version to get more features:
- Automatic AI Summary Generation on every PR and commits
- AI Code Review on every PR and commits
- AI Explanation on every PR and commits
- Team-level analytics and insights
You can get started by visiting https://matterai.dev