AI-powered CLI tool to review code using GPT-3.5
npm install ai-code-checker--fix mode to apply auto-fixes
bash
npm install -g ai-code-checker
`
Or run directly:
`bash
npx ai-code-checker ./src --inline --pdf
`
---
π§ Usage
`bash
npx ai-code-checker [--inline] [--summary] [--markdown] [--fix] [--pdf] [--interactive]
`
$3
`bash
npx ai-code-checker sample.js --inline
npx ai-code-checker ./src --summary --markdown --pdf
npx ai-code-checker app.js --fix --interactive
`
---
π CLI Options
| Flag | Description |
| --------------- | ---------------------------------------------------------- |
| --inline | Inline suggestions with line numbers |
| --summary | Summary output instead of detailed breakdown |
| --markdown | Save review report as ai-code-review-report.md |
| --pdf | Save review report as a styled ai-code-review-report.pdf |
| --fix | Auto-apply patch suggestions returned by AI |
| --interactive | Ask for custom comments/tags during review per file |
---
β¨ Output Formats
$3
* Color-coded, sectioned, clean layout
$3
* Saves a clean .md file with headings and scores
$3
* Header: Logo title
* Footer: Watermark
* π₯ Security issues in red
* π¦ Informational notes in black
* Code rendered in monospaced font
---
π€ Powered By
* OpenRouter.ai
* Models: mistralai/mistral-7b-instruct, openai/gpt-3.5-turbo`, and more.