@lxgicstudios/ai-code-review
v1.0.0
Published
AI-powered code review for staged git changes
Readme
ai-code-review
Get a code review before you even push. It reads your staged changes and gives you feedback with colored output right in the terminal.
Install
npm install -g ai-code-reviewSetup
export OPENAI_API_KEY=sk-your-key-hereUsage
# Stage your changes first
git add .
# Run the review
npx ai-code-reviewYou'll get color-coded feedback:
- 🔴 CRITICAL - Bugs, security issues. Fix these.
- 🟡 WARNING - Code smells, things that might bite you later.
- 🔵 SUGGESTION - Style and readability stuff.
- 🟢 GOOD - Things you did right. Everyone needs a pat on the back.
Why bother?
Catches dumb mistakes before your teammates do. Way less embarrassing than getting "you left a console.log in here" on your PR.
