Skip to main content
  1. Posts/

Codiff: Local Diff Review Tool for LLM-Generated Code

··248 words·2 mins·

🔍 Reviewing LLM Code: A Real Problem With an Elegant Solution
#

The author reviews so much LLM-generated code that git + delta started feeling limiting. Their solution: Codiff — built in 16 minutes by pointing an LLM at two references. ⚡

✨ What Is Codiff?
#

A local diff review tool, extremely fast for large diffs, with a beautiful and minimal design.

🎯 Features
#

  • 🔎 File filters — navigate the diff by file
  • 🔍 Search — quickly find specific changes
  • 🤖 LLM Walkthrough Mode — the LLM guides you through changes
  • 💬 Review comments — comment and paste back to your LLM

💡 The Problem It Solves
#

With the increase of AI-generated code, diffs become much larger than typical human-written diffs. Traditional workflows (git diff | less) don’t scale well for reviewing 500+ lines of code you didn’t write.

🛠️ Open Source — Fork It!
#

git clone https://github.com/nkzw-tech/codiff

💡 Explanation in a nutshell
#

Codiff was born from a real need: reviewing large volumes of LLM-generated code. Built in 16 minutes with AI assistance, Codiff offers a local, fast, minimal UI for reviewing diffs with file filters, search, an LLM walkthrough mode, and comments you can paste back to your agent. It’s the bridge between AI-generated code and the human review that’s still necessary.

More information at the link 👇

Also published on LinkedIn.
Juan Pedro Bretti Mandarano
Author
Juan Pedro Bretti Mandarano