Dev.to
6/24/2026

I built a local-first LLM code reviewer in Go. Here's the entire pipeline.
Short summary
CommitBrief is a local-first Go CLI that reviews your staged git diff using Claude, GPT, Gemini, or fully local Ollama—with no server, no telemetry, and credentials never leaving your machine. The 14-stage pipeline handles diff parsing, three-layer filtering, content-addressed caching, secret scanning, and cost preflight before the LLM call. Open-source (GPL-3.0) with 10+ providers and read-only git operations—a practical zeroth reviewer for code quality.
- •14-stage local-first code review CLI supporting Claude, GPT, Gemini, Ollama, and more
- •Built-in secret scanning, content-addressed caching, and cost preflight estimates
- •Open-source (GPL-3.0), no telemetry, hybrid go-git + git CLI for stable worktree state
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



