Release v1.2.0 #17
zxcloli666
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Release v1.2.0
feat: add full PR context to chunk reviews to prevent false positives
When reviewing large PRs in chunks, AI now receives:
This prevents false positives like "file not found" when the file exists in another chunk.
Changes:
Resolves issue where AI incorrectly flagged existing files/imports as missing
when they were present in other chunks of the same PR.
🤖 AI Code Review - GitHub Action with Deep Static Analysis
Automated AI-powered code review for GitHub Pull Requests
GPT-5 • Claude Opus 4 • Gemini 2.5 Pro • O3 • Custom AI Models
🚀 Quick Start • ✨ Features • 📖 Documentation • 💡 Examples • 🤝 Contributing
🎯 What is AI Code Review?
AI Code Review is a next-generation GitHub Action that automates pull request reviews using advanced artificial intelligence and deep static code analysis. Get Principal/Staff engineer-level feedback on every PR with AST parsing, linter integration, dependency tracking, and beautiful visual statistics.
🏆 Why Choose AI Code Review?
✅ Save 2-4 hours per day on code reviews
✅ Catch bugs before production with deep analysis
✅ Consistent quality standards across your team
✅ Support for 10+ programming languages
✅ Works with GPT-5, Claude 4, Gemini, O3, and custom AI models
✅ AST parsing + Linter integration + Dependency analysis
✨ Key Features
🧠 Senior-Level AI Reviews
🔍 Deep Static Code Analysis
🎨 Beautiful Visual Reports
🤖 Multi-Model Support
🛠️ AI Tool System (14 Tools)
AI actively investigates your code using specialized tools:
read_file,get_file_diff,analyze_file_ast- Deep file analysisanalyze_function_impact- 🎯 Breaking change detector! Shows full context around ALL function call sitesfind_function_callers,find_function_dependencies- Code navigationanalyze_function_complexity- Complexity metricsrun_linter- Execute language-specific lintersget_commits_list,get_commit_diff,get_file_history- Git context🌍 Multi-Language Support
📦 Smart PR Handling
🚀 Quick Start
Step 1: Create Workflow File
Create
.github/workflows/ai-code-review.yml:Step 2: Add OpenAI API Key
OPENAI_API_KEY, Value:your-api-key-hereStep 3: Create a Pull Request
That's it! 🎉 AI Code Review will automatically analyze every new PR.
📖 Configuration Options
Required Inputs
GITHUB_TOKENOPENAI_API_KEYOptional Inputs
OPENAI_API_MODELgpt-5,claude-opus-4,o3, etc.)gpt-5OPENAI_API_BASE_URLhttps://api.openai.com/v1REVIEW_LANGUAGEen,ru,es,fr,de,zh, etc.)enSILENT_MODEtrue/false)falseMAX_CHUNK_SIZE6000ENABLE_LINTERStrueENABLE_ASTtrueENABLE_DEPENDENCY_ANALYSIStrueSEVERITY_THRESHOLDinfo,warning,error)warning💡 Example Reviews
🔍 Click to see example review output
🎯 Advanced Use Cases
Manual Trigger with
/reviewCommandAdd the ability to trigger reviews on-demand:
Now comment
/reviewon any PR to trigger a review!Use Claude Opus 4
Use Google Gemini 2.5 Pro
Use OpenAI O3 Reasoning Model
Reviews in Russian
Silent Mode (Reduce Notifications)
🛠️ How It Works
1️⃣ Data Collection
2️⃣ Smart Chunking
3️⃣ Deep Analysis
AI actively investigates code using 14 specialized tools:
File Analysis:
read_file- Read complete file contentget_file_diff- View specific changes with contextanalyze_file_ast- Deep AST (Abstract Syntax Tree) parsingCode Understanding:
analyze_function_impact- 🎯 Breaking Change Detector! Shows full context around ALL function call sitesfind_function_callers- List all places where a function is calledfind_function_dependencies- Find what a function depends onanalyze_function_complexity- Cyclomatic complexity metricsQuality Tools:
run_linter- Execute language-specific linters (ESLint, Pylint, Clippy, etc.)Git & History:
get_commits_list,get_commit_diff,get_file_history- Analyze code evolution4️⃣ AI Review Process
5️⃣ Executive Summary Generation
6️⃣ Publishing Results
🔥 Breaking Change Detection Example
When refactoring a function used across multiple files, AI uses
analyze_function_impactto show full context around ALL call sites.Example: Changing
calculatePrice(quantity, price)tocalculatePrice(options)What AI sees:
The AI can now intelligently warn that all 8 call sites need updating! 🎯
🌐 Supported Languages
Review Languages (Comments)
English, Russian, Spanish, French, German, Chinese, Japanese, Korean, Portuguese, Italian, Dutch, Polish, Turkish, Arabic, Hindi, and more...
Code Analysis Languages
🏗️ Development
Prerequisites
Setup
git clone https://github.com/zxcnoname666/AI-Code-Review.git cd AI-Code-Review pnpm install pnpm buildProject Structure
Testing
Create a test repository, set up the workflow, and verify the output.
🤝 Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
git checkout -b feature/amazing-featuregit commit -m 'feat: add amazing feature'git push origin feature/amazing-feature📝 License
MIT License - see LICENSE for details.
🙏 Acknowledgments
⭐ Support This Project
If you find AI Code Review useful, please:
Made with ❤️ by zxcnoname666
⬆ Back to top
This discussion was created from the release Release v1.2.0.
All reactions