autocodecheck
v1.0.1
Published
AI-powered code review CLI
Maintainers
Readme
🚀 AI Code Review CLI
AI Code Review CLI is a developer-friendly command-line tool that automatically reviews your project's codebase using Google Gemini AI.
It scans JavaScript, TypeScript, HTML, CSS, and JSON files to generate a detailed plain-text report highlighting key aspects like structure, readability, maintainability, performance, and security.
🧠 Features
- ✅ AI-Powered Review: Analyzes multiple files.
- 📄 Generates Detailed Report: Outputs a professional review (
AI_Review_Report.txt) in plain text with no markdown or code fences. - 📁 Multi-File Scanning: Scans
.js,.jsx,.ts,.tsx,.json,.html, and.cssfiles automatically. - ⚙️ Smart Filtering: Ignores unnecessary folders like
node_modules,build, anddist. - 🧩 Descriptive Yet Clean Output: Reviews are concise, structured, and formatted into five professional sections.
- 💬 Timestamped Reports: Each report includes the project name, file count, and generation time.
📂 Review Sections
The AI-generated report includes the following sections:
Project Structure and Organization
Reviews file organization, folder naming, and code separation.Code Quality and Readability
Evaluates syntax clarity, naming conventions, and readability practices.Maintainability and Best Practices
Suggests improvements for modularity, code reuse, and environment configuration.Performance and Security Concerns
Identifies inefficiencies, potential bottlenecks, and security vulnerabilities.Suggestions with Example Improvements
Provides actionable recommendations with small code examples.
At the end, it gives a short Overall Summary describing the project’s general code quality and maintainability.
🚀 Installation
Option 1: Global Install
npm install -g autocodecheckThen run:
autocodecheckOption 2: Local Install
npm install autocodecheckThen run it using npx:
autocodecheck