Code Critique is an AI-powered command-line interface (CLI) tool that helps review code in projects before raising pull requests (PRs). It helps reduce the time spent on code reviews.
- AI code reviews
- Version control integration
- Security reviews
- Architecture reviews
Using OpenAI, Code Critique reviews changes in files, criticizes bad coding habits, and suggests improvements. This significantly reduces the number of required corrections.
- File size limitations
- Errors and timeouts
- Slower response time due to ChatGPT
npm install -g ai_code_review
code_review
all criticism is put in a file called feedback.md
to change your API key use this command
code_review --clear_api_key
if you want to review only your git changes add this configuration file to the root of your document.
// codereview.json
{
"name": "",
"description": "",
"git": true,
"defaultBranch": "master"
}
- AI code reviews
- Version control integration
- Security reviews
- Architecture reviews
- Git integration
- Retrieve files and send them to OpenAI
- Receive responses from OpenAI
- Send responses to the user
- Create an npm module
- Publish the module
- Set up continuous integration
- Add support for Vue.js
- Move reviewed code from feedback.txt to locally hosted html and css
- Bugs, context and file structure