docs: sync to Claude Code v2.1.235 (#174)

* docs: sync to Claude Code v2.1.235

Syncs the tutorial repo from v2.1.233 to v2.1.235, fixes a fabricated
plugin-command reference and a wrong lesson-quiz answer, closes translation
fan-out gaps, and documents six new features from v2.1.234/v2.1.235.

* docs(slash-commands): scope v2.1.234 dialog-command claims to the fullscreen TUI

The v2.1.234 changelog carries two separate entries: /permissions opening
mid-turn unconditionally, and the /add-dir, /autocompact, /theme, /help,
/config and /advisor dialogs opening mid-turn in the fullscreen TUI. The
sync flattened both into one unqualified bullet, so a reader on the default
renderer would find the described behavior absent.

Also corrects the CATALOG usage-limit auto-continue row, which described an
on-by-default feature as opt-in ("Enable via /config"); the changelog says
"turn it off in /config".

* docs(advanced-features): correct spellcheck value shape, default, and scope

settings.md documents `spellcheck` as object-valued
(`{"enabled": true, "language": "en_GB"}`) and read from user settings, the
--settings flag, and managed settings only; interactive-mode.md adds that it
is off by default and needs aspell, hunspell, or ispell on PATH. CATALOG told
readers to set a bare `"spellcheck": true`, and both settings tables sit under
preambles promising project-scope settings work, which for this key they do
not.

Also repoints CATALOG's hook-configuration example at pre-tool-check.sh; the
table rename left the example on validate-bash.py, which is not in 06-hooks/.

* docs(plugins): drop the unsupported claim that /plugin update does not exist

The sync asserted "Updating is CLI-only — there is no `/plugin update` slash
command". The plugins reference contradicts that: it refers to running
`/plugin update` twice in present tense (the cache-key section, and the
explicit-version row that says `/plugin update` reports "already at the
latest version"). The v2.1.235 binary carries no `/plugin update` string and
its own update notices point at `claude plugin update <name>` in a terminal,
so the sources conflict and neither absolute is safe to teach.

Recommends the CLI form on its documented merits instead of asserting a
negative. Mirrored to vi/ja/zh/uk and to the lesson-quiz Q8 explanation,
which taught the same false negative. Q8's correct answer is unchanged.

* docs(advanced-features): complete the v2.1.234 env-var fan-out and 04 TOC (#175)

The env-var block was still headed (v2.1.221-v2.1.233) and omitted both
variables v2.1.234 added: CLAUDE_CODE_PROJECT_DIR_NAME, which had reached
only 10-cli and CATALOG, and CLAUDE_CODE_GOAL_CHECKIN_MINUTES, which was in
prose and a CATALOG row but no env-var table.

Also adds the one missing 04-subagents TOC entry: Additional Resources was
the only H2 without one, leaving the reconciled TOC at 26 of 27 sections.
This commit is contained in:
Luong NGUYEN
2026-08-19 08:43:15 +02:00
committed by GitHub
parent deb7e5c710
commit da6e09e798
20 changed files with 173 additions and 103 deletions
+3 -2
View File
@@ -548,10 +548,11 @@ allowed-tools: Bash(npm *), Bash(git *)
---
**最后更新**: 2026 年 8 月 15
**Claude Code 版本**: 2.1.233
**最后更新**: 2026 年 8 月 19
**Claude Code 版本**: 2.1.235
**来源**:
- https://code.claude.com/docs/en/commands
**兼容模型**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
---
+13 -9
View File
@@ -824,7 +824,7 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
2. **查看插件详情:**
```bash
/plugin info plugin-name
claude plugin details plugin-name
```
3. **安装插件:**
@@ -847,13 +847,17 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
### 列出已安装插件
```bash
/plugin list --installed
/plugin list # 所有已安装插件
/plugin list --enabled # 仅已启用插件
/plugin list --disabled # 仅已禁用插件
```
### 更新插件
使用 CLI 形式 —— 这是 [`plugin update`](https://code.claude.com/docs/en/plugins-reference) 中记录的形式,也是有可用更新时 Claude Code 自身提示你使用的形式:
```bash
/plugin update plugin-name
claude plugin update plugin-name
```
### 禁用 / 启用插件
@@ -916,7 +920,7 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
- 验证 `plugin.json` 中的路径与实际目录结构一致
- 检查文件权限:`chmod +x scripts/`
- 检查组件文件语法
- 查看日志:`/plugin debug plugin-name`
- 查看组件清单:`claude plugin details plugin-name`
### MCP 连接失败
- 确认环境变量已正确设置
@@ -925,9 +929,9 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
- 查看 `mcp/` 目录中的 MCP 配置
### 安装后命令不可用
- 确认插件已成功安装:`/plugin list --installed`
- 检查插件是否已启用:`/plugin status plugin-name`
- 重启 Claude Code`exit` 后重新打开
- 确认插件已成功安装:`/plugin list`
- 检查插件是否已启用:`/plugin list --enabled`
- 确认是否已生效 —— 参见[安装方式](#安装方式)中的安装摘要说明:`Plugin is now active.` 表示无需其他操作,`Run /reload-plugins to activate.` 表示运行该命令即可(无需重启)
- 检查是否与现有命令冲突
### Hook 执行问题
@@ -948,8 +952,8 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
---
**最后更新**: 2026 年 8 月 15
**Claude Code 版本**: 2.1.233
**最后更新**: 2026 年 8 月 19
**Claude Code 版本**: 2.1.235
**来源**:
- https://code.claude.com/docs/en/discover-plugins
- https://code.claude.com/docs/en/settings