CR-Mentor

CR-Mentor

Knowledge Base + LLM Powered Code Review Mentor。知识库 + LLM 驱动的 Code Review 导师

Stars: 184

Visit
 screenshot

CR-Mentor is a project that leverages Knowledge Base + LLM to improve development efficiency in Code Review. It provides comprehensive code context understanding, customizable code standards, global code analysis, and risk code identification. The tool aims to enhance code review processes by automating tracking of related files, supporting custom code review standards, generating comprehensive review reports, and identifying potentially risky changes with improvement suggestions.

README:

landing_page

Knowledge Base + LLM Based Code Review Mentor

[English] · [Chinese]
A project leveraging Knowledge Base + LLM to improve development efficiency in Code Review

Online Demo

Highlights

  1. Comprehensive Code Context Understanding
    Breaking through the limitations of traditional git diff CR, using github100 to automatically track all related files involved in code changes, including cross-file/module reference paths, achieving comprehensive understanding of code context and business logic

  2. Customizable Code Standards
    Based on best practices accumulated in the knowledge base, supports repository-level custom code review standards. Through uploading code standard files and closed-source dependency documentation, effectively solves LLM's hallucination issues when dealing with closed-source dependencies/code

  3. Global Code Analysis
    Using LLM based on complete chain code context and changes to generate comprehensive review reports including Code Walkthrough, Change Description and Sequence Diagrams

  4. Risk Code Identification
    Customized Agent Tools to identify potentially risky changes, provide improvement suggestions and separate comment feedback

Feature Preview

  1. Automatic Knowledge Base Integration knowledgeBase

  2. Code Review summary comment

Local Development

cd apps/admin

pnpm install
pnpm admin:dev

未来计划

  • [ ] Establish human intervention mechanisms, collect feedback, and optimize code review processes
  • [ ] Focus on developer growth, analyze strengths and weaknesses, create growth plans
  • [ ] Support for Gitlab and other platforms
  • [ ] Support for more LLMs

Star History

Star History Chart

License

This repository follows the CR-Mentor Open Source License.

Commercial use as a backend service is allowed, but providing SaaS services is not permitted.
Without commercial authorization, copyright information must be retained for any form of commercial service.
For complete details, please see Apache License 2.0
Contact: [email protected]

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for CR-Mentor

Similar Open Source Tools

For similar tasks

For similar jobs