
Local /code-review Gets REVIEW.md Support in Claude Code 2.1.333
In this episode, we cover Claude Code 2.1.333, where local /code-review now reads the root REVIEW.md file on your default branch so you can keep review rules out of CLAUDE.md. We also cover key caveats to watch out for alongside new quality-of-life updates like selective agent stopping, a Built-in tab for /plugin, and major performance fixes.
Chapter 1
REVIEW dot md Comes to Local Code Review
Lachlan Reed
Grab your coffee, folks, this is Claude Code Changelog, brought to you by Jellypod AI. Anthropic just dropped Claude Code version two point one point three three three on November thirtieth, and if you run slash code review locally, your workflow just got a whole lot cleaner.
James Turner
Yeah, this is a big one for teams. In version two point one point three three three, the local slash code review command now follows the root REVIEW dot md file on your repository's default branch. Previously, Anthropic's own docs drew a pretty sharp line between the two tools.
Lachlan Reed
They really did. The hosted GitHub Code Review service on Team and Enterprise plans read both CLAUDE dot md and REVIEW dot md. Meanwhile, local slash code review only read CLAUDE dot md and completely ignored REVIEW dot md.
James Turner
And that created an annoying split. If you wanted local reviews to cap nits or skip generated files before you pushed, you had to stuff those review only rules into CLAUDE dot md. The problem there is CLAUDE dot md gets loaded into context for every single coding task, not just reviews. So you were burning context window on review instructions while trying to write code.
Lachlan Reed
Now you get a single source of truth! You keep CLAUDE dot md for your stack, architecture, and general conventions, and you put all your review behavior in REVIEW dot md. Let's walk through how to actually set this up.
James Turner
First, create a REVIEW dot md file at the root of your repository, commit it, and merge it into your default branch, like main. Inside, you just write freeform Markdown rules tailored to code review.
Lachlan Reed
For example, you can redefine what Important means versus Nit. You might say, reserve Important for bugs that break behavior, leak PII in logs, or create migrations that aren't backward compatible. And then cap the nits! Literally write, report at most five Nits per review.
James Turner
My favorite use case is excluding noisy paths and CI enforced checks. You can tell it to skip generated files under src slash gen, any lock files, or anything your linter and formatter already catch. And you can add repo specific checks, like requiring an integration test for new API routes or making sure database queries are scoped to the caller's tenant.
Lachlan Reed
Then you just run slash code review in your local Claude Code session on any plan. Now, there are two caveats to watch out for before you go editing that file.
James Turner
Huge caveat number one: slash code review reads REVIEW dot md from your repository's default branch only. It does NOT read uncommitted local edits or a copy sitting on a feature branch. Yep. If you tweak REVIEW dot md on a feature branch, local slash code review won't use those new rules until they're merged into main.
Lachlan Reed
And caveat number two: the release notes specify the root REVIEW dot md on the default branch. Unlike the hosted GitHub Code Review service, which also supports subdirectory REVIEW dot md files and at file includes when branch protection is confirmed, local slash code review is just looking at that root file.
James Turner
Before we wrap, there are a few smaller quality of life wins in two point one point three three three worth flagging. First, selective agent stopping. Claude can now stop one running agent in a workflow while the others keep going. Just remember that stopping an agent doesn't automatically undo file changes it already made.
Lachlan Reed
Second, slash plugin now has a Built in tab. It lists built in plugins by group with plain names and shows which ones your organization's settings lock on or off. Super handy for debugging enterprise setups.
James Turner
Third, they fixed an endless loop bug with asyncRewake hooks. If an asyncRewake hook kept exiting quickly with code two, it would wake Claude forever. Now wakes stop after eight in a row, and you can tune that with the CLAUDE_CODE_STOP_HOOK_BLOCK_CAP environment variable.
Lachlan Reed
And finally, some massive stall and performance fixes. Slow git status calls on the first prompt, subagents, or dash p now time out and continue after thirty seconds instead of hanging for up to ten minutes. They also fixed ten minute hangs on large files, at mentions, and slash context when token count requests stall, plus a Linux memory and CPU spike during heavy builds. Update to two point one point three three three, get that root REVIEW dot md merged, and we'll catch you next time.