Show HN: I Built an AI-Powered Pull Request Review Tool

github.com

1 points by highgarden 5 hours ago

While there are many tools like CodeRabbit that automate PR reviews, I noticed that relying entirely on AI to write reviews often led to me paying less attention to my colleagues' code. Therefore, rather than building just another "AI Code Reviewer," I designed HighReview as a "Code Review Tool assisted by AI." The goal is to help humans understand the code context more deeply and conduct reviews more easily, with AI acting as a support system. Additionally, when conducting detailed reviews, I often need to check out the branch locally to examine related code. This process is usually cumbersome (context switching, stashing current work, etc.). I built this tool to resolve these specific pain points and streamline my personal code review workflow.

Key Features - No Separate Login Required: Utilizes your local gh cli and local AI Agent. - Independent Review Environment: Checks out the target project into a directory separate from your current working local repository (allows for project-level reuse without disrupting your workflow). - Context-Aware AI Pre-review: Extracts related code using Tree-sitter to provide the AI with broader context, resulting in more comprehensive reviews. - Code Navigation: Supports code navigation within the Diff editor using Tree-sitter (I initially attempted this with LSP but pivoted to Tree-sitter). - Rich Analysis Features: Provides issue detection, explanatory diagrams, refactoring suggestions, side-effect analysis, and semantic analysis.(Note: Continuous prompt tuning is required for optimal results.) - Interactive AI Assistant: supports Q&A where you can ask the AI Assistant specific questions referencing the review results.

plz feedback. have fun. Thank you.