HexmosTech/git-lrc

Free, Micro AI Code Reviews That Run on Git Commit

What it solves

git-lrc는 소프트웨어 중단, 보안 침해, 기술 부채를 방지하고, 코드가 git 히스토리에 커밋되기 전에 오류를 포착합니다. 특히 AI가 생성한 코드 문제를 해결합니다. AI 생성 코드는 개발자가 눈치채지 못한 사이에 버그를 삽입하거나 중요한 로직을 삭제하거나 자격 증명을 유출할 수 있으며, 이러한 문제는 코드가 프로덕션에 도달할 때까지 발견되지 않을 수 있습니다.

How it works

이 도구는 git commit 프로세스에 훅을 걸어 diff에 대한 AI 기반 리뷰를 자동으로 트리거합니다. 웹 기반 UI를 사용해 GitHub 스타일의 diff를 표시하고, 인라인 AI 댓글을 심각도(Critical, Warning, Info)별로 구분해 제공합니다. 개발자는 표시된 문제를 수정하고 재검토하거나, 코드를 "vouch"하여 개인적인 책임을 지고 커밋할 수 있습니다.

Who it’s for

AI 에이전트를 사용해 코드를 생성하고, 모든 레포지토리에서 코드 품질과 보안을 보장하는 편집기 독립적인 범용 안전망을 원하는 소프트웨어 엔지니어 및 팀을 위한 도구입니다.

Highlights

  • Commit-time enforcement: Runs automatically on git commit or manually via git lrc review.
  • Risk-based triage: An Issue Navigator allows filtering by 10 risk categories and 100+ failure patterns.
  • Repository-specific rules: Users can define custom team preferences and constraints in a .lrc/ directory to guide the AI reviewer.
  • Git log tracking: Appends review status (iterations and coverage percentage) directly to the git commit message for institutional memory.
  • Summary Deck: Automatically generates a short slide deck summarizing changes and risks for quick orientation.
  • BYOK Support: Compatible with Gemini, OpenAI, Claude, DeepSeek, and OpenRouter.