Changes on
4 changes detected
--- a/code-review.md
+++ b/code-review.md
@@ -15,6 +15,8 @@
* Pricing
* Troubleshooting failed runs and missing comments
+To review a diff locally in your terminal without installing the GitHub App, run the [`/code-review` command](</docs/en/commands>) in any Claude Code session. It reports correctness bugs in the current diff at a chosen effort level and can post findings as inline PR comments with `--comment`. The command was named `/simplify` before v2.1.147.
+
##
@@ -304,7 +306,7 @@
Code Review is designed to work alongside the rest of Claude Code. If you want to run reviews locally before opening a PR, need a self-hosted setup, or want to go deeper on how `CLAUDE.md` shapes Claude’s behavior across tools, these pages are good next stops:
- * [Plugins](</docs/en/discover-plugins>): browse the plugin marketplace, including a `code-review` plugin for running on-demand reviews locally before pushing
+ * [Commands](</docs/en/commands>): run `/code-review` in a local Claude Code session to check a diff before pushing
* [GitHub Actions](</docs/en/github-actions>): run Claude in your own GitHub Actions workflows for custom automation beyond code review
* [GitLab CI/CD](</docs/en/gitlab-ci-cd>): self-hosted Claude integration for GitLab pipelines
* [Memory](</docs/en/memory>): how `CLAUDE.md` files work across Claude Code
--- a/quickstart.md
+++ b/quickstart.md
@@ -69,13 +69,13 @@
Step 2: Log in to your account
-Claude Code requires an account to use. When you start an interactive session with the `claude` command, you’ll need to log in:
+Claude Code requires an account to use. Start an interactive session with the `claude` command and you’ll be prompted to log in on first use:
claude
- # You'll be prompted to log in on first use
+
+For Claude subscription or Console accounts, follow the prompts to complete authentication in your browser. To switch accounts later or re-authenticate, type `/login` inside the running session:
/login
- # Follow the prompts to log in with your account
You can log in using any of these account types:
@@ -83,7 +83,7 @@
* [Claude Console](<https://console.anthropic.com/>) (API access with pre-paid credits). On first login, a “Claude Code” workspace is automatically created in the Console for centralized cost tracking.
* [Amazon Bedrock, Google Vertex AI, or Microsoft Foundry](</docs/en/third-party-integrations>) (enterprise cloud providers)
-Once logged in, your credentials are stored and you won’t need to log in again. To switch accounts later, use the `/login` command.
+Once logged in, your credentials are stored and you won’t need to log in again.
##
--- a/sandboxing.md
+++ b/sandboxing.md
@@ -170,6 +170,7 @@
* **Default write behavior** : read and write access to the current working directory and its subdirectories
* **Default read behavior** : read access to the entire computer, except certain denied directories. Note that this default still allows reading credential files such as `~/.aws/credentials` and `~/.ssh/`. Add them to `denyRead` to block them.
* **Blocked access** : cannot modify files outside the current working directory without explicit permission, including shell configuration files such as `~/.bashrc` and system binaries in `/bin/`
+ * **Git worktrees** : when the working directory is a [linked git worktree](</docs/en/worktrees>), the sandbox also allows writes to the main repository’s shared `.git` directory so commands such as `git commit` can update refs and the index. Writes to `hooks/` and `config` inside that directory remain denied.
* **Configurable** : define custom allowed and denied paths through settings
You can grant write access to additional paths using `sandbox.filesystem.allowWrite` in your settings. These restrictions are enforced at the OS level, so they apply to all subprocess commands, including tools like `kubectl`, `terraform`, and `npm`, not just Claude’s file tools.
--- a/tools-reference.md
+++ b/tools-reference.md
@@ -111,6 +111,7 @@
* If `cd` lands outside those directories, Claude Code resets to the project directory and appends `Shell cwd was reset to <dir>` to the tool result.
* To disable this carry-over so every Bash command starts in the project directory, set `CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1`.
* Environment variables do not persist. An `export` in one command will not be available in the next.
+ * Aliases and shell functions defined in your shell startup file are available. At session start, Claude Code sources `~/.zshrc`, `~/.bashrc`, or `~/.profile` depending on your shell, captures the resulting aliases, functions, and shell options, and applies them to every Bash command.
Activate your virtualenv or conda environment before launching Claude Code. To make environment variables persist across Bash commands, set [`CLAUDE_ENV_FILE`](</docs/en/env-vars>) to a shell script before launching Claude Code, or use a [SessionStart hook](</docs/en/hooks#persist-environment-variables>) to populate it dynamically. Two limits bound each command: