Files
Luong NGUYEN 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
2026-11-12 13:02:46 +01:00
..

Claude How To

🌐 Language / Мова: English | Tiếng Việt | 中文 | Українська | 日本語 | 한국어 | فارسی

Опануй Claude Code за вихідні

Від простого введення claude до оркестрації агентів, хуків, навичок та MCP-серверів — з візуальними туторіалами, готовими шаблонами та керованим навчальним шляхом.

Почни за 15 хвилин | Визнач свій рівень | Каталог функцій


Зміст


Проблема

Ви встановили Claude Code. Виконали кілька промптів. Що далі?

  • Офіційна документація описує функції — але не показує як їх комбінувати. Ви знаєте, що слеш-команди існують, але не знаєте як поєднати їх з хуками, пам'яттю та субагентами в робочий процес, що реально економить години.
  • Немає чіткого навчального шляху. Чи вивчати MCP перед хуками? Навички перед субагентами? В результаті ви переглядаєте все і не опановуєте нічого.
  • Приклади занадто базові. "Hello world" слеш-команда не допоможе побудувати продакшен-пайплайн код-рев'ю, який використовує пам'ять, делегує спеціалізованим агентам та автоматично запускає перевірки безпеки.

Ви використовуєте лише 10% потужності Claude Code — і не знаєте, чого не знаєте.


Як Claude How To вирішує це

Це не черговий довідник функцій. Це структурований, візуальний, заснований на прикладах довідник, що навчає використовувати кожну функцію Claude Code з реальними шаблонами, які можна скопіювати у ваш проєкт вже сьогодні.

Офіційна документація Цей довідник
Формат Довідкова документація Візуальні туторіали з Mermaid-діаграмами
Глибина Опис функцій Як працює під капотом
Приклади Базові фрагменти Готові до продакшену шаблони для негайного використання
Структура Організовано за функціями Прогресивний навчальний шлях (від початківця до просунутого)
Онбординг Самостійне вивчення Керована дорожня карта з оцінками часу
Самооцінка Відсутня Інтерактивні тести для пошуку прогалин та побудови персоналізованого шляху

Що ви отримаєте:

  • 10 навчальних модулів, що охоплюють кожну функцію Claude Code — від слеш-команд до кастомних команд агентів
  • Готові конфігурації — слеш-команди, шаблони CLAUDE.md, скрипти хуків, конфіги MCP, визначення субагентів та повні пакети плагінів
  • Mermaid-діаграми, що показують як кожна функція працює всередині, щоб ви розуміли чому, а не лише як
  • Керований навчальний шлях, що проведе від початківця до досвідченого користувача за 11-13 годин
  • Вбудована самооцінка — запустіть /self-assessment або /lesson-quiz hooks прямо у Claude Code для виявлення прогалин

Почати навчальний шлях ->


Як це працює

1. Визначте свій рівень

Пройдіть тест самооцінки або запустіть /self-assessment у Claude Code. Отримайте персоналізовану дорожню карту на основі того, що ви вже знаєте.

2. Слідуйте керованому шляху

Проходьте 10 модулів по порядку — кожен будує на попередньому. Копіюйте шаблони безпосередньо у свій проєкт під час навчання.

3. Комбінуйте функції в робочі процеси

Справжня потужність — у комбінуванні функцій. Навчіться поєднувати слеш-команди + пам'ять + субагенти + хуки в автоматизовані пайплайни для код-рев'ю, розгортань та генерації документації.

4. Перевірте розуміння

Запустіть /lesson-quiz [тема] після кожного модуля. Тест точно вказує, що ви пропустили, щоб швидко заповнити прогалини.

Почни за 15 хвилин


Не знаєш з чого почати?

Пройдіть самооцінку або оберіть свій рівень:

Рівень Ви вмієте... Почніть тут Час
Початківець Запустити Claude Code та спілкуватись Слеш-команди ~2.5 години
Середній Використовувати CLAUDE.md та кастомні команди Навички ~3.5 години
Просунутий Конфігурувати MCP-сервери та хуки Просунуті функції ~5 годин

Повний навчальний шлях з усіма 10 модулями:

