ai-code-reviewer

1.0.20 • Public • Published

AI Code Reviewer

An AI-powered code review tool that uses OpenAI to analyze code changes and provide detailed feedback.

Installation Local

npm install ai-code-reviewer@latest

Install Global

npm install -g ai-code-reviewer

Usage

Code Review Only

export OPENAI_API_KEY=your_api_key
ai-code-reviewer --branch=main

Code Review with Auto-Apply

export OPENAI_API_KEY=your_api_key
ai-code-reviewer --branch=main --apply

Generate Documentation

export OPENAI_API_KEY=your_api_key
ai-code-reviewer --branch=main --generate-docs

This will analyze your changes and commit messages to create a comprehensive CHANGES.md file documenting:

  • High-level summary of changes
  • Technical implementation details
  • API changes
  • Usage recommendations

Quick Start with npx

npx ai-code-reviewer

Package Sidebar

Install

npm i ai-code-reviewer

Weekly Downloads

1

Version

1.0.20

License

MIT

Unpacked Size

19.1 kB

Total Files

4

Last publish

Collaborators

  • bobbynicholson78704