Claude Code Adds Auto-Fix and Simplify Cleanup
We dig into Claude Code’s new /code-review --fix workflow, which can edit files directly instead of just leaving comments, and the revamped /simplify pass for trimming dead code and redundant structure. The episode also covers safer usage tips, from keeping a clean git tree to reviewing diffs, plus the new skipLfs option for speeding up large repos.
Is this your podcast and want to remove this banner? Click here.
Chapter 1
Auto-Fixing Code Review and the New Simplify Workflow
Lachlan Reed
Welcome to the show everyone! I'm Lachlan Reed, here with James Turner, and mates, I have to tell you—I am absolutely stoked about this. Imagine you're wrapping up a massive coding session, you're absolutely knackered, and instead of just getting a list of complaints from your linter, your terminal actually rolls up its sleeves and fixes the mess for you. Claude Code just dropped versions 2.1.152 and 154, and they've introduced this incredible new flag: `/code-review --fix`. It's not just passive nagging anymore; it's active, direct-to-file edits.
James Turner
Wait, [skeptical] direct-to-file edits on a code review command? That is a massive paradigm shift. Usually, a code review tool just leaves a bunch of comments on your pull request and lets you do the actual legwork. Now it's actually writing directly to the workspace?
Lachlan Reed
Spot on, James. It literally rewrites the files in place. If it finds a redundant nested loop or a dodgy variable assignment, it doesn't just tell you "hey, this is trash"—it actually refactors it right there in your local tree. And they've doubled down on this with a revamped `/simplify` command, which is basically a highly targeted, cleanup-only pass of that `/code-review --fix`.
James Turner
Ah, so `/simplify` isn't trying to do heavy lifting like hunting down edge-case logical bugs or security vulnerabilities. [thoughtfully] It's literally just a aesthetic and structural pass. It's looking for things like dead code, overly verbose conditional blocks, or redundant helper functions and just shaving them down.
Lachlan Reed
Exactly! It's like having a obsessive-compulsive senior dev hovering over your shoulder, but instead of annoying you, they just silently clean up your indentation and merge your nested `if` statements. But look, there's a catch here. Since it's writing straight to your disk, you've got to treat these commands like automated workspace commits. If you run `/simplify` on a dirty git tree, you are asking for a world of hurt.
James Turner
Oh, absolutely. [matter-of-fact] If you don't have a clean working directory before you execute this, you have zero way to isolate what *you* wrote from what the AI just refactored. The absolute best practice here has to be: stage your changes, or commit them, run the command, and then immediately run a `git diff` to inspect every single line it changed. You cannot just blind-trust an agent to rewrite your local files without a safety net.
Lachlan Reed
Too right, mate. I nearly tanked a client's site years ago by rushing a midnight update, and let me tell you, checking your diffs is a habit written in blood. [chuckles] Now, speaking of workflow efficiency, they also added a new `skipLfs` option. If you're working in massive repositories with heaps of binary assets, you can skip Large File Storage checks entirely, which makes the whole plugin management and initialization phase run incredibly fast.
James Turner
That's actually huge because Git LFS can absolutely crawl when an external tool starts scanning the tree. [excited] So, by skipping LFS tracking during the analysis phase, Claude Code gets straight to the source files it actually knows how to edit. It keeps the feedback loop tight.
Lachlan Reed
It's all about speed and safety, really. With these direct-to-file edits, we're moving from AI as an advisor to AI as an active pair programmer. Just make sure you keep your git history clean, run `/simplify` to sweep up the cobwebs, and always, always inspect your diffs. That's our show for today. Thanks for hanging out with us, and we'll catch you in the next one.
James Turner
See ya! [warmly]