Порядок Модуль Рівень Час
1 Слеш-команди Початківець 30 хв
2 Пам'ять Початківець+ 45 хв
3 Контрольні точки Середній 45 хв
4 Основи CLI Початківець+ 30 хв
5 Навички Середній 1 год
6 Хуки Середній 1 год
7 MCP Середній+ 1 год
8 Субагенти Середній+ 1.5 год
9 Просунуті функції Просунутий 2-3 год
10 Плагіни Просунутий 2 год

Повний навчальний план ->


Почни за 15 хвилин

# 1. Клонувати довідник
git clone https://github.com/luongnv89/claude-howto.git
cd claude-howto

# 2. Скопіювати першу слеш-команду
mkdir -p /path/to/your-project/.claude/commands
cp 01-slash-commands/optimize.md /path/to/your-project/.claude/commands/

# 3. Спробувати — у Claude Code введіть:
# /optimize

# 4. Готові до більшого? Налаштуйте пам'ять проєкту:
cp 02-memory/project-CLAUDE.md /path/to/your-project/CLAUDE.md

# 5. Встановіть навичку:
cp -r 03-skills/code-review-specialist ~/.claude/skills/

Хочете повне налаштування? Ось необхідне за 1 годину:

# Слеш-команди (15 хв)
cp 01-slash-commands/*.md .claude/commands/

# Пам'ять проєкту (15 хв)
cp 02-memory/project-CLAUDE.md ./CLAUDE.md

# Встановити навичку (15 хв)
cp -r 03-skills/code-review-specialist ~/.claude/skills/

# Ціль на вихідні: додати хуки, субагенти, MCP та плагіни
# Слідуйте навчальному шляху для керованого налаштування

Що можна побудувати?

Сценарій Функції, які ви поєднаєте
Автоматичне код-рев'ю Слеш-команди + Субагенти + Пам'ять + MCP
Онбординг команди Пам'ять + Слеш-команди + Плагіни
Автоматизація CI/CD CLI + Хуки + Фонові завдання
Генерація документації Навички + Субагенти + Плагіни
Аудит безпеки Субагенти + Навички + Хуки (режим читання)
DevOps-пайплайни Плагіни + MCP + Хуки + Фонові завдання
Складний рефакторинг Контрольні точки + Режим планування + Хуки

FAQ

Це безкоштовно? Так. Ліцензія MIT, безкоштовно назавжди. Використовуйте в особистих проєктах, на роботі, у команді — без обмежень, крім включення ліцензії.

Це підтримується? Активно. Довідник синхронізується з кожним релізом Claude Code. Поточна версія: v2.1.112 (квітень 2026), сумісна з Claude Code 2.1+.

Чим це відрізняється від офіційної документації? Офіційна документація — це довідник функцій. Цей довідник — туторіал з діаграмами, готовими до продакшену шаблонами та прогресивним навчальним шляхом. Вони доповнюють одне одного — починайте тут для навчання, звертайтесь до офіційних документів коли потрібні деталі.

Скільки часу потрібно пройти все? 11-13 годин для повного шляху. Але ви отримаєте цінність за 15 хвилин — просто скопіюйте шаблон слеш-команди та спробуйте.

Чи працює це з Claude Sonnet / Haiku / Opus? Так. Усі шаблони працюють з 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.

Чи можна долучитися? Звичайно. Див. CONTRIBUTING.md для настанов. Ми вітаємо нові приклади, виправлення, покращення документації та шаблони спільноти.

Чи можна читати офлайн? Так. Запустіть uv run scripts/build_epub.py для генерації EPUB-книги з усім контентом та відрендереними діаграмами.


Почніть опановувати Claude Code сьогодні

Ви вже встановили Claude Code. Єдине, що відділяє вас від 10-кратного підвищення продуктивності — знання як його використовувати. Цей довідник дає вам структурований шлях, візуальні пояснення та готові шаблони для цього.

Ліцензія MIT. Безкоштовно назавжди. Клонуйте, форкніть, зробіть своїм.

Почати навчальний шлях -> | Каталог функцій | Почни за 15 хвилин


Швидка навігація — Усі функції
Функція Опис Папка
Каталог функцій Повний довідник з командами встановлення CATALOG.md
Слеш-команди Ярлики, ініційовані користувачем 01-slash-commands/
Пам'ять Постійний контекст 02-memory/
Навички Багаторазові можливості 03-skills/
Субагенти Спеціалізовані AI-помічники 04-subagents/
Протокол MCP Доступ до зовнішніх інструментів 05-mcp/
Хуки Автоматизація на основі подій 06-hooks/
Плагіни Пакетні функції 07-plugins/
Контрольні точки Знімки сесій та відкат 08-checkpoints/
Просунуті функції Планування, мислення, фонові завдання 09-advanced-features/
Довідник CLI Команди, прапорці та опції 10-cli/
Порівняння функцій
Функція Виклик Постійність Найкраще для
Слеш-команди Ручний (/cmd) Лише сесія Швидкі ярлики
Пам'ять Авто-завантаження Між сесіями Довгострокове навчання
Навички Авто-виклик Файлова система Автоматизовані процеси
Субагенти Авто-делегування Ізольований контекст Розподіл завдань
Протокол MCP Авто-запити Реальний час Доступ до живих даних
Хуки За подіями Налаштовувані Автоматизація та валідація
Плагіни Одна команда Усі функції Комплексні рішення
Контрольні точки Ручний/Авто Сесійні Безпечне експериментування
Режим планування Ручний/Авто Фаза плану Складні реалізації
Фонові завдання Ручний Час завдання Тривалі операції
Довідник CLI Термінальні команди Сесія/Скрипт Автоматизація та скриптинг
Швидкий довідник встановлення
# Слеш-команди
cp 01-slash-commands/*.md .claude/commands/

# Пам'ять
cp 02-memory/project-CLAUDE.md ./CLAUDE.md

# Навички
cp -r 03-skills/code-review-specialist ~/.claude/skills/

# Субагенти
cp 04-subagents/*.md .claude/agents/

# MCP
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT"

# Хуки
mkdir -p ~/.claude/hooks
cp 06-hooks/*.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/*.sh

# Плагіни (завантажити локальний плагін з кореня репозиторію)
claude --plugin-dir ./07-plugins/pr-review

# Контрольні точки (увімкнені за замовчуванням)
# Див. 08-checkpoints/README.md

# Просунуті функції (налаштування в settings)
# Див. 09-advanced-features/config-examples.json

# CLI (не потребує встановлення)
# Див. 10-cli/README.md
01. Слеш-команди

Розташування: 01-slash-commands/

Що: Ярлики, ініційовані користувачем, збережені як Markdown-файли

Приклади:

  • optimize.md — Аналіз оптимізації коду
  • pr.md — Підготовка pull request
  • generate-api-docs.md — Генератор API-документації

Встановлення:

cp 01-slash-commands/*.md /path/to/project/.claude/commands/

Використання:

/optimize
/pr
/generate-api-docs
02. Пам'ять

Розташування: 02-memory/

Що: Постійний контекст між сесіями

Приклади:

  • project-CLAUDE.md — Командні стандарти проєкту
  • directory-api-CLAUDE.md — Правила для каталогу
  • personal-CLAUDE.md — Персональні налаштування

Встановлення:

# Пам'ять проєкту
cp 02-memory/project-CLAUDE.md /path/to/project/CLAUDE.md

# Пам'ять каталогу
cp 02-memory/directory-api-CLAUDE.md /path/to/project/src/api/CLAUDE.md

# Персональна пам'ять
cp 02-memory/personal-CLAUDE.md ~/.claude/CLAUDE.md

Використання: Автоматично завантажується Claude

03. Навички

Розташування: 03-skills/

Що: Багаторазові можливості з автовикликом, інструкціями та скриптами

Приклади:

  • code-review/ — Комплексне код-рев'ю зі скриптами
  • brand-voice/ — Перевірка відповідності голосу бренду
  • doc-generator/ — Генератор API-документації

Встановлення:

# Персональні навички
cp -r 03-skills/code-review-specialist ~/.claude/skills/

# Навички проєкту
cp -r 03-skills/code-review-specialist /path/to/project/.claude/skills/

Використання: Автоматично викликаються за потреби

04. Субагенти

Розташування: 04-subagents/

Що: Спеціалізовані AI-помічники з ізольованими контекстами та кастомними промптами

Приклади:

  • code-reviewer.md — Комплексний аналіз якості коду
  • test-engineer.md — Стратегія тестування та покриття
  • documentation-writer.md — Технічна документація
  • secure-reviewer.md — Рев'ю безпеки (тільки читання)
  • implementation-agent.md — Повна реалізація функцій

Встановлення:

cp 04-subagents/*.md /path/to/project/.claude/agents/

Використання: Автоматичне делегування головним агентом

05. Протокол MCP

Розташування: 05-mcp/

Що: Model Context Protocol для доступу до зовнішніх інструментів та API

Приклади:

  • github-mcp.json — Інтеграція з GitHub
  • database-mcp.json — Запити до бази даних (вкажіть у DATABASE_URL користувача з правом лише SELECT; див. налаштування лише для читання)
  • filesystem-mcp.json — Файлові операції
  • multi-mcp.json — Кілька MCP-серверів

Встановлення:

# Встановити змінні оточення
export DATABASE_URL="postgresql://..."

# Додати MCP-сервер через CLI
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT"

Використання: MCP-інструменти автоматично доступні Claude після налаштування

06. Хуки

Розташування: 06-hooks/

Що: Shell-команди на основі подій, що виконуються автоматично у відповідь на події Claude Code

Приклади:

  • format-code.sh — Автоформатування коду після запису
  • pre-commit.sh — Запуск тестів перед комітами
  • security-scan.sh — Сканування на проблеми безпеки
  • log-bash.sh — Логування всіх bash-команд
  • validate-prompt.sh — Валідація промптів
  • notify-team.sh — Надсилання сповіщень

Встановлення:

mkdir -p ~/.claude/hooks
cp 06-hooks/*.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/*.sh

Використання: Хуки виконуються автоматично за подіями

Типи хуків (5): command, http, prompt, mcp_tool, agent — як саме виконується хук.

Події хуків (33, у 4 категоріях) — коли він виконується:

  • Хуки інструментів: PreToolUse, PostToolUse, PostToolUseFailure, PostToolBatch, PermissionRequest, PermissionDenied
  • Хуки сесій: SessionStart, Setup, SessionEnd, Stop, StopFailure, SubagentStart, SubagentStop
  • Хуки завдань: UserPromptSubmit, UserPromptExpansion, MessageDisplay, TaskCompleted, TaskCreated, TeammateIdle (TaskCompleted і TaskCreated спрацьовують лише коли увімкнені todo-інструменти — доступні типово тільки на Claude 3.x, Opus 4–4.7, Sonnet 4–4.6 та Haiku 4.5; CLAUDE_CODE_ENABLE_TODO_TOOLS=1 повертає їх)
  • Хуки життєвого циклу: ConfigChange, CwdChanged, DirectoryAdded, FileChanged, PreCompact, PostCompact, PreModelSwitch, PostModelSwitch, WorktreeCreate, WorktreeRemove, Notification, InstructionsLoaded, Elicitation, ElicitationResult
07. Плагіни

Розташування: 07-plugins/

Що: Пакетні набори команд, агентів, MCP та хуків

Приклади:

  • pr-review/ — Повний процес рев'ю PR
  • devops-automation/ — Розгортання та моніторинг
  • documentation/ — Генерація документації

Встановлення:

# З кореня репозиторію (цей репозиторій не має marketplace, тому /plugin install не підходить)
claude --plugin-dir ./07-plugins/pr-review
claude --plugin-dir ./07-plugins/devops-automation
claude --plugin-dir ./07-plugins/documentation

Використання: Використовуйте пакетні слеш-команди та функції

08. Контрольні точки та відкат

Розташування: 08-checkpoints/

Що: Збереження стану розмови та повернення до попередніх точок для дослідження різних підходів

Ключові поняття:

  • Контрольна точка: Знімок стану розмови
  • Відкат: Повернення до попередньої контрольної точки
  • Точка розгалуження: Дослідження кількох підходів з однієї точки

Використання:

# Контрольні точки створюються автоматично з кожним промптом
# Для відкату натисніть Esc двічі або:
/rewind

# Потім оберіть:
# 1. Відновити код і розмову
# 2. Відновити розмову
# 3. Відновити код
# 4. Підсумувати звідси
# 5. Підсумувати до цього місця
# 6. Скасувати
09. Просунуті функції

Розташування: 09-advanced-features/

Що: Просунуті можливості для складних робочих процесів та автоматизації

Включає:

  • Режим планування — Детальні плани реалізації перед кодуванням
  • Розширене мислення — Глибоке міркування для складних проблем (перемикання через Alt+T / Option+T)
  • Фонові завдання — Тривалі операції без блокування
  • Режими дозволів — default, acceptEdits, plan, dontAsk, bypassPermissions
  • Headless-режим — Claude Code у CI/CD: claude -p "Run tests and generate report" --permission-mode auto
  • Управління сесіями — /resume, /rename, /fork, claude -c, claude -r
  • Конфігурація — Налаштування поведінки в ~/.claude/settings.json

Див. config-examples.json для повних конфігурацій.

10. Довідник CLI

Розташування: 10-cli/

Що: Повний довідник інтерфейсу командного рядка Claude Code

Швидкі приклади:

# Інтерактивний режим
claude "explain this project"

# Print mode (неінтерактивний)
claude -p "review this code"

# Обробка вмісту файлу
cat error.log | claude -p "explain this error"

# JSON-вивід для скриптів
claude -p --output-format json "list functions"

# Відновлення сесії
claude -r "feature-auth" "continue implementation"

Сценарії: Інтеграція CI/CD-пайплайнів, автоматизація скриптів, пакетна обробка, багатосесійні процеси

Приклади робочих процесів

Повний процес код-рев'ю

# Використовує: Слеш-команди + Субагенти + Пам'ять + MCP

User: /review-pr

Claude:
1. Завантажує пам'ять проєкту (стандарти кодування)
2. Отримує PR через GitHub MCP
3. Делегує субагенту code-reviewer
4. Делегує субагенту test-engineer
5. Синтезує знахідки
6. Надає комплексний огляд

Автоматична документація

# Використовує: Навички + Субагенти + Пам'ять

User: "Generate API documentation for the auth module"

Claude:
1. Завантажує пам'ять проєкту (стандарти документації)
2. Виявляє запит на генерацію документації
3. Автоматично викликає навичку doc-generator
4. Делегує субагенту api-documenter
5. Створює комплексну документацію з прикладами

DevOps-розгортання

# Використовує: Плагіни + MCP + Хуки

User: /deploy production

Claude:
1. Запускає pre-deploy хук (валідація середовища)
2. Делегує субагенту deployment-specialist
3. Виконує розгортання через Kubernetes MCP
4. Моніторить прогрес
5. Запускає post-deploy хук (перевірки стану)
6. Звітує про статус
Найкращі практики

Робіть

  • Починайте просто зі слеш-команд
  • Додавайте функції поступово
  • Використовуйте пам'ять для командних стандартів
  • Тестуйте конфігурації локально спочатку
  • Документуйте кастомні реалізації
  • Контролюйте версії проєктних конфігурацій
  • Діліться плагінами з командою

Не робіть

  • Не створюйте надлишкових функцій
  • Не хардкодьте облікові дані
  • Не пропускайте документацію
  • Не ускладнюйте прості завдання
  • Не ігноруйте найкращі практики безпеки
  • Не комітьте чутливі дані
Усунення неполадок

Функція не завантажується

  1. Перевірте розташування та назву файлу
  2. Перевірте синтаксис YAML frontmatter
  3. Перевірте дозволи файлу
  4. Перевірте сумісність з версією Claude Code

MCP-з'єднання не вдалося

  1. Перевірте змінні оточення
  2. Перевірте встановлення MCP-сервера
  3. Протестуйте облікові дані
  4. Перевірте мережеве з'єднання

Субагент не делегує

  1. Перевірте дозволи інструментів
  2. Перевірте чіткість опису агента
  3. Перевірте складність завдання
  4. Протестуйте агента окремо

Внесок

Ми вітаємо внески! Будь ласка, ознайомтесь з Настановами для контриб'юторів для деталей.


Ліцензія

Ліцензія MIT — див. LICENSE. Вільне використання, модифікація та розповсюдження. Єдина вимога — включити повідомлення про ліцензію.


Останнє оновлення: 12 листопада 2026 Версія Claude Code: 2.1.322 Джерела: