

git-lrc is an AI-powered code review system that integrates with git commit hooks to automatically review code changes before they are committed. It serves as a braking system for AI-generated code, catching issues that AI agents might introduce silently.
The tool provides GitHub-style diff views with color-coded additions and deletions, inline AI comments at exact lines with severity badges, review summaries with high-level overviews of AI findings, staged file lists for easy navigation, diff summaries showing lines added/removed per file, and event logs tracking review events and status changes. It offers one-click copying of all AI-flagged issues to paste back into AI agents and allows cycling through comments without scrolling.
git-lrc works by hooking into git commit operations, triggering AI reviews automatically when commits are made. Users can choose between automatic review on commit or manual review before commit using commands like 'git lrc review'. The system uses Google's Gemini API for AI reviews and includes a LiveReview coordination service.
The benefits include catching issues before code ships, building better coding habits through regular review, reducing bugs, creating more robust code, and achieving better team results. It tracks review iterations and coverage in git logs, showing exactly which commits were reviewed, vouched, or skipped.
git-lrc targets developers using AI coding assistants like Cursor, Windsurf, and Copilot. It integrates universally with git across all editors and IDEs. The tool is source-available on GitHub and requires users to provide their own Gemini API key from Google AI Studio.
admin
git-lrc is designed for developers using AI coding assistants like Cursor, Windsurf, and Copilot who need to ensure code quality before committing changes. It targets teams and individual developers working with git across all editors and IDEs who want to catch AI-generated code issues automatically. The tool serves developers concerned about silent logic removal, credential leaks, and behavior changes that AI agents might introduce without notice.