Diffo draws a treemap of where agent changes land, rescuing a 20-line parser fix from a 900-line stylesheet

shetritr · reddit · 2026-12-06

A developer shares Diffo's code review visualization: the agent drops a one-line changeset-map fence in its note, and Diffo draws a treemap from the live diff — files as boxes grouped by folder, area proportional to changed lines, plus a line naming the folders holding most of the change (so a 900-line stylesheet no longer drowns out a 20-line parser fix).

Key details:

The whole tool, including the map, was written by Claude Code: it landed as one PR with a 359-line layout module and 14 tests, generated from the author's description of what they wanted to see before reading a change. Free under Apache-2.0 at diffo.io/demo.

Original post →

More from coding & agent

coding & agent channel →