Type: docs
Sync the tutorial, its translations and root docs to Claude Code
2.1.322 (range 2.1.317-2.1.322). P1 fixes (Fable 5.2, fast mode on
Fable 5.2, scheduled-task expiry/restore/jitter, subagent effort on
another model, Ask-each-time subagents, -p background time limit,
mods in auto/bypass/dontAsk) are mirrored to vi/ja/uk/ko/fa where the
text exists. P3 additions are English only. Six P2 docs-vs-changelog
conflicts are left for maintainer decision.
Validation: pre-commit run --all-files passes with
SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid
because the `language: node` mermaid hooks fail to install locally
(pre-commit 4.7.0: "must have package.json or additional_dependencies").
scripts/check_mermaid.py --strict was run directly instead: Pele
rendered all 416 Mermaid blocks.
Rewords the Output Styles timing note in `09-advanced-features` so it says only what the docs say, and ports it to the locales that still had the pre-#239 claim.
## What changed
- **en** (`09-advanced-features/README.md`): replaced "Claude Code sends the active style's instructions with every request" with "Claude Code delivers the new style's instructions as a message in the conversation". The docs don't give the old clause as a reason. The restart note now begins "In the terminal, …".
- **ko**: same meaning. Dropped the `…보내기 때문입니다` causal clause and added `터미널에서는 …`.
- **fa** (line 1538): replaced the outdated sentence, which said the style is read once at session start and needs `/clear` or a new session, with the corrected English meaning. It keeps the page's existing terms (`نسخهٔ`, `نشست`, `گفتوگو`, `ترمینال`, `دوباره راهاندازی`) and ZWNJ usage.
- **vi** (line 1538): the issue says vi has no Output Styles section, but it does. Line 1538 had the same outdated sentence as fa, so it gets the same fix. Without it, the acceptance criterion "No other locale has the sentence" would fail.
- **ja, zh, uk**: no Output Styles section and no such sentence (checked with `git grep`).
## Sources
https://code.claude.com/docs/en/output-styles.md:
> When you switch styles mid-session, Claude uses the new style starting with your next message. […] Before v2.1.251, the new style applied only after you ran `/clear` or started a new session.
> In the terminal, Claude Code reads style files when it starts, so if you create or edit one during a running session, restart Claude Code to pick up the change.
https://code.claude.com/docs/en/prompt-caching.md, "Changing output style":
> Claude Code delivers the new style's instructions as a message in the conversation, so that request still reads the system prompt and the earlier conversation from the cache.
## Checks
`pre-commit run --files` on the four changed files passes: markdown-lint, cross-references, link-check and markdown-rendering, plus the vi/ko/fa variants. The node-based mermaid hooks could not install here (`language: node must have package.json or additional_dependencies`), so they ran with `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid`. No Mermaid diagrams are touched.
Closes#243
The `skillOverrides` section in `03-skills/README.md` already describes the setting as a per-skill visibility map, but its heading still read "Controlling Skill Override Behavior", which suggests it controls precedence. This PR retitles the heading to **Controlling Skill Visibility (`skillOverrides`)** to match the docs section "Override skill visibility from settings". The rest of #176 (the precedence order and the section body) was already fixed on `main` by the v2.1.245 sync (#177).
Changes:
- `03-skills/README.md`: new heading. The link on line 96 now points to `#controlling-skill-visibility-skilloverrides` (old: `#controlling-skill-override-behavior-skilloverrides`).
- `fa/03-skills/README.md`: heading `کنترل دیدپذیری مهارت`, link updated to `#کنترل-دیدپذیری-مهارت-skilloverrides`.
- `ko/03-skills/README.md`: heading `스킬 표시 여부 제어`, link updated to `#스킬-표시-여부-제어-skilloverrides`.
Anchors were computed with `heading_to_anchor()` in `scripts/check_cross_references.py`. No other links to the old anchors exist in the repo. The zh, ja, uk and vi pages have no `skillOverrides` heading. Their precedence lines (where present) already say enterprise > personal > project, so they need no change.
Source: https://code.claude.com/docs/en/skills.md
Gates: `scripts/check_cross_references.py` passed, and `pre-commit run --files <changed>` passed with `SKIP=mermaid,vietnamese-mermaid,japanese-mermaid,korean-mermaid,persian-mermaid`. The node mermaid hooks failed to install (`language: node must have package.json or additional_dependencies`). This diff changes no Mermaid diagrams.
#169 is not touched. It was found invalid: the lesson-quiz key (Q9 = B, Enterprise > Personal > Project) already matches the docs.
Closes#176
Since v2.1.251, Claude Code applies a mid-session output style switch on the next message. /clear or a new session was only required before v2.1.251. Style files are still read at startup, so editing one needs a restart.
Fixes the English page and the Korean translation.
Source: https://code.claude.com/docs/en/output-styles
Type: chore
## Summary
Follow-up to #208 (Persian translation). It wires `fa/` into the repo
tooling the same way #228 did for Korean, and syncs the translation from
v2.1.310 to v2.1.316.
## Changes
**Tooling** (`feat(i18n)`)
- `build_epub.py`: `--lang fa` builds `claude-howto-guide-fa.epub`.
- `build_website.py`: `--lang fa`; `fa` is in `EXCLUDE_DIRS`, so Persian
pages stay out of the English site.
- CI: the EPUB matrix in `test.yml` now includes `fa`. The
markdown-rendering docstring and test now list `fa`.
- Pre-commit: new `persian-markdown-lint`, `persian-cross-references`,
`persian-mermaid` and `persian-link-check` hooks. `persian-mermaid` is
added to the offline `SKIP=` lists in `.pre-commit-config.yaml`,
`CONTRIBUTING.md` and `CLAUDE.md`.
- `scripts/README.md`: usage text updated.
- Language switchers: `فارسی` added to `vi/`, `zh/`, `uk/`, `ja/` and
`ko/` READMEs and to the landing-page footer.
**Translation** (`docs(fa)`)
- Applies the English changes from #230 (v2.1.316) to the 15 affected
`fa/` files: 192 lines added, 104 removed.
- Moves the misplaced `دسترسپذیری (v2.1.310)` Monitor callout in
`fa/09-advanced-features/README.md` to the position it has in English.
## Verification
| Check | Result |
|---|---|
| `fa/` line counts, URLs and code-fence positions vs English `main` |
identical in all files |
| `pre-commit run --all-files`, including the new Persian hooks | pass |
| `pytest scripts/tests/` | 198 passed |
| ruff, mypy, bandit | clean |
| `build_epub.py --lang fa` + `check_epub_diagrams.py` | 61 diagrams, 0
placeholders |
| `build_website.py --lang fa` | builds; English site has no `fa/` pages
|
## Known limitations (not in this PR)
- The EPUB and website templates hard-code `lang="en"` and have no
`dir="rtl"`, so Persian pages render left-to-right. Fixing that means
passing the language into the HTML templates for every locale.
- `fa/.github/` has no `TESTING.md`, `SECURITY_REPORTING.md` or
`pull_request_template.md`; the other locales have all three.
## Summary
Adds a complete Korean translation under `ko/`, synced to **Claude Code
v2.1.310** (upstream `b968f42`), and wires Korean into the repo tooling
the same way Japanese is.
This builds on #150 by @minhee-seo (her original commit is kept, with
co-author credit) and addresses every point from your review there:
- [x] Version badges/footers now match English (v2.1.310), not v2.1.160
- [x] Permission mode rename `default` → `manual` (v2.1.200) — config
values copied exactly where English still shows `default`
- [x] `/agents` wizard section removed per v2.1.198 (ask Claude / edit
`.claude/agents/` directly)
- [x] New content since v2.1.160: `/dataviz`, `${CLAUDE_PROJECT_DIR}`,
Sonnet 5 / Opus 5.5 / Fable, 33 hook events, Mods, MCP WebSocket/Tasks,
and everything else through v2.1.310
## What's in it
**Translation (`ko/`)**
- 90 Markdown files mirroring the English tree, including files #150 was
missing or had left in English (`06-hooks/README.md`,
`claude_concepts_guide.md`, `CLAUDE.md`, `resources/*`, plugin READMEs)
- Every file has `i18n-source` / `i18n-source-sha` / `i18n-date` headers
(placed after frontmatter so example SKILL.md/agent files stay valid)
for future re-syncs
- `ko/TRANSLATION_NOTES.md`: glossary + style guide (합니다체, code/Mermaid
kept verbatim, comments translated)
- Stale non-Markdown copies from #150 (old scripts/JSON/workflows under
`ko/`) removed; docs link to the English originals, as `zh/` does
**Tooling** (mirrors the Japanese setup)
- `.pre-commit-config.yaml`: `korean-markdown-lint`,
`korean-cross-references`, `korean-mermaid`, `korean-link-check`
- `build_epub.py` / `build_website.py`: `--lang ko`; `ko` added to the
English site's excluded dirs (otherwise Korean pages would leak into the
English site)
- CI EPUB matrix + markdown-rendering scope include `ko`;
`CONTRIBUTING.md` / `CLAUDE.md` SKIP lists updated
- `한국어` added to the English and Japanese language switchers
## Verification
| Check | Result |
|---|---|
| Structure vs English (headings, code blocks, Mermaid, table rows, per
file) | 90/90 identical |
| Non-comment code lines identical to English | 90/90 |
| `markdownlint` (whole repo) | 0 issues |
| `check_cross_references.py` + cross-file anchor check | pass (3
anchors in `LEARNING-ROADMAP.md` → `README.md` are broken in English
too) |
| `check_mermaid.py --strict` | 351 blocks rendered |
| `check_links.py` | 237 external URLs reachable |
| `build_epub.py --lang ko` + `check_epub_diagrams.py` | 54 diagrams, 0
placeholders |
| `build_website.py --lang ko` | builds; English site contains no `ko/`
pages |
| pytest / ruff / mypy / bandit | pass (188 tests) |
An independent review pass (separate from the translation pass) checked
meaning, omissions, code fidelity and links on the largest modules; its
findings are fixed in the last commit.
Translation and sync were AI-assisted (Claude Code), following
`ko/TRANSLATION_NOTES.md`. Feedback from Korean readers is very welcome.
Supersedes #150.
---------
Co-authored-by: seominhee <minheee07@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Luong NGUYEN <luongnv89@gmail.com>