mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-12-03 02:03:31 +01:00
fix/260-example-plugins
38
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ac9ee17169 |
docs: make version stamps and Compatible Models footers true (#259)
Type: docs Makes the version stamps, Compatible Models footers and locale README badges say only what has been checked. Every claim below was checked against `https://code.claude.com/docs/en/<page>.md` or the raw changelog (2.1.303–2.1.322), not written from memory. ## Part A: English footers at 2.1.310 / 2.1.302 Each file's behavioural claims were checked against every changelog entry after its stamp, up to 2.1.322, and against the current docs. A stamp moves only when every claim checks out. | File | Claims checked | Fixes | Sources | New stamp | |---|---|---|---|---| | `INDEX.md` | ~75: AGENTS.md rule (v2.1.277); skill/agent/MCP install paths; `/mcp__github__list_prs`; 5 hook types, 33 events, task-tool model note; `--plugin-dir`; checkpoint menu (6 options); `/workflows`, ultracode (v2.1.284), size guideline; 6 permission modes; `/loop` and the cron tools; Chrome; Remote Control; `SendMessage`/`ListAgents`/`notify_when_idle`; CLI flags | 1. Workflow size: medium aims for fewer than 10 agents only since v2.1.271 (15 before), and the default is small on a Pro plan. 2. dontAsk: file reads inside the working directories also run, as do *most* calls a `permissions.allow` rule or a `PreToolUse` hook approves (neither can approve critical-path `rm`/`rmdir` or network-path reads), and an installed mod can approve some calls. No version is given: the changelog doesn't say when a mod's `tool.check` allow arrived (it is already referenced in 2.1.290, 2.1.292 and 2.1.299). 3. `SendMessage` also reaches sessions on other machines and in the cloud, from a session connected to Remote Control with a claude.ai sign-in; a cloud session can't answer with `SendMessage`. The L383 use-case column now says the same. 4. The `--model` list adds the Fable models. 5. Plan mode: "Read-only analysis" → researches and proposes, runs shell commands to explore, edits blocked until the plan is approved. | [workflows#set-a-size-guideline](https://code.claude.com/docs/en/workflows#set-a-size-guideline) ("The default is `medium`, or `small` when you're signed in on a Pro plan with Claude Code v2.1.271 or later"); CL 2.1.219 ("aim for fewer than 15 agents"), CL 2.1.271 ("lowered the medium size guideline from 15 to 10 agents"); [permission-modes](https://code.claude.com/docs/en/permission-modes#allow-only-pre-approved-tools-with-dontask-mode) ("a mod you installed can still approve some of those calls"; "Claude still runs … file reads inside your working directories and read-only Bash commands"; "It also denies the built-in `AskUserQuestion` tool even if your allow rules match it"; "An allow rule or `PreToolUse` hook can't approve these: Recognized `rm` and `rmdir` critical-path removals … Reads from a network path"); CL 2.1.292 ("Fixed a plugin's `tool.check` hook answering allow running a tool…"), CL 2.1.299 ("…that a `PreToolUse` hook or a mod's `tool.check` hook allowed"); [permission-modes#analyze-before-you-edit-with-plan-mode](https://code.claude.com/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) ("Claude reads files, runs shell commands to explore, and writes a plan, but does not edit your source. Except in interactive terminal sessions with bypass permissions available, edits stay blocked until you approve the plan."); [cross-session-messaging](https://code.claude.com/docs/en/cross-session-messaging) ("reach your sessions on other machines or in the cloud"; "from a session that is connected to Remote Control, which needs a claude.ai sign-in"; "A cloud session … can't use `SendMessage` to answer a message from another machine"); model-config. The "device card" line checked out against [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34). | **2.1.322** | | `LEARNING-ROADMAP.md` | 33 hook events / 5 types; 6 built-in subagents (Explore, Plan, General-purpose, claude, statusline-setup, claude-code-guide); 60+ commands (commands page has 121 rows); `/design` (v2.1.265); `/plan`, `/rewind`, `/loop 5m`, `/schedule`; 6 permission modes (Manual since v2.1.200); Alt+T; skill `effort`/`shell`; plugin `workflows`/`channels`/`dependencies`; agent-teams env var; `claude mcp add --transport http`; `-r`, `--max-turns`, `--output-format json`; all 17 source links resolve | 1. Remote Control: "generally available" → "out of research preview", the docs' own wording. 2. Extended thinking (L368, Exercise 3, checklist): Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models always use extended thinking, so the exercise uses `/effort` and scopes Alt+T / Option+T to models that allow turning thinking off. 3. Exercise 4: checkpoints are automatic and unnamed, so step 1 no longer creates a named "Clean state" checkpoint and step 5 says which one to `/rewind` to. | [whats-new/2026-w34](https://code.claude.com/docs/en/whats-new/2026-w34): "Any machine running `claude remote-control` now shows up as a device card at the top of the Code tab in the Claude app. Remote Control is also out of research preview."; [interactive-mode](https://code.claude.com/docs/en/interactive-mode): Alt+T "Has no effect on Opus 5.5, Sonnet 5.5, Haiku 5.5, or the Fable models, which always use extended thinking."; [model-config](https://code.claude.com/docs/en/model-config): "the effort level is the primary control for how much thinking happens"; [checkpointing](https://code.claude.com/docs/en/checkpointing): "Every prompt you send that starts a turn creates a new checkpoint" | **2.1.322** | | `resources.md` | Adaptive reasoning on Opus 4.7+, Sonnet 5+, Haiku 5.5 and the Fable models; permission modes; 33 hook events; `/loop` and cron; 7 memory tiers; Chrome; keybinding chords; Code Review; Monitor (2.1.98); `/goal` and `claude agents` (2.1.139); `--json` (2.1.145); all links | none needed | model-config, hooks, memory, agent-view, changelog | **stays 2.1.310**: L253 gives `/run`, `/verify`, `/run-skill-generator` as "(v2.1.145+)". Neither the changelog, the v2.1.145 release notes, the skills/commands docs nor the what's-new pages for weeks 19–22 give a version. | | `03-skills/claude-md/SKILL.md` | `name`/`description` frontmatter, `$ARGUMENTS`; CLAUDE.md locations and loading; "under 200 lines"; AGENTS.md gates (v2.1.277, v2.1.281), blocking files, `/config` Project instructions values and default; `@AGENTS.md`/symlink fallback; `.claude/agents/` | L196: the list of cases where AGENTS.md isn't read now includes a disabled built-in plugin, and limits the upgrade case to "in some cases" after upgrading from v2.1.276 or earlier | [memory#when-agents-md-support-is-unavailable](https://code.claude.com/docs/en/memory#when-agents-md-support-is-unavailable): "You used `/plugin` to disable the built-in plugin that reads `AGENTS.md`"; "In some cases, it's your first session after you upgrade from v2.1.276 or earlier" | **stays 2.1.302**: no primary source states L24 ("~150-200 instructions", "system prompt already uses ~50") or L214 (the system reminder says CLAUDE.md "may or may not be relevant") | | `07-plugins/devops-automation/README.md` | `--plugin-dir` install; commands; agents; hooks; MCP; workflow; source URLs (all 200) | none: the stale claims need a design decision (below) | [plugins/components](https://code.claude.com/docs/en/plugins/components): "Save a command at `commands/<file>.md` and it becomes `/<plugin>:<file>`"; [plugins-reference](https://code.claude.com/docs/en/plugins-reference) standard layout: "Hooks \| `hooks/hooks.json`", "MCP servers \| `.mcp.json`" | **stays 2.1.302**: bare `/deploy`, `/rollback`, `/status` (`/status` is also a built-in), `/incident`; `hooks/*.js` are never registered (no `hooks/hooks.json`); `mcp/kubernetes-config.json` never loads (no `.mcp.json` or `mcpServers`) | | `07-plugins/documentation/README.md` | same | none | same | **stays 2.1.302**: bare command names; `mcp/github-docs-config.json` never loads, so the `GITHUB_TOKEN` setup has no effect | | `07-plugins/pr-review/README.md` | same | none | same | **stays 2.1.302**: bare command names; `hooks/pre-review.js` is not registered; `mcp/github-config.json` never loads | No changelog entry from 2.1.303 to 2.1.322 touched the plugin READMEs or SKILL.md. Their problems predate the stamps, and #209 already listed the hook/MCP files that never load. **Locale copies:** the same factual fixes went into every locale with the same sentence. That's dontAsk and plan mode in all six INDEX files; workflow size in fa and ko; `SendMessage` and the use-case column in fa and ko; the `--model` list in fa and ko; "generally available" in fa and ko LEARNING-ROADMAP; the extended-thinking exercise/checklist and the checkpoint exercise in all six LEARNING-ROADMAP copies; the AGENTS.md cases in all six SKILL.md copies. Locale stamps were not bumped. INDEX and LEARNING-ROADMAP stay at 2.1.310 in every locale, and the SKILL.md copies keep their footers. ## Part B: Compatible Models footers The new list is **Claude Fable 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, Claude Haiku 4.5**. It is used on root docs and module pages alike, and it's the README FAQ's list, so the footers and the FAQ no longer disagree. Why one list for both file types: STYLE_GUIDE's footer rule ("List all compatible models") applies to both. A shorter "current models only" list on module pages would break that rule. Justification from [model-config](https://code.claude.com/docs/en/model-config): - **Current models:** "| Anthropic API | Opus 5.5 | Sonnet 5.5 | Haiku 5.5 |"; "the `fable` alias resolves to Fable 5 in Claude apps gateway sessions and to Fable 5.2 everywhere else"; "Fable 5.2 requires Claude Code v2.1.321 or later". - **Older models still in use:** - "**Fable 5.1 or Fable 5**: select it by model ID." - "| Claude Platform on AWS | Opus 5.5 | Sonnet 4.6 | Haiku 4.5 |". - "biology-flagged requests re-run on Opus 5, and cybersecurity-flagged requests re-run on Opus 4.8". - "**Sonnet 5.5**: cybersecurity-flagged requests re-run on Sonnet 5." - **None are retired.** The [models overview](https://platform.claude.com/docs/en/about-claude/models/overview) that model-config links marks only Opus 4.1, Opus 4 and Sonnet 4 as "retired". All eleven listed models appear there without that mark. Scope: 336 lines in 331 files. The changed lines are the `**Compatible Models**` lines (92, some of them in locale files) and every localized label (`호환 모델`, `مدلهای سازگار`, `Các Mô Hình Tương Thích`, `Сумісні моделі`, `対応モデル`, `互換モデル`, `兼容模型`), plus the italic `*対応:…*` / `*Для …*` / `*适用于 …*` lines in the ja/uk/zh concepts guides. Labels, separators (`, ` `、` `، `) and locale stamps are unchanged. The README FAQ lines and the 05-mcp `tool_reference` note are not footers and were left alone. The footer lines of `CHANGELOG.md`, `fa/CHANGELOG.md` and `ko/CHANGELOG.md` also carry the new list; only the footer line changed, not the entries. ## Part C: locale README badges Real state: the newest version that most (more than half) of the locale's ten module READMEs carry or exceed, backed by the sync commit that brought them there. A badge is marked **(partial)** when one or more of the locale's module READMEs has no version footer (never synced since its first translation), or when the locale is a condensed translation. A module synced to an older version than the badge doesn't make it partial on its own; the majority rule above already covers that. Only zh meets the rule (02-memory and 05-mcp have no footer, and #247 calls zh condensed). | Locale | Old badge / "latest" | Evidence | New | |---|---|---|---| | ja | 2.1.119 (badge, "latest", FAQ) | module footers: 3×2.1.322, 5×2.1.316, 1×2.1.310, 1×2.1.302; 8/10 ≥ 2.1.316 (#230); #247 carried only the sections ja has | **2.1.316** (Oct 2026) | | uk | 2.1.112 (FAQ line; no badge) | 3×2.1.322, 4×2.1.316, 1×2.1.310, 2×2.1.302; 7/10 ≥ 2.1.316 (#230) | **2.1.316** (Oct 2026) | | zh | 2.1.112 (badge, "latest", FAQ) | 2.1.316, 2.1.310 ×2, 2.1.302 ×2, 2.1.300 ×2, 2.1.278; 02 and 05 have no footer (untouched since the first translation); 7/10 ≥ 2.1.300 (#193); #247 was "condensed", model lists only | **2.1.300 (partial)** (Oct 2026): the badge, "latest" and FAQ lines say zh is condensed and that 02-memory and 05-mcp haven't been synced since the April 2026 translation | | ko | 2.1.310 | 5×2.1.322, 5×2.1.310; #228 synced ko to 2.1.310, and #247 says 2.1.316 "was not backfilled" | **2.1.310** (unchanged) | | fa | 2.1.310 | 5×2.1.322, 5×2.1.316; #241 "syncs the translation from v2.1.310 to v2.1.316"; #247 carried only the 2.1.322 P1 changes | **2.1.316** (Oct 2026) | | vi | none (README has no badge or version line) | 4×2.1.322, 6×2.1.316 | no change | Months come from the docs changelog: 2.1.300 was released October 14, 2026 and 2.1.316 October 31, 2026. The README *footers* in fa/ja/ko/uk/zh stay at 2.1.322: #247 checked those files themselves, while the badge describes the whole locale. ## Deliberately left - **Stamps not bumped:** `resources.md` (2.1.310), `03-skills/claude-md/SKILL.md` and the three plugin READMEs (2.1.302), for the reasons in the Part A table. - **Example plugins:** the fix is a design choice between wiring up `hooks/hooks.json` / `.mcp.json` and rewording the READMEs, and renaming commands to `/<plugin>:<name>` touches seven languages plus `07-plugins/README.md` (bare `/review-pr`). It needs a follow-up issue. - **Same unverifiable version elsewhere:** `03-skills/README.md` also said `/run-skill-generator` is v2.1.145+. Handled by #262, now merged into this branch from `main`. - **Older `--model` lists:** ja/uk/vi/zh INDEX have pre-5.x lists (e.g. "Sonnet 4.6, Opus 4.7, Haiku 4.5"). That isn't the English sentence, so it belongs to a locale sync. ## Follow-ups - **LEARNING-ROADMAP `/effort` line (review r3 N13):** line 368 can read as if `/effort` applies only to the models that always use extended thinking; per model-config's effort table it also works on Opus 5, Sonnet 5 and Opus 4.8. Not wrong; clarify in the next pass. - **Compatible Models scope (review S3):** Opus 4.6 is Microsoft Foundry's current `opus`, and Sonnet 4.5 is the current `sonnet` on Bedrock, Google Cloud's Agent Platform and Foundry (deprecated, retiring Nov 30, 2026), per model-config's alias table. Both are still in use, so either add them to the FAQ and every footer (Sonnet 4.5 marked deprecated), or define the list's scope in STYLE_GUIDE (e.g. the models the aliases resolve to on the Anthropic API plus older models in active use) and cite the deprecations table. - **Model order (review N8):** the list puts Opus 4.8 after Sonnet 4.6. Grouping by family (Fable, Opus 5.5/5/4.8, Sonnet, Haiku) would read better; the order is shared by STYLE_GUIDE, the FAQ and every footer, so change it everywhere at once. - **Example plugins:** the follow-up issue proposed above. ## Validation - `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid pre-commit run --files <338 changed files>`: every hook passes, including link-check (246 URLs per language). The Mermaid hooks can't install here (`language: node must have package.json or additional_dependencies`, the same failure #247 reported). `python scripts/check_mermaid.py --strict` was run directly instead: Pele 1.6.0 rendered all 416 blocks. - `python scripts/check_cross_references.py`: all valid (674 files). - Review fix round 1 (18 files): the same `pre-commit run --files` passes every hook (Mermaid hooks skipped as above; no Mermaid block was touched), and the cross-reference check is still valid after merging `main`. - Review fix round 2 (14 files: the extended-thinking wording in all 7 LEARNING-ROADMAP files, the dontAsk line in all 7 INDEX files): `pre-commit run --files` passes every hook (Mermaid hooks skipped; no Mermaid block touched), and the cross-reference check is valid (674 files) after merging `main` again (#257). - Pre-push secret scan: it flagged `06-hooks/README.md:1683` (en, fa, vi), a false positive. The `sk-…{20,}` pattern matches the docs anchor `hooks#pretooluse-ask-decisions-in-auto-mode`, which has been on `main` since |
||
|
|
b5548c6b9f |
docs: sync to Claude Code v2.1.322 (#247)
Type: docs Syncs the tutorial, its translations and root docs to **Claude Code 2.1.322** (previous sync: v2.1.316, #230). The audit covered every changelog entry for 2.1.317, 2.1.318, 2.1.319, 2.1.321 and 2.1.322, plus the official docs pages for each affected feature. npm `latest` is 2.1.322. 49 files changed (46 in the sync commit, plus `fa/` and `ko/03-skills` in review round 1 and `ko/claude_concepts_guide.md` in round 3). P0 0 · P1 15 · P2 6 (deferred) · P3 30 + 1 blocked · P4 3. ## P1: outdated claims (mirrored to translations) - **Fable 5.2 (v2.1.321).** The `10-cli` model table gains a Fable 5.2 row (1M context, default effort `medium`), and Fable 5.1 becomes the previous model. - The Fable alias note now says `fable` resolves to Fable 5.2 (Fable 5 in Claude apps gateway sessions). - `best` now resolves to the same model as `opus`. - A saved `claude-fable-5-1` pick moves to `fable` on Pro/Max/Ultra, and on Team/Enterprise when the organization's settings allow. - Pricing: $8/$40 per Mtok, with $0.20 per Mtok cache reads. - The FAQ and QUICK_REFERENCE model lists name Fable 5.2. - **Fast mode on Fable 5.2 (v2.1.321, $16/$80):** added to `/fast` in `01-slash-commands`, CATALOG, the `10-cli` fast-mode note and the `CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE` row. - **`ultrathink`** now lists Fable 5.2 in `09`, `10-cli` and `claude_concepts_guide`. - **Scheduled tasks (`09`)**: - Recurring tasks expire after 7 days, not 3. - Tasks are restored on `--resume`/`--continue`, except expired tasks, past-due one-shots and a self-paced `/loop`. - Recurring jitter is "up to half the gap, at most 30 min" (`*/5` isn't delayed). - One-shots scheduled for `:00`/`:30` run up to 90 s early. - **Subagent and teammate effort (v2.1.317):** on a different model they use that model's saved effort or its default, not the session's (`04-subagents`, `10-cli`). - **`switchModelsOnFlag` (v2.1.318):** subagents never pause. With "Ask each time", a flagged subagent request fails instead of switching models. - **Background commands:** the default limit is 10 minutes in a `-p` run whose prompt is passed as text (the fix is in v2.1.321). - **Mods Claude writes (v2.1.321):** in `auto`/`bypassPermissions` they turn on without asking. They don't load in `dontAsk` or in `-p` outside those modes. ## P3: additions (English only) - **`01-slash-commands`:** - `/model` "More models" row (v2.1.319/321). - `/context` sends Claude only the table. - `/ide` no longer installs the extension from an IDE terminal (v2.1.318). - `/tasks` "Earlier in this session". - `/claude-api latency-optimize`, also added in `03-skills`, CATALOG and the concepts guide. - **`03-skills`:** two new limits on nested-skill loading: under the Bash sandbox (v2.1.319), and `.claude/skills` inside `~/.claude/plugins` (v2.1.321). The skills docs page doesn't list these exceptions yet; the source is the changelog. - **`04-subagents`:** background subagents move a shell command to the background after 3 min, and `SendMessage` reaches a busy background agent sooner. - **`06-hooks`:** - Agent SDK `onFailure: "block"` / `on_failure="block"`. - An `mcp_tool` hook refuses the call when it can't read the answer (>16 MiB). - `defer` works only with a single tool call; `tool_deferred_unavailable` and `CLAUDE_CODE_DROP_UNAVAILABLE_DEFERRED_TOOL`. - PostToolUse runs after a `Ctrl+Enter` interrupt (10 s). - **`07-plugins`:** - `$.model.fork` `effort` and `prompt.submit` in the user turn. - `${CLAUDE_PLUGIN_ROOT}` in `subagentStatusLine`. - Plugin updates install new dependencies. - Managed `extraKnownMarketplaces` take-over rules. - **`08-checkpoints`:** `/rewind` after `/branch` (fixed in v2.1.319). - **`09-advanced-features`:** - `/tasks` row. - Background command notifications show only the start and end of a command over 1,000 characters. - `claude remote-control --settings <file>`, and sessions keep their folder. - OTel `anthropic.plan`, `anthropic.seat_type`, `anthropic.provider`, `anthropic.custom_base_url`. - Three v2.1.319 trust-hardening items. - Auto-mode `-p` exits 1 when no safety check was available. - Monitor WebSocket watches follow Bash rules. - **`10-cli`:** - Fast mode on Google Cloud's Agent Platform: Fable 5.2 only, regions `global`/`us`/`eu`, v2.1.322. - `claude auth status` `loginExpiresAt`. - `claude -p` `credential_expires_at` and the 10-day stderr warning. - Bash permission hardening: `which` with flags, `timeout` wrappers, exact ask vs. broader deny, `cp`/`mv` by path. - Agent view `--agent` dispatch default. - `MCP_PROTOCOL_NEGOTIATION` 7-day skip. - New rows for `CLAUDE_CODE_DISABLE_FEATURE_FLAGS`, `CLAUDE_CODE_DISABLE_NESTED_SESSION_ID` and `permissions.denyInsteadOfPrompting`. ## P4: cosmetic - Root `README.md`: the version badge, "latest" line and "Current version" line now say v2.1.322 / November 2026. - `10-cli`: the resume hint repeats launch flags (v2.1.317). - `08-checkpoints`: directory symlinks are no longer followed by rewind (v2.1.319). Every file the sync commit changed has a refreshed footer: November 12, 2026 and 2.1.322, with localized labels and dates in translations. `fa/03-skills` and `ko/03-skills` got only the S1 `effort` row fix in round 1, and their footers were left as they were (2.1.316 and 2.1.310), because the rest of those files was not synced to 2.1.322. For the same reason, `ko/claude_concepts_guide.md` got only the round-3 Fable rows and keeps its 2.1.310 footer. ## Translation coverage - **vi, ko, fa:** carry every P1 change whose text exists in that locale. - **ja, uk:** carry the P1 changes to the sections they have: `ultrathink`, scheduled tasks, the `effort` row and QUICK_REFERENCE; the README FAQ in ja and uk. - **zh:** condensed. Only the stale model lists were fixed (README FAQ, QUICK_REFERENCE). zh has no model table, fast-mode note, scheduled-tasks section or `effort` row. - **`vi/README.md`:** has no FAQ, so Task 2.9 had nothing to change there. - **ko is partly stale from before this run.** Its module footers were still at 2.1.310, and some 2.1.316 content is missing, such as the `CLAUDE_CODE_SUBAGENT_EFFORT` sentence and `env` row. This PR adds the 2.1.322 P1 changes but does not backfill 2.1.316. - **Locale README stamps:** the ko and fa READMEs still show v2.1.310 in their badge and "latest" lines. Each locale tracks its own sync state, so they were left as they are. - **P3 additions are English only.** ## Review round 1 fixes (`docs: address review of v2.1.322 sync`) Each change was checked again against model-config, env-vars, skills or the raw changelog before it was written. - **S1:** the `03-skills` `effort` row and the `01` `/effort` row now list Fable 5.2, and give it a `medium` default. The `/effort` row also gives `high` for Fable 5.1 and Fable 5 (model-config: "Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 default to `medium`… Other models in the effort levels table default to `high`"). Also changed in fa and ko. - **S2:** `09` `remote-control --settings`: "If the file changes, no new session starts until you restart `claude remote-control`" (CL 2.1.321). English only. - **S3:** the `10-cli` `claude agents` note now names the five flags from CL 2.1.321. English only. - **S4:** the `03-skills` nested-skill exceptions are now attributed to the changelog in the text: "The changelog adds two exceptions that the skills docs don't list yet". English only. - **S5:** the `CLAUDE_CODE_DISABLE_FEATURE_FLAGS` row now says that with the variable set, Remote Control and the other features that need feature-flag fetching are unavailable (env-vars). English only. - **S7:** wrong effort claims removed from sentences this PR rewrote: - `ja/09` and `uk/09` now translate the English effort-level, `xhigh` and default lists. - In `ja/10-cli` and `uk/10-cli`, the false "`max` is exclusive to Opus 4.x" clause is dropped. The English sentence has no such clause. - **N1:** "from v2.1.257 until v2.1.321" in `10-cli`, fa, ko and vi. - **N2:** the `/context` row now says the 10-row limit applies to the table Claude reads. No locale has this row text. - **N4:** the Fable models were added to the `09` effort-level, `xhigh` and default lists in en, fa, ko and vi (ja and uk via S7). In `claude_concepts_guide`, Fable 5.2, 5.1 and 5 rows were added to the model/effort table, and the Fable models to its `xhigh`/`max` note, in en and fa. - **N5:** the `CLAUDE_CODE_SUBAGENT_EFFORT` row now says only what CL 2.1.317 says: a subagent on a different model from the main conversation uses that model's saved effort level or its default, instead of the session's. The old wording said such a subagent "never inherits". How the variable ranks against that rule isn't stated by any source. Also changed in fa and vi; ko has no row. - **N8:** "where Fable is available" was restored to the pre-v2.1.321 `best` behaviour, in en, fa, ko and vi. ## Review round 2 fixes (`docs: add Fable models to the effort-level bullet in 09`) - Added the Fable models to the `09` "Opus 5 / Opus 4.8" effort bullet (en, fa, ko, vi): Fable 5.2 defaults to `medium`, Fable 5.1 and Fable 5 to `high`, and all of them support `xhigh` and `max`. - Added the Fable models to the en `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row. ## Review round 3 fixes (`docs: align model and effort lists with model-config (v2.1.322 sync)`) The model and effort lists changed in this round now match model-config.md (effort table, default-effort rule and 1M list, re-fetched before editing). The lists still behind are under Follow-ups. - **en (R2-S1):** the Fable models were added to the remaining `09` effort lists (the "Effort level" heading line and three `CLAUDE_CODE_EFFORT_LEVEL` code comments) and to the `10-cli` "Effort Levels" paragraph and its code comment. The paragraph now gives Fable 5.2 a `medium` default, matching the model table above it. - **fa, ko, vi (R2-S1, R2-S2):** mirrored the same lines, and brought the `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row in line with en. `ko/claude_concepts_guide.md` gains the Fable 5.2, 5.1 and 5 rows, and its `xhigh`/`max` note names the Fable models, as in en and fa. - **ja, uk (R2-S2, R2-S3):** removed the false "`xhigh` is Opus 4.7-only" and "`max` is Opus 4.7/4.6-only" claims from `09` and `10-cli`. The support and `xhigh` lists now match model-config, and the model lists in the `CLAUDE_CODE_EFFORT_LEVEL` row are translated from en. - **ja, uk `04-subagents` (R2-S4):** the `effort` row and the frontmatter comment now list `xhigh`. - **Haiku 4.5 context (R2-N2, factual part only):** `uk/10-cli` listed Haiku 4.5 at 1M tokens. It's now 200K, matching en `10-cli` and model-config's 1M list, which doesn't include Haiku 4.5. The same cell in `ja/10-cli` was fixed too. - Merged `main` (#246, scripts only). ## Learner skills No changes landed. Three edits are pending because writes to `.claude/skills/**` were refused by the permission system in this run: - `lesson-quiz` `question-bank.md` Lesson 09 Q5 explanation: add Fable 5.2 to the `ultrathink` model list (P1). - `self-assessment` `topic-recommendations.md` and its `SKILL.md` mirror, Advanced Features focus line: same change (P1). - Lesson 04 Q10 explanation: optional `/tasks` "Earlier in this session" note (P3). No correct answer letter changes, and all 100 `Review` pointers still resolve. Exact text for the follow-up (from the round-1 review, §6): 1. `.claude/skills/lesson-quiz/references/question-bank.md:718` (Lesson 09 Q5, Explanation): - old: ``Since v2.1.311, typed in the interactive terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.1 through Anthropic's API, it also runs that turn at `xhigh` effort,`` - new: ``Since v2.1.311, typed in the interactive terminal on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2 (v2.1.321+), or Fable 5.1 through Anthropic's API, it also runs that turn at `xhigh` effort,`` 2. `.claude/skills/self-assessment/SKILL.md:351` **and** `.claude/skills/self-assessment/references/topic-recommendations.md:73` (identical lines): - old: ``and the `ultrathink` keyword, which runs that turn at `xhigh` effort on Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 (v2.1.311+)`` - new: ``and the `ultrathink` keyword, which runs that turn at `xhigh` effort on Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.2, and Fable 5.1 (v2.1.311+; Fable 5.2 needs v2.1.321+)`` 3. Version bumps: `lesson-quiz/SKILL.md` `version: 1.6.4` → `1.6.5`; `self-assessment/SKILL.md` `version: 2.5.7` → `2.5.8`. 4. Footer stamps: `question-bank.md` and `topic-recommendations.md`, 2.1.316 → 2.1.322. Optionally add `https://code.claude.com/docs/en/model-config#use-ultrathink-for-one-off-deep-reasoning` to Sources; it is already listed in both. 5. Optional (P3): Lesson 04 Q10 explanation, a note on the `/tasks` "Earlier in this session" row. It changes no letter. ## Needs maintainer decision (P2, not applied) 1. **Self-paced `/loop` ending.** - Repo: says nothing about how a no-interval `/loop` ends. - Docs: "If an iteration ends without either rescheduling or stopping, Claude Code schedules one fallback wakeup about 20 minutes later". - Changelog 2.1.319: self-paced `/loop` now ends "instead of scheduling a fallback wakeup; set `CLAUDE_CODE_LOOP_KEEPALIVE=1` to keep the old behavior". - https://code.claude.com/docs/en/scheduled-tasks#stop-a-loop 2. **Auto mode with telemetry or feature flags off.** - Repo (`10-cli` `CLAUDE_CODE_AUTO_MODE_SERVER` row, `09`): "Set to `0` to use Claude Code's own auto-mode classifier requests instead of server-side review". - Docs: when the review is dropped, "Claude Code falls back to its own classifier requests". - Changelog 2.1.319: calls the server can't check "are asked about or denied, with no fallback to the built-in classifier". - https://code.claude.com/docs/en/permission-modes#server-side-classifier-review 3. **MCP tasks.** - Repo (`05-mcp`): public beta since v2.1.304, needs feature-flag fetching (not Bedrock, Vertex, Foundry or telemetry off). - Docs: same. - Changelog 2.1.319: terminal support moves tasks to the background, works without feature-flag fetching, and adds `CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND` and `CLAUDE_CODE_DISABLE_MCP_TASKS`. The second variable is only in the changelog. - https://code.claude.com/docs/en/mcp#mcp-tasks-that-run-on-the-server 4. **`deniedMcpServers` URL entries.** - Repo (`05-mcp`): "`serverUrl` | A remote server URL, exact or with `*` wildcards". - Changelog 2.1.318: URL entries also block Anthropic-provided servers and cloud-session connectors. - Docs: "a `serverUrl` pattern written for the connector's own URL doesn't match it". - https://code.claude.com/docs/en/mcp#how-connectors-reach-claude-code 5. **`CLAUDE_CODE_PLUGIN_DIR_WATCH`.** - Repo (`07-plugins`): has only a generic hot-reload note. - Changelog 2.1.321: headless sessions now reload `.claude/skills` mods, and `=0` turns this off. - Docs: reloading covers `--plugin-dir` mods, is on in interactive sessions, and "Set to `1` to turn it on in non-interactive sessions". - https://code.claude.com/docs/en/env-vars#variables 6. **Mods' own tool calls.** - Repo (`07-plugins`): says nothing about prompting. - Changelog 2.1.321: `$.tool.call` and `$.mcp.call` "raise no permission prompt, even under your own ask rules". - Docs: "`$.mcp.call` | Calls a tool on a connected MCP server, under the session's permission rules". - https://code.claude.com/docs/en/plugins/mods/admin#review-what-a-mod-can-do ## Follow-ups (separate PRs) - **Stamps only (review N3 + N6):** add Fable 5.2 to the "Compatible Models" footers (88 lines; root files still list Fable 5.1 as newest, and module files lack Opus 5.5, Sonnet 5.5 and Haiku 5.5). Align the locale README badges and "latest" lines: ja 2.1.119, zh and uk 2.1.112, ko and fa 2.1.310. - **ko catch-up sync (review N7):** backfill 2.1.316 in ko: the Opus 4.8 fast-mode deprecation, the `CLAUDE_CODE_SUBAGENT_EFFORT` sentence and row, and the v2.1.311 `ultrathink` model list. - **Learner skills (review S6):** apply the exact text under "Learner skills" above once `.claude/skills/**` is writable. - **"Effort Levels (…)" headings (review R2-N1):** `10-cli` and its locale copies name only some models in the heading. They were left unchanged because renaming them changes the anchors. - **Opus 4.6 row (R2-N4):** `claude_concepts_guide.md` (and fa, ko) has no Opus 4.6 row, but the note below the table mentions it. The Sonnet 4.6 row's "1M tokens" also needs the `[1m]`-variant qualifier. - **`high`-default lists (R2-N5):** the `01` `/effort` row and the `10-cli` `CLAUDE_CODE_EFFORT_LEVEL` row (and their locale copies) leave Opus 4.6 and Sonnet 4.6 out of the `high` default. - **ja/uk/zh/vi effort catch-up (R2-N6):** the `/effort` rows in `ja/01`, `uk/01`, `zh/01` and `vi/01` still say `max` needs Opus 4.7 or Opus 4.6. `ja/claude_concepts_guide.md:3061` has an Opus 4.7-era table. - **uk/ja `10-cli` model tables (rest of R2-N2):** `uk/10-cli` `--effort` lacks `xhigh`, its model table is Opus 4.6-era (and Opus 4.6 / Sonnet 4.6 reach 1M only through `[1m]`), and it says "Opus 4.6 підтримує…". The `ja/10-cli` model table is Opus 4.7-era. - **`06-hooks` context-limit comment:** the `CONTEXT_LIMIT` comment's 1M list leaves out the Fable models and Opus 4.7, and lists Sonnet 4.6, which reaches 1M only through `[1m]` (also in fa, ko and vi). This predates the PR. - **ja/uk stale model lists:** `ja/09:228` and `uk/09:220` ("all models (Opus 4.7/4.6, Sonnet 4.6, Haiku 4.5)"), and `ja/10-cli:717-719` (the "Opus 4.7" heading and paragraph, the counterpart of en `10-cli:853`). In ja and uk, the 2.1.322 stamp covers the sections those files have; these older lists are tracked here. ## Validation `pre-commit run --all-files` passes: markdown-lint, cross-references, link-check (247 URLs) and markdown-rendering in all five hooked languages, plus the Python checks. The Mermaid hooks were skipped with `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid` because their `language: node` environment fails to install under pre-commit 4.7.0. `python scripts/check_mermaid.py --strict` was run directly instead: Pele rendered all 416 blocks. The pre-edit baseline was also all green. For the round-1 fixes, `pre-commit run --files` on the 20 changed files passes, with the same Mermaid SKIP; the `language: node` install error was reproduced. `check_mermaid.py --strict` (416 blocks) and `check_cross_references.py` (675 files) also pass. For round 3, pre-commit on the 15 changed files passes, with the same Mermaid SKIP. `check_cross_references.py` (676 files after the merge), `check_mermaid.py --strict` (416 blocks) and `pytest scripts/tests/` (234 passed, after merging #246) also pass. ## Sources - https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md (2.1.317–2.1.322) and https://code.claude.com/docs/en/changelog - https://www.npmjs.com/package/@anthropic-ai/claude-code - https://code.claude.com/docs/en/model-config - https://code.claude.com/docs/en/fast-mode - https://code.claude.com/docs/en/scheduled-tasks - https://code.claude.com/docs/en/remote-control - https://code.claude.com/docs/en/errors - https://code.claude.com/docs/en/settings-reference#permissions-denyinsteadofprompting - https://code.claude.com/docs/en/env-vars - https://code.claude.com/docs/en/hooks - https://code.claude.com/docs/en/agent-sdk/hooks - https://code.claude.com/docs/en/tools-reference - https://code.claude.com/docs/en/plugins/mods/create - https://code.claude.com/docs/en/plugins/org - https://code.claude.com/docs/en/skills - https://code.claude.com/docs/en/commands - https://code.claude.com/docs/en/vs-code - https://code.claude.com/docs/en/agent-view - https://code.claude.com/docs/en/mcp - https://code.claude.com/docs/en/permissions - https://code.claude.com/docs/en/permission-modes - https://code.claude.com/docs/en/cli-reference |
||
|
|
11b2ae302a |
docs: sync to Claude Code v2.1.316 (#230)
Type: docs ## Summary Syncs the tutorial, its vi/ja/zh/uk translations, and the two learning skills to **Claude Code 2.1.316** (previous sync: v2.1.310, #209). The audit covered the 2.1.311–2.1.316 changelog (Oct 26–31, 2026), the 151 official docs pages that changed since Oct 26, and news since then. 45 files changed. By priority: P0 3 · P1 41 · P2 5 · P3 33 (3 more deferred) · P4 8. ## Notable fixes - **Broken example (P0):** the `10-cli` CI review example used `--max-turns 1`. The final reply now counts as a turn, so the run ends with `error_max_turns` before writing a review. It now uses `--max-turns 5` (EN + vi/ja/uk). - **Learning skills (P0):** the lesson-quiz L09 Q5 explanation said `ultrathink` never changes the effort level, and a self-assessment checkpoints line said outside edits are never touched by a restore. Both are corrected. No graded answer changed, and all 100 `Review` pointers still resolve. Versions bumped: lesson-quiz 1.6.4, self-assessment 2.5.7. - **Ultra plan:** Max 20x was renamed Ultra on Oct 30, 2026, so Ultra is added to every Pro/Max plan list. - **Plugins:** examples move off the deprecated `claude-code-plugins` demo marketplace to `claude-plugins-official`. - **Models and effort:** - Opus 4.8 fast mode is marked deprecated (removal Nov 30, 2026). - `ultrathink` now raises its turn to `xhigh`. - Effort precedence, `auto`/`unset`, and skill `effort` scope are updated. - **Behavior changes:** - Idle compaction runs after "about an hour". - Critical-path `rm` adds `CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS`, and the `DISABLE_DANGEROUS_RM_TIMEOUT` description is fixed. - The `/permissions` tab is now "Recently blocked". - Up to 24 prompt/agent hooks run at once. - Blocked agent-team tasks can still be assigned. - A checkpoint restore can overwrite outside edits to files the session edited. - An npm 12 postinstall caveat is added. - The Desktop worktree claim is fixed. - **Changelog-vs-docs conflicts (P2):** `safety_event` is no longer sent, subagent `autoCompactWindow`, subagent token cost, CLAUDE.md "architecture" advice, and the `bypassPermissions` wording. Every changed file has a refreshed footer (Nov 1, 2026 / 2.1.316, with localized labels in translations). ## Not in this PR - Deferred P3s: mods render-failure note, a duplicate env-var group in `09`, `permissions.blockWritesOutsideWorkingDirectories` (not in the official docs yet). - `**Compatible Models**` footers still list no 5.5 models. That is a repo-wide convention left for a separate decision. ## Validation `pre-commit run --all-files` cannot start on the authoring machine because `python3.11` is not installed. I ran it with a config copy pinned to `python3.12`, plus `scripts/check_mermaid.py --strict`: - Every hook passed. - 254 external URLs are reachable. - Pele rendered all 286 Mermaid blocks. The baseline before the edits was also all green. 🤖 Generated with [Claude Code](https://claude.com/claude-code) |
||
|
|
ba721a3abc |
docs: sync to Claude Code v2.1.310 (#209)
Type: docs ## Summary Syncs the tutorials, translations, and learning skills from Claude Code v2.1.302 to **v2.1.310**: the 2.1.303–2.1.310 changelog plus the official docs pages reworded since Oct 18. 64 files: English 17, ja 13, uk 12, vi 10, zh 7, learning skills 5. **Breaking (P0)** - `claude ultrareview` CI example: needs workspace trust since v2.1.309, so the copy-paste step always failed. It now passes `--trust-workspace`, and the exit-code note is corrected (1 = failed or untrusted, not "findings reported"). - Quiz Lesson 08 Q4 graded an answer that said all Bash file changes escape checkpoints. Rewritten per the current rule: files Claude already edited are restored even after later Bash changes; `sed -i` counts as Bash since v2.1.309. `Correct` stays B. **Outdated (P1)** - Tool search is on behind a custom `ANTHROPIC_BASE_URL` gateway since v2.1.304 (05-mcp said the reverse; 10-cli said off on Vertex). - Fork mode is on everywhere since v2.1.302; `CLAUDE_CODE_FORK_SUBAGENT=0` turns it off. A plan-mode parent keeps subagents in plan mode; teammate plans are auto-approved. - `claude -p` / Agent SDK runs with no permission mode start in Manual mode and deny calls that need approval. - Routines are now "cloud scheduled tasks (formerly routines)"; `/loop` tasks are session-scoped. - Checkpoints: Bash changes to already-edited files are tracked; subagent edits to those files are restored. - `axScreenReader` is honored only from user, managed or `--settings` files since v2.1.305. - Hooks `"defer"` ends the turn and works only with `-p`. - Managed CLAUDE.md can't be skipped with `claudeMdExcludes`, but a session with CLAUDE.md loading off skips it; on-demand CLAUDE.md/rules files are truncated past a per-file limit since v2.1.309. - `CLAUDE_CODE_AUTO_MODE_MODEL=claude-sonnet-5-5` was silently ignored; now `claude-sonnet-4-6`. Desktop PR toggles renamed **Auto-fix** / **Merge when ready**. **Conflicts resolved (P2)** - `claude -p "Run all tests…"` examples append `--permission-mode auto` (QUICK_REFERENCE gets a comment pointing to `--allowedTools` instead). - DBHub: README template list and the 09 `mcp-postgres` example point `DATABASE_URL` at a SELECT-only user; JSON templates unchanged. - "Always in the background" in desktop/VS Code → "while fork mode is on (the default)"; critical-path `rm` isn't sent to the classifier since v2.1.281. **New (P3)**, each a row or a sentence beside existing siblings, English only: - New `###` sections: "Let Claude Wait for a Subagent" (04), "MCP Tasks (public beta, v2.1.304+)" (05), "Plugin Shows Version `unknown`" (07). - Commands: `/schedule`, `/auto-mode-setup`, `/artifacts` keys, `/claude-api api-version` / `managed-agents-secure`, `/design consent` / `revoke`, `/usage` fix shortcut, `/doctor` Usage check. - v2.1.304–2.1.310 env vars, settings, limits, OTel events, monitor availability, mods API notes, MCP timeouts and retry hints. **Learning skills** - lesson-quiz 1.6.3: L08 Q4 (above); explanations for L02 Q1/Q9, L04 Q6/Q10, L05 Q3, L09 Q6/Q9; README fences get `text`. No `Correct` letter or Review pointer changed. - self-assessment 2.5.6: Checkpoints, CLI, MCP and Memory recommendations, edited identically in `SKILL.md` Step 4 and `topic-recommendations.md`. No scoring change. **Please review** - New ja, zh and uk wording would benefit from a native-speaker read. **Not in this PR** - Example plugins whose hook/MCP files never load; `/advisor` on Claude Platform on AWS (docs still contradict the changelog); 21 undocumented commands and the translation backfill. - Translated QUICK_REFERENCE files still use `claude --enable-auto-mode -p`. - The "20 bundled skills" count in CATALOG.md and 01-slash-commands is now two short of its table. ## Test plan - [x] `pre-commit run --all-files`: all hooks pass, same as the pre-edit baseline. Run with a config copy pinned to `python3.12` because `.pre-commit-config.yaml` pins `python3.11`, which this machine lacks; Mermaid hooks skipped there. - [x] `python scripts/check_mermaid.py --strict`: Pele rendered 286 blocks. - [x] link-check: 247 external URLs reachable. - [x] Every changed file carries the 2.1.310 footer (localized labels and dates in translations); both `SKILL.md` versions bumped. 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Review follow-ups Two `issue-pr-review --review-only` rounds found nothing blocking. The nits they raised were fixed on this branch: - |
||
|
|
232591b2a8 |
docs: sync to Claude Code v2.1.302 (#194)
* docs: sync to Claude Code v2.1.302 Release changes (v2.1.301-2.1.302): fork subagents on by default in claude -p, the Agent SDK, desktop and VS Code (CLAUDE_CODE_FORK_SUBAGENT=0 turns them off); claude -p / SDK sessions with no permission mode start in default on third-party providers, with telemetry off or on a fresh install; at most 12 prompt/agent hooks of one event run at once; new CLAUDE_CODE_AUTO_MODE_MODEL and CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS; /config Idle compaction row; vim % motion; tool_decision OTel attributes; fable/best fallback; 64-argument limit; hook ask prompts name their plugin or skill; PowerShell finds plugin bin/; mod Input rows. Also: standalone Claude Design closes Dec 14, 2026; Sonnet 4.5 retires Nov 30, 2026; managed Code Review GA; npm install marked deprecated per the official README. Verified drift fixes (each checked against code.claude.com): hook handler JSON shapes, prompt-hook response schema, exec/HTTP/mcp_tool hook fields; GitHub MCP URL (api.githubcopilot.com) and token; nonexistent @modelcontextprotocol/server-database; plugin layout, marketplace, userConfig, strictKnownMarketplaces, blockedMarketplaces and enabledPlugins shapes; nonexistent deniedPlugins, autoCheckpoint, planning.*/extendedThinking.* keys; invented 09 settings schema; claude -p JSON output jq paths; subagent forks via subagent_type "fork" not context: fork; --agents priority; MCP default scope; command descriptions; rewind menu has six options; broken nested code fence in 07-plugins. Shipped hook scripts: pre-commit.sh reads stdin and only gates git commit; validate-prompt.sh uses hookSpecificOutput; session-end.sh no longer reads /dev/tty. Fixes mirrored into vi/ja/zh/uk where the same claim existed. Learning skills: quiz Lesson 05 Q2 option B (GitHub MCP URL; Correct letter unchanged), explanations for L02 Q2, L04 Q6/Q9, L09 Q1, L07 Q2 wording; self-assessment wording in paired files; lesson-quiz 1.6.2, self-assessment 2.5.5. * fix(hooks): parse pre-commit.sh hook input with sed instead of jq * fix(mcp): restore DATABASE_URL expansion and align MCP env var setup * fix(mcp): align QUICK_REFERENCE GitHub token and Example 2 DATABASE_URL setup |
||
|
|
f24cc80842 |
docs: sync to Claude Code v2.1.300 (#193)
* docs: sync to Claude Code v2.1.300 Release changes (v2.1.299-2.1.300): remove --sandbox/--no-sandbox (gone from claude remote-control; never main-CLI flags); updatedInput validation; UserPromptSubmit runs before skill/command expansion; MCP permission rules and agent tools: match only the named server; MCP description limits (4,096 / 16,384, first-party exemption); transcripts record system prompts; idle compaction, idleCompaction setting and new env vars; plugin eval --disallow-tools; mods Text props (bold deprecated); agent view /effort and /fast. Verified drift fixes: nonexistent /task, /session, /todo, /worktree commands and claude web; agent-teams env var; invalid plugin monitors and CLAUDE_PLUGIN_DATA hook examples; hook-events table, skill hook scope and once; skillOverrides; claude agents opens agent view; notify-team.sh git push filter; validate-prompt.sh prompt field; native installer recommended; prompt-cache TTL defaults; fast-mode models; /undo is a /rewind alias; CATALOG field rows and bundled skills; remove ignored name: from plugin command templates. Fixes mirrored into vi/ja/zh/uk where the same claim existed. Learning skills: rescope quiz Lesson 03 Q8 to the Agent Skills spec, fix self-assessment Round 2 Option 4 and Round 4 Option 2, refresh explanations and a Review pointer; lesson-quiz 1.6.1, self-assessment 2.5.4. * fix(hooks): match git push anywhere in notify-team.sh command |
||
|
|
8aeb5a72dc |
docs: sync to Claude Code v2.1.278 (#183)
* docs: sync to Claude Code v2.1.278 Type: docs Audit of the tutorial against Claude Code 2.1.278 (repo baseline was 2.1.263). Fixes claims the repo asserts that are now false; new-feature coverage is English-only. P0 - the repo stated the opposite of current behavior: - AGENTS.md: the claude-md skill said Claude Code "does not read AGENTS.md directly" in all 5 languages. It has since v2.1.277, when no CLAUDE.md exists at or above the working directory. - /output-style: listed as "Removed in v2.1.91" in 5 languages and in 09-advanced-features. Re-added in v2.1.269; row moved out of the Deprecated Commands table. - Permission rules: setup-auto-mode-permissions.py seeded Write(*), Glob(*) and NotebookEdit(*), which Claude Code accepts but never consults and warns about at startup. Removed; same fix in the config-examples.json profile and the 06/09 category tables. - taskOutputMaxChars: documented as live. The TaskOutput tool was removed in v2.1.278 and the key is inert. P1: - Dynamic workflow "medium" guideline is fewer than 10 agents, not 15; the default is small on Pro plans since v2.1.271. - Todo-tool availability restated as the official allowlist (Claude 3.x, Opus 4-4.7, Sonnet 4-4.6, Haiku 4.5) instead of a denylist; 23 sites across 5 languages. - Memory hierarchy now notes the AGENTS.md fallback. - Auto-mode classifier cost qualified: not charged on Enterprise plans and Claude API accounts since v2.1.278. P3 (English only): full AGENTS.md section in 02-memory; omitClaudeMd subagent field; plugin eval / --json / --accept-command / --marketplace; maxEffortLevel, bashEditDiffEnabled, syncClaudeAi*, 4 env vars, --system-prompt-snapshot, --plugin-dir folders; send-now key and Monitor deadlines; checkpoints subagent-edit limitation. Learning skills audited clean: 100 quiz questions and 100 Review pointers all valid, 20 self-assessment options correctly mapped. Cross-file anchors: 15 broken before, 15 after, 0 introduced. * docs: address review — stale version stamps, /output-style re-add, permission tables |
||
|
|
28149a85fc |
docs: sync to Claude Code v2.1.245 (#177)
* docs: sync to Claude Code v2.1.245 Sync the tutorial, its four translations, and both learner-facing skills against Claude Code v2.1.245 (was anchored at v2.1.235). The graded material turned out to be staler than the tutorials it grades. The lesson READMEs already said "31 hook events", "six rewind options" and "six permission modes"; the quiz and self-assessment still said 25, 5 and 5, so learners were scored against a wrong answer and then sent to a lesson that contradicted it. Seven such claims are fixed here. Two long-standing doc defects were also verified against official docs: - Hook default timeout was documented as 60 seconds. It is 600 for command/http/mcp_tool (30 for prompt, 60 for agent), with per-event overrides. Wrong in five places. - Skill precedence was documented as enterprise > project > personal. The official order is enterprise > personal > project. question-bank.md Lesson 03 Q9 already graded the correct order, so the lesson had been contradicting its own quiz. Fixed - Hook default timeout 60s -> 600s, with per-event overrides - Skill precedence: project and personal were swapped - Memory "overrides root CLAUDE.md" -> concatenation model (last holdouts after the quiz was aligned in #164) - permissionMode frontmatter omitted `auto` (English + vi/ja/uk); the quiz was right and the docs were wrong - Built-in subagent `Bash` no longer exists upstream -> renamed to `claude` - `/undo` is absent from the official commands reference -> marked deprecated - `backgroundTasks` settings block was fabricated -> replaced with CLAUDE_CODE_DISABLE_BACKGROUND_TASKS and the concurrency env var - Plugin manifest field is `lspServers`, not inline `lsp` - vi/05-mcp documented `claude mcp add --transport ws`, which upstream explicitly does not support - Self-assessment could never reach its own maximum score: rounds cap at 4+4+4+3+4 = 19, not 20 - 13 dangling quiz `Review:` pointers, two of which named another lesson - Skill description cap: 1024 chars -> 1,536 combined with `when_to_use` Added - WebSocket (`ws`) MCP transport, undocumented until now - Concise output style (v2.1.237), a fifth built-in - modelPicker, promptCacheTtl, subagentPromptCacheTtl, modelPricing, keybindingFlavor settings - ANTHROPIC_DEFAULT_MODEL env var - Hook `async`, `asyncRewake`, `shell`, `statusMessage`, `retry` keys; `agent` type marked experimental - /design canvas, Remote Control out of research preview, notify_when_idle, plugin manifest fields (workflows, channels, dependencies, outputStyles) Deferred deliberately: the reserved `synced` skills folder, and a bulk footer stamp across the translations. zh/ carries none of the P0 claims (it is abridged upstream of this run), so it has no P0 sub-tasks rather than fabricated English. Mermaid validation did not run in this environment (mmdc absent); CI covers it. * fix(docs): propagate v2.1.245 corrections to CATALOG, translations, and stale enumerations * fix(docs): propagate built-in subagent rename to uk/vi/zh CATALOG and zh lesson |
||
|
|
b9a973bf32 |
docs: accuracy pass against Claude Code v2.1.220 (#155)
Internal accuracy pass against v2.1.220 — no missing upstream features, but broken example code, disagreeing counts, and metadata drift.
Functional fixes: pre-commit.sh now exits 2 so it actually blocks; dependency-check.sh reads file_path from stdin JSON instead of $1; database-mcp.json uses ${DATABASE_URL}; broken fences repaired; three command templates had invalid skill names.
Factual corrections: /fork and /subtask unswapped and /subtask added; /fewer-permission-prompts; permissions.defaultMode; dontAsk/auto unreversed; 31 hook events verified name-by-name; subagent depth 3; skill precedence enterprise > project > personal; /output-style removed not deprecated; permissionDecision gained defer.
Follow-up review fixed defects the pass left behind: zh/vi headers claiming 31 events above 25-name lists, a surviving hardcoded DB credential in the MCP README examples, an unbalanced fence swallowing a metadata footer, and non-canonical tool names. All four translated CATALOG summary tables were recounted so their arithmetic holds.
Full detail in CHANGELOG.md under v2.1.220-r2.
|
||
|
|
343d6f0f99 |
docs: sync to Claude Code v2.1.220
Bumps tutorial coverage from the v2.1.217 baseline (2026-07-22 sync) to v2.1.220 — three contiguous releases (v2.1.218–v2.1.220). Critical fixes: - Nested subagent spawning is on by default again at depth 3 (v2.1.219). Five locations across 04-subagents, CATALOG, 10-cli and QUICK_REFERENCE stated it was disabled by default — true for v2.1.217–v2.1.218 only. CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 now disables rather than enables. All five carry an identical three-era history note. - Claude Opus 5 is the default Opus model (v2.1.219). 10-cli asserted "Opus 4.8 remains the default"; Opus 5 was absent from every model table. Added to both model tables, 19 Compatible Models footers, and ~20 effort-level enumerations. Also fixed: fast-mode model list, auto-mode eligibility self-contradiction in 09-advanced-features, stale CLAUDE_CODE_ENABLE_AUTO_MODE opt-in in CATALOG, hook-event count disagreement (29/30 -> 31 across three files), doc-generator skill name/directory mismatch, stale "May 2026" headings, and the last three docs.anthropic.com links. Added: DirectoryAdded hook, /deep-research explicit-invocation note, /code-review background subagent, context:fork background default, agent frontmatter hook workspace trust, dynamic workflow size guideline and workflowSizeGuideline key, sandbox.network.strictAllowlist, MCP error surfacing, stream-json nested subagent forwarding, frontmatter boolean values, agent name ':' rejection, auto/plan-mode classifier changes, and Opus 5 safety-classifier fallback. Renamed the deep-research skill example to topic-research to stop it shadowing the built-in; mirrored to vi/ja/uk. doc-generator rename mirrored to ja/zh/uk. |
||
|
|
c10d54c0d7 |
docs: sync to Claude Code v2.1.217
Bumps tutorial coverage from the v2.1.212 baseline (2026-07-18 sync) to v2.1.217 (v2.1.213 was skipped upstream), plus a repo-internal accuracy audit. Fixed: - Nested-subagent-spawning claim reversed (v2.1.217): 04-subagents/README.md and CATALOG.md stated nesting up to 5 levels as current behavior; as of v2.1.217 it's off by default, opt in via CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH - Stale --enable-auto-mode flag (removed in v2.1.111) replaced with --permission-mode auto across 10-cli/README.md and QUICK_REFERENCE.md - Import-depth contradiction in 02-memory/README.md: two remaining "5 levels" instances corrected to "4 hops", matching the rest of the file - Sonnet 5 added to claude_concepts_guide.md's models/reasoning-effort table - config-examples.json's fabricated settings schema (fake "unrestricted"/ "confirm" modes, undocumented keys) rewritten to real settings.json keys - brand-voice skill (name/user-invocable) aligned to its README worked example - CLAUDE.md length guidance unified across 03-skills/claude-md/SKILL.md and 02-memory/README.md Added: - New subagent caps (v2.1.217): CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS - --max-budget-usd now also halts running background subagents (v2.1.217) - Hook if: glob scope narrowed to <cwd>/dir (v2.1.214), documented in 06-hooks/README.md along with SessionStart's new "fork" source - sandbox.filesystem.disabled setting (v2.1.216) - /rewind symlink/hard-link protection (v2.1.216) - Auto-memory modified timestamp (v2.1.214) and non-blocking /memory editor (v2.1.216) - CLI/settings batch (v2.1.214-217): emojiCompletionEnabled, FORCE_HYPERLINK=0, CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH, --settings 2 MiB cap, permission hardening notes, /context and /compact notes - /verify and /code-review explicit-invocation-only note (v2.1.215) Mirrored applicable P0/P1 fixes into vi/ja/zh/uk translations where the same claim existed. |
||
|
|
8f045173d1 |
docs: sync to Claude Code v2.1.212 (#154)
* docs: sync to Claude Code v2.1.212 Bumps tutorial coverage from the v2.1.206 baseline (2026-07-11 sync) to v2.1.212, plus a repo-internal accuracy audit that surfaced defects independent of the version delta. Fixed: - Dead `#` memory-shortcut removed from 02-memory/README.md (two places documented a discontinued quick-memory-add pattern as working, directly contradicting the file's own commands table) - Auto mode opt-in -> opt-out on Bedrock/Vertex/Foundry (v2.1.207) - `auto` permission mode mislabeled "Research Preview" across 09-advanced-features/README.md, CATALOG.md, README.md, and the vi/ja/zh/uk translations (auto mode is GA, gated only by plan/model/provider) - `/fork` / `/branch` history corrected: they were a single aliased command only from v2.1.77 to v2.1.161, not "renamed" as previously stated - `effort` frontmatter enum in 04-subagents/README.md completed with `xhigh` - Bundled-skills count reconciled in CATALOG.md (9 -> 10) - INDEX.md Skills section count and Feature Coverage Matrix Total column fully recomputed and reconciled (Skills: 22, Plugins: 39) - Stale 2.1.160 footer cluster (5 files) bumped to 2.1.212 - QUICK_REFERENCE.md fully resynced (was 52 versions behind) - 02-memory/README.md's Memory Hierarchy section rewritten: replaced a fabricated 8-tier strict-precedence model with the verified structure (CLAUDE.md files are concatenated into context, not overridden; 4 real location tiers; rules and auto memory are separate mechanisms) - 02-memory/README.md's Memory Architecture diagram no longer conflates claude.ai's 24h synthesis cycle with Claude Code's continuous auto memory - Import recursion depth corrected (was documented as 5, actually 4 hops) Added: - Subagent output scanning (v2.1.210) documented in 04-subagents/README.md - Session-wide spawn caps (v2.1.212): WebSearch and subagent limits - MCP long-running-tool auto-backgrounding (v2.1.212) in 05-mcp/README.md - `claude auto-mode reset` and `/resume` picker (v2.1.212) - Screen reader mode (v2.1.208): --ax-screen-reader / CLAUDE_AX_SCREEN_READER - Task tool `mode` parameter deprecation note (v2.1.212) Known gaps (deferred, not fixed this pass): - 03-skills/blog-draft/ vs 03-skills/.claude/skills/blog-draft/: confirmed the latter is gitignored local testing scratch, not a repo duplicate * fix(INDEX): correct Skills row arithmetic and stale changelog notes INDEX.md's Skills header/matrix shipped as 22 (5+9+8) despite the PR's own CHANGELOG claiming it was fixed to 21 — three independent counts (file-type breakdown, filesystem listing, changelog intent) agree on 21; the Docs column was off by one. Also removes two stale CHANGELOG "Known gaps" entries this same PR already resolved (memory hierarchy rewrite, blog-draft gitignore confirmation) and adds the missing Fixed-section bullet documenting the memory hierarchy rewrite. |
||
|
|
a645ffe6b0 |
docs: sync to Claude Code v2.1.206 (#151)
* docs: correct stale content for Claude Code v2.1.206
Fix content that no longer matches current Claude Code behavior:
- 04-subagents: remove the /agents creation-wizard instructions
(wizard removed in v2.1.198); point users to ask Claude or edit
.claude/agents/ files directly. Explore agent now inherits the
session model (capped at Opus) instead of Haiku; subagents run in
the background by default.
- Rename the default permission mode "default" -> "Manual" (v2.1.200)
across README, CATALOG, INDEX, LEARNING-ROADMAP, resources,
claude_concepts_guide, and 09-advanced-features, noting that
"default" still works as an alias.
- README: update the stale "latest v2.1.160" currency claims to v2.1.206.
- Reconcile the contradictory /simplify vs /code-review history:
they are distinct current skills (/simplify split back out in v2.1.154).
Refresh metadata footers to v2.1.206 / July 11, 2026 and add Claude
Sonnet 5 to Compatible Models on every edited file.
* docs: add Claude Code v2.1.206 feature coverage
Document new features and options that landed through v2.1.206:
- Skills: /dataviz bundled skill, skill stacking (loads all leading
skills, up to 5), and the ${CLAUDE_PROJECT_DIR} substitution.
- Slash commands: /dataviz row and ${CLAUDE_PROJECT_DIR} mention.
- Subagents already covered in the correctness commit; CLI adds
--append-subagent-system-prompt, CLAUDE_ENABLE_STREAM_WATCHDOG,
a Claude Sonnet 5 model row (new default, 1M context), and the
/model "Org default" note.
- MCP: roots/list working-directory discovery and the untrusted-
workspace pending-approval behavior for self-approved .mcp.json.
- Hooks: agent_needs_input / agent_completed Notification values and
the prompt_id input field.
- Plugins: marketplace renames / displayName / defaultEnabled fields.
- Checkpoints: "Summarize up to here" backward targeted compaction.
Refresh metadata footers to v2.1.206 / July 11, 2026 and add Claude
Sonnet 5 to Compatible Models on every edited file.
* docs: qualify Sonnet 5 default scope and reconcile bundled-skills list
- Sonnet 5 default is tier-dependent (Pro/Team seats); Opus 4.8 remains
default on Max/Team Premium/Enterprise PAYG/API — was overstated as
the flat default.
- Add missing /simplify row to the bundled-skills table (it was already
referenced as a distinct skill in the /code-review row) and drop the
hard skill count in favor of pointing at the commands reference.
|
||
|
|
d4243d9c7b | docs: sync to Claude Code v2.1.195 | ||
|
|
d7ab99f224 | docs: sync to Claude Code v2.1.160 | ||
|
|
c08c293aa4 |
docs: sync to Claude Code v2.1.156 and Claude Opus 4.8 (#129)
* docs: sync to Claude Code v2.1.156 and Claude Opus 4.8 Model bump Opus 4.7 -> Opus 4.8 and version sync v2.1.150 -> v2.1.156. - Rewrite effort-ladder claims for Opus 4.8 (default `high`; `xhigh` on 4.8/4.7; `max` on 4.8/4.7/4.6 and Sonnet 4.6; Haiku has no effort). - Replace soon-removed CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE with the `/model claude-opus-4-6[1m]` + `/fast on` path; note Opus 4.8 fast mode. - Bump lineup tables to Opus 4.8; fix Haiku 4.5 context (1M -> 200K). - Sweep Compatible Models + version/date footers to 2.1.156 / May 29, 2026 across 23 English docs (incl. 2.1.138/2.1.145 stragglers). - Re-document `/simplify` as a distinct cleanup-only command (v2.1.154). - Add Dynamic Workflows + `/workflows`, MessageDisplay hook (count 29->30), disallowed-tools frontmatter, `/reload-skills` + SessionStart outputs, `/model` default-save inversion, lean system prompt, status-line COLUMNS/LINES, and the ultracode `/effort` note. * docs(cli): drop unverified fast-mode dollar pricing, keep verified rate/speed multipliers |
||
|
|
5850da9a14 |
docs: sync to Claude Code v2.1.150 (#127)
* docs: sync to Claude Code v2.1.150 * fix(README): bump stale version prose to v2.1.150 |
||
|
|
46941a38fc | docs: sync to Claude Code v2.1.145 (Closes #126) (#125) | ||
|
|
6508e42e13 |
docs: sync to Claude Code v2.1.138 (7 patches since v2.1.131) (#117)
Bump footers across 23 files to v2.1.138 and document new behavior: - 29 hook events (was 28); add Setup event row in 06-hooks - worktree.baseRef breaking default revert (v2.1.133) - parentSettingsBehavior + autoMode.hard_deny admin keys - effort.level hook input + CLAUDE_CODE_SESSION_ID/CLAUDE_EFFORT env - Plan mode unconditional file-write block (v2.1.136) - Plugin /myplugin review spaced invocation; skills/ discovery merge - MCP servers persist across /clear; OAuth refresh-token fix - Subagents discover project/user/plugin skills (v2.1.133) - --permission-mode honored on plan-mode resume (v2.1.132) - sandbox.bwrapPath/socatPath for Linux/WSL - CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN, FEEDBACK_SURVEY_FOR_OTEL env - CronList output expansion Also fix INDEX.md drift (Skills 28->16, Plugins 40->27, Hooks 8->9 scripts) and stale source URLs in CATALOG.md/concepts guide. Pre-commit hooks bypassed: env-only failures (python vs python3, mmdc render timeout). Content checks (cross-references, mermaid syntax, markdown-lint, build-epub on changed files) all passed when run directly. |
||
|
|
d4b5cf56b4 |
docs: sync to Claude Code v2.1.131 (3 patches since v2.1.126)
Sync covers v2.1.128, v2.1.129, and v2.1.131 (May 2026). Highlights: gateway /v1/models discovery is now opt-in (CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY), added --plugin-url flag, disableRemoteControl setting, /mcp tool-count display, expanded skillOverrides values, /context viz no longer leaks into conversation, Ctrl+R cross-project default. Also reconciles slash-command count to 60+ and fixes the skill-count entry in CATALOG. |
||
|
|
0f8012c36e |
docs: sync to Claude Code v2.1.126 (six new releases since April 27) (#111)
Bumps tutorial coverage from v2.1.119 → v2.1.126 (May 1, 2026 release).
v2.1.120 was rolled back on its first release day (2026-04-24) but
re-released 2026-04-28 with regressions fixed; v2.1.124/125 skipped.
New feature documentation:
- claude project purge (v2.1.126) — 10-cli
- claude plugin prune / --prune (v2.1.121) — 07-plugins, 10-cli
- claude ultrareview [target] (v2.1.120) — 10-cli
- ${CLAUDE_EFFORT} placeholder + type-to-filter /skills (v2.1.120-121) — 03-skills
- alwaysLoad MCP server config option (v2.1.121) — 05-mcp
- PostToolUse.updatedToolOutput for non-MCP tools (v2.1.121) — 06-hooks
- ANTHROPIC_BEDROCK_SERVICE_TIER, AI_AGENT env vars — 10-cli
- --dangerously-skip-permissions extended path coverage — 09-advanced-features
- Windows PowerShell-as-primary-shell + /model gateway discovery (v2.1.126)
- OAuth code paste fallback (v2.1.126) — 10-cli
Fixes:
- xhigh missing from 03-skills effort enum (regression from April 24)
- README.md latest-version claims (lines 105, 204) and version badge
- CHANGELOG.md v2.4.0 stale "v2.1.120 was rolled back" paragraph
Footer refresh: 22 in-scope English files bumped to May 2, 2026 / 2.1.126.
Localized vi/zh/uk/ja trees out of scope (community-maintained).
|
||
|
|
d17d5159e8 |
docs: sync to Claude Code v2.1.119 (docs host migration, /usage, hooks mcp_tool, native binary) (#94)
- Migrate all docs.anthropic.com/en/docs/claude-code URLs to code.claude.com/docs/en - Document /usage as canonical (v2.1.118); annotate /cost and /stats as shortcut aliases - Update Opus 4.7: 1M context (v2.1.117 fix), xhigh default effort - Note native-binary packaging (v2.1.113) and downloads.claude.ai host (v2.1.116) - Hook events count normalized to 28 across all refs; add UserPromptExpansion, PostToolBatch - Add mcp_tool as a fifth hook type (v2.1.118); duration_ms on PostToolUse (v2.1.119) - Agent frontmatter mcpServers/permissionMode/--print tools honoring - Glob/Grep -> bfs/ugrep footnote for native macOS/Linux builds - Plugin marketplace enforcement (v2.1.117) + hostPattern/pathPattern (v2.1.119) - --from-pr supports GitLab MR, Bitbucket PR, GitHub Enterprise (v2.1.119) - Document 5 new env vars: DISABLE_UPDATES, CLAUDE_CODE_HIDE_CWD, CLAUDE_CODE_FORK_SUBAGENT, ENABLE_TOOL_SEARCH, OTEL_LOG_TOOL_DETAILS - Deprecate includeCoAuthoredBy and voiceEnabled; add prUrlTemplate setting - Add new features: /theme, /btw, claude plugin tag, claude install [version], sandbox.network.deniedDomains, auto mode "\$defaults", wslInheritsWindowsSettings, Vim visual modes, /doctor improvements, forked subagents, disableSkillShellExecution - Refresh footers to Last Updated April 24, 2026 / Claude Code Version 2.1.119 |
||
|
|
cf92e8e2c1 |
chore(release): v2.1.112
Sync all English tutorials with Claude Code v2.1.112 and the new Opus 4.7 model (claude-opus-4-7). Introduces the xhigh effort level (new default on Opus 4.7), two new built-in slash commands (/ultrareview, /less-permission-prompts), auto mode without --enable-auto-mode for Max subscribers on Opus 4.7, PowerShell tool on Windows, Auto-match-terminal theme, and plan files named after prompts. All 18 EN doc footers bumped to Claude Code v2.1.112. Version callouts in README.md, zh/README.md, and uk/README.md updated to v2.1.112. Changelog entry prepended. Repo version now tracks Claude Code version (2.3.0 → 2.1.112 is intentional per new convention). |
||
|
|
15f00855e8 |
docs: sync to Claude Code v2.1.110 (TUI, push notifications, session recap) (#80)
* docs: sync to Claude Code v2.1.110 with TUI, push notifications, session recap, and new commands - 01-slash-commands: add /tui, /focus, /recap, /undo, /proactive to command table and recent changes - 07-plugins: document monitors manifest key for background monitor support (v2.1.105) - 09-advanced-features: add TUI mode, push notifications, session recap, ENABLE_PROMPT_CACHING_1H - 10-cli: add --exclude-dynamic-system-prompt-sections flag and CLAUDE_CODE_PERFORCE_MODE env var - CATALOG.md: update command counts (55+→60+, 63+→68+), add 5 new command rows - All 12 files: bump footer to April 16, 2026 / Claude Code Version 2.1.110 * fix(catalog): correct version tags for /proactive, /recap, /undo commands /proactive was added in v2.1.105, /recap and /undo in v2.1.108 — not v2.1.110. Only /tui and /focus were introduced in v2.1.110. |
||
|
|
2deba3ac2f |
docs: sync to Claude Code v2.1.101 with /team-onboarding, /ultraplan, Monitor tool (#73)
* docs: sync to Claude Code v2.1.101 with new feature coverage Bumps all English docs from v2.1.97 to v2.1.101, adds mandatory Sources footer block (previously missing), and documents three new features shipped between v2.1.98 and v2.1.101: - /team-onboarding (v2.1.101) — new built-in command for generating teammate ramp-up guides. Added to 01-slash-commands and CATALOG. - /ultraplan (v2.1.91+, cloud-env auto-creation in v2.1.101) — full section in 09-advanced-features covering launch methods, status indicators, and execution options. Replaces prior 3-line stub. - Monitor tool (v2.1.98) — full section in 09-advanced-features with stream-filter and poll-emit patterns and the grep --line-buffered warning. Added to resources.md feature table. Vietnamese and Chinese translations are not touched in this sync. * fix(docs): address review feedback on v2.1.101 sync - Correct /team-onboarding availability date (April 10 → April 11, 2026) - Fix uninitialized \$last variable in Monitor poll-and-emit example - Update CATALOG.md New Features heading to April 2026 and add Monitor Tool, /team-onboarding, and Ultraplan auto-create entries |
||
|
|
63a1416884 |
fix(docs): correct Claude Code version to 2.1.97 across all footers
The latest Claude Code release is 2.1.97, not 2.3.0 (which is this guide's own version). Update all 20 "Claude Code Version" footer lines to accurately reflect the documented Claude Code version. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> |
||
|
|
7f2e77337e |
docs: update Last Updated date and Claude Code version across all files
Update all documentation footers from generic "April 2026 / 2.1+" to the specific sync date (April 9, 2026) and documented version (2.3.0). Also add version/date footers to zh/CATALOG.md and zh/01-slash-commands/README.md which were missing them. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> |
||
|
|
72d3b016e6 |
docs: sync all tutorials with latest Claude Code docs (April 2026) (#56)
* docs: sync all tutorials with latest Claude Code official docs (April 2026) Update 44 documentation files to reflect the latest Claude Code features from code.claude.com. Key content changes include new slash commands (/ultraplan, /powerup, /sandbox), deprecated command removals (/pr-comments, /vim), corrected skill description budget (1%/8K), new hook events (PermissionDenied, InstructionsLoaded, ConfigChange), expanded Agent Teams section, new plugin components (LSP, bin/, settings.json), and new CLI flags (--bare, --tmux, --effort, --channels). Added "Last Updated: April 2026" metadata footer to all documentation files. * fix(docs): correct env var values and alphabetical ordering - CLAUDE_CODE_NEW_INIT=true → =1 in 02-memory and 09-advanced-features - CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 in 09-advanced-features - Fix /powerup vs /plugin alphabetical order in slash commands table * fix(docs): correct env var values in locale files (vi, zh) Propagate CLAUDE_CODE_NEW_INIT=true → =1 and CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 corrections to Vietnamese and Chinese translations. |
||
|
|
749c79f633 |
fix: correct autoCheckpoint config documentation in 08-checkpoints (#39)
The autoCheckpoint setting does not exist in Claude Code's settings schema. Checkpointing is automatic and built-in — every user prompt creates a checkpoint. Replace the incorrect config example with the actual cleanupPeriodDays setting, which controls retention period. Fixes #18 |
||
|
|
d41b335cbc | docs(08-checkpoints): Introduce cc-context-stats for context zone monitoring | ||
|
|
f78c094740 |
docs: Sync all tutorials and references with Claude Code v2.1.84
- Slash commands: update to 55+ built-in, add 5 bundled skills, mark 3 deprecated - Memory: add managed drop-ins (v2.1.83), subagent memory, settings hierarchy - Skills: add effort, shell frontmatter fields and discovery behavior - Subagents: add effort, initialPrompt, disallowedTools fields; document Bash agent - MCP: add WebSocket transport, elicitation, 2KB tool cap, server deduplication - Hooks: expand from 18 to 25 events, add agent hook type (now 4 types) - Plugins: add LSP support, userConfig, CLAUDE_PLUGIN_DATA, CLI commands - Advanced: add Auto Mode, Channels, Voice Dictation, auto permission mode - CLI: add 17+ new flags, 17 environment variables, new commands - Update all reference docs (CATALOG, QUICK_REFERENCE, LEARNING-ROADMAP, INDEX) - Fix stale quiz questions (hook count, permission modes, hook types) |
||
|
|
487c96d950 |
docs: Sync all documentation with Claude Code February 2026 features
Update 23 files across all 10 tutorial directories and 7 reference documents to match the latest Claude Code v2.1+ features and correct outdated content including model names (4.5→4.6), permission modes, hook events, CLI syntax, MCP config paths, plugin manifest format, checkpoint commands, session management, and URLs. Add documentation for new features: Auto Memory, Remote Control, Web Sessions, Desktop App, Agent Teams, MCP OAuth, Task List, Sandboxing, and more. |
||
|
|
58e586f09b |
refactor: Add new V2.0 logo with dark/light mode support to all markdown files
- Update all main markdown files (INDEX.md, LEARNING-ROADMAP.md, QUICK_REFERENCE.md, CONTRIBUTING.md, claude_concepts_guide.md, resources.md) with new responsive picture element - Add logo to all subdirectory README files in feature folders (01-10) and plugins - Replace old markdown image syntax with HTML picture element for dark/light mode adaptation - Logo automatically displays dark mode version when system prefers dark mode - Maintain correct relative paths for all nesting levels (../, ../../, etc.) - Update README.md with new logo syntax All markdown files now use the new V2.0 starburst logo design with professional dark/light mode support. |
||
|
|
821709b143 | Update all lessons | ||
|
|
5caeff2f1c |
refactor: Reorganize repository structure for optimal learning path
Reorder folders based on learning dependencies, complexity, and frequency of use: - 01-slash-commands (unchanged) - Quick wins for beginners - 02-memory (was 03) - Essential foundation - 03-skills (was 05) - Auto-invoked capabilities - 04-subagents (was 02) - Task delegation - 05-mcp (was 04) - External integration - 06-hooks (was 07) - Event automation - 07-plugins (was 06) - Bundled solutions - 08-checkpoints (unchanged) - Safe experimentation - 09-advanced-features (unchanged) - Power user tools Documentation improvements: - Add LEARNING-ROADMAP.md with detailed milestones and exercises - Simplify README.md for better scannability - Consolidate Quick Start and Getting Started sections - Combine Feature Comparison and Use Case Matrix tables - Reorder README sections: Learning Path → Quick Reference → Getting Started - Update all cross-references across module READMEs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|
|
346a2fa993 |
docs: Add project logo to all README files
- Add claude-howto-logo.svg to 12 README files across the project - Use appropriate relative paths for different directory levels - Include new memory guide screenshots - Add personal CLAUDE.md configuration 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> |
||
|
|
41527aed26 |
Update all concept README files with comprehensive documentation
Extract and consolidate information from claude_concepts_guide.md into individual concept folders: - 01-slash-commands: Add architecture diagrams, features table, lifecycle diagram, best practices, and comprehensive examples - 02-subagents: Add architecture, configuration, tool access hierarchy, context management, and practical delegation examples - 03-memory: Add memory hierarchy, locations table, lifecycle diagram, 4 practical examples, and features comparison - 04-mcp: Add MCP architecture, ecosystem, setup process, 4 examples (GitHub, Database, Multi-MCP, Filesystem), and security best practices - 05-skills: Add skill architecture, loading process, 3 complete examples with Python scripts (Code Review, Brand Voice, Documentation Generator) - 06-plugins: Add plugin architecture, marketplace, lifecycle, 3 examples, features comparison, and publishing guide - 07-hooks: Add hook types table, common examples, variables, 5 practical examples with code, and best practices - 08-checkpoints: Add key concepts, all commands, use cases table, configuration, 4 practical examples, and troubleshooting - 09-advanced-features: Add Planning Mode, Extended Thinking, Background Tasks, Permission Modes, Headless Mode, Session Management, interactive features, and complete configuration examples All READMEs now include: - Overview sections with clear explanations - Mermaid diagrams for visual understanding - Comprehensive tables and feature comparisons - Practical code examples and templates - Installation instructions - Best practices and troubleshooting - Cross-references to related concepts Total changes: +3706 lines of comprehensive documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|
|
6238744478 |
Add comprehensive Claude Code advanced features
Added three new major feature categories with complete documentation and examples: ## New Features ### 07-hooks/ - Event-driven automation with 6 example hook scripts - Pre/post tool hooks, session hooks, and git hooks - Auto-formatting, security scanning, test automation - Complete documentation with best practices ### 08-checkpoints/ - Conversation state snapshots and rewind capability - Safe experimentation and approach comparison - Real-world examples: DB migration, performance optimization, UI iteration - Checkpoint management commands and workflows ### 09-advanced-features/ - Planning Mode: detailed implementation plans before coding - Extended Thinking: deep reasoning for complex problems - Background Tasks: long-running operations without blocking - Permission Modes: unrestricted, confirm, read-only, custom - Headless Mode: CI/CD integration and automation - Session Management: multiple work sessions - Interactive Features: keyboard shortcuts, command history - 10+ configuration examples for different scenarios ## Documentation Updates - README.md: Added sections for all new features with examples - INDEX.md: Updated with new categories, file listings, and search keywords - QUICK_REFERENCE.md: Added quick reference for new features - claude_concepts_guide.md: Comprehensive guide sections for new concepts ## Statistics - Total files: 90+ (up from 71) - Categories: 9 (up from 6) - New hook scripts: 6 - New documentation files: 10+ - Configuration examples: 10+ scenarios All examples are production-ready and follow Claude Code best practices. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |