Claude docs changes for May 24th, 2026 [diff]

Executive Summary

  • The /code-review command can now be run locally in any Claude Code session without installing the GitHub App, replacing the previously documented code-review plugin approach
  • Shell aliases and functions defined in startup files (~/.zshrc, ~/.bashrc, ~/.profile) are now documented as available to the Bash tool in every command
  • Sandbox documentation updated: linked git worktrees allow writes to the main repository's shared .git directory (except hooks/ and config)

Claude Code changes

Changed documents

Code Review [Source]

  • Added note that the /code-review command can be run locally in a terminal session without installing the GitHub App; it reports correctness bugs and can post inline PR comments with --comment. Also notes the command was previously named /simplify before v2.1.147. [line 23] [Source]
  • Updated "See also" section: replaced the "Plugins" link (with code-review plugin) with a "Commands" link pointing to the /code-review command for local diff checking before pushing. [line 260] [Source]

Sandboxing [Source]

  • Documented git worktree sandbox behavior: when the working directory is a linked git worktree, the sandbox allows writes to the main repository's shared .git directory so commands like git commit can update refs and the index; writes to hooks/ and config inside that directory remain denied. [line 177] [Source]

Tools Reference [Source]

  • Added documentation that shell aliases and functions defined in startup files are available in Bash tool commands: Claude Code sources ~/.zshrc, ~/.bashrc, or ~/.profile at session start and applies captured aliases, functions, and shell options to every Bash command. [line 109] [Source]

API changes

No significant changes today.