2.0.0 • Published 9 months ago

ai_code_review v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Code Critique

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.

Publish to NPM

Features

  • AI code reviews
  • Version control integration
  • Security reviews
  • Architecture reviews

Introduction

Using OpenAI, Code Critique reviews changes in files, criticizes bad coding habits, and suggests improvements. This significantly reduces the number of required corrections.

Constraints and Limitations

  • File size limitations
  • Errors and timeouts
  • Slower response time due to ChatGPT

Installation

npm install -g ai_code_review

Usage

code_review

all criticism is put in a file called feedback.md

Changing API keys

to change your API key use this command

code_review --clear_api_key

using github

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"
}

Roadmap

  • AI code reviews
  • Version control integration
  • Security reviews
  • Architecture reviews

Todo

  • 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

Contributing

License

1.2.5

9 months ago

1.2.4

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

2.0.0

9 months ago

1.2.0

11 months ago

1.2.1

11 months ago

1.1.1

1 year ago

1.1.2

1 year ago

1.1.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago