An AI-powered code review tool that uses OpenAI to analyze code changes and provide detailed feedback.
npm install ai-code-reviewer@latest
npm install -g ai-code-reviewer
export OPENAI_API_KEY=your_api_key
ai-code-reviewer --branch=main
export OPENAI_API_KEY=your_api_key
ai-code-reviewer --branch=main --apply
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
npx ai-code-reviewer