Claude Corner

Claude's Fix Works but the Diff Feels Bloated? Run /simplify in Claude Code.

By ยท 4 Dec 2026

A dark IDE showing a /simplify dialog over a +/- diff, four review-agent tiles, and a no-bugs card.

At a glance

  • One bundled Claude Code command cleans up a change after it already works.
  • Four review agents look at reuse, simplification, efficiency and the level of abstraction.
  • It skips correctness bugs, so keep a bug review for that job.

Say Claude's fix works and the tests pass, but the diff is twice the size you expected, with a new date formatter the repo already had. None of it is wrong, so a bug review may wave it through. Claude Code has a bundled command for that cleanup pass.

Why it matters

The Claude Code commands reference describes /simplify as a review of the changed code for cleanup opportunities that also applies the fixes. Four review agents run in parallel, covering reuse of existing helpers, simplification, efficiency, and whether the change sits at the right level of abstraction. The same reference says the review doesn't look for correctness bugs and points you to /code-review for those.

That split matters because the Claude Code changelog says /code-review on most models now reports only bugs and CLAUDE.md violations, and tells you to run /simplify for reuse, simplification and efficiency cleanups. If you counted on the bug review to flag a duplicated helper, it may stay quiet.

How to trim a working change with /simplify

We have not run these steps in a live session.

  1. Finish the change and confirm it works, since /simplify is a cleanup pass.
  2. Type /simplify at the Claude Code prompt.
  3. To narrow the pass, add a target. The reference says you can pass a path or a pull request reference, such as /simplify src/auth.
  4. Read the edits with git diff and rerun your tests, because the cleanup rewrites passing code.
  5. For correctness, run /code-review as its own step. The reference says that command reviews the current diff for bugs.
# We have not run this script end to end on every platform.
# In the Claude Code prompt: clean up the changed code, or one folder of it.
/simplify
/simplify src/auth

# In your terminal: read what the cleanup changed.
git diff --stat
git diff

# In the Claude Code prompt: look for bugs as a separate pass.
/code-review

Gotchas

  • It edits, it doesn't just report. The reference says /simplify applies its fixes, so the result lands in your working tree. Our advice is to commit the working version first so you have an easy way back.
  • Clean code can still be broken. The review doesn't look for correctness bugs, so keep /code-review in the loop.
  • Old scripts may call the wrong command. The local review guide says that if you scripted /simplify for bug finding, you should switch to /code-review --fix.
  • The bundled command doesn't count as a commit check. The skills guide says Claude runs a skill named simplify right before each commit only when it loads from your personal, project or enterprise skills. The bundled /simplify doesn't qualify.
  • Missing from your slash menu? The skills guide says the disableBundledSkills setting turns bundled skills off, so check your settings files if /simplify doesn't appear.

For a skill of your own that Claude runs before each commit, see our October 12 Corner, Claude Committed Code That Never Ran. Name a Skill verify and It Checks First.

Sources:

Recommended AI prompt

Copy this paragraph into ChatGPT, Claude, Gemini, Grok, or whatever AI you use.

Prompt

I use Claude Code and its changes often work but come out longer than they need to be. Using only Anthropic's Claude Code docs on the /simplify and /code-review commands and on skills, ask how I review changes today. Then give me a short routine for when to run /simplify, how to point it at one folder, how to check its edits before I commit, and when I still need /code-review for bugs.