mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-08-21 12:17:15 +02:00
docs: sync to Claude Code v2.1.235 (#174)
* docs: sync to Claude Code v2.1.235
Syncs the tutorial repo from v2.1.233 to v2.1.235, fixes a fabricated
plugin-command reference and a wrong lesson-quiz answer, closes translation
fan-out gaps, and documents six new features from v2.1.234/v2.1.235.
* docs(slash-commands): scope v2.1.234 dialog-command claims to the fullscreen TUI
The v2.1.234 changelog carries two separate entries: /permissions opening
mid-turn unconditionally, and the /add-dir, /autocompact, /theme, /help,
/config and /advisor dialogs opening mid-turn in the fullscreen TUI. The
sync flattened both into one unqualified bullet, so a reader on the default
renderer would find the described behavior absent.
Also corrects the CATALOG usage-limit auto-continue row, which described an
on-by-default feature as opt-in ("Enable via /config"); the changelog says
"turn it off in /config".
* docs(advanced-features): correct spellcheck value shape, default, and scope
settings.md documents `spellcheck` as object-valued
(`{"enabled": true, "language": "en_GB"}`) and read from user settings, the
--settings flag, and managed settings only; interactive-mode.md adds that it
is off by default and needs aspell, hunspell, or ispell on PATH. CATALOG told
readers to set a bare `"spellcheck": true`, and both settings tables sit under
preambles promising project-scope settings work, which for this key they do
not.
Also repoints CATALOG's hook-configuration example at pre-tool-check.sh; the
table rename left the example on validate-bash.py, which is not in 06-hooks/.
* docs(plugins): drop the unsupported claim that /plugin update does not exist
The sync asserted "Updating is CLI-only — there is no `/plugin update` slash
command". The plugins reference contradicts that: it refers to running
`/plugin update` twice in present tense (the cache-key section, and the
explicit-version row that says `/plugin update` reports "already at the
latest version"). The v2.1.235 binary carries no `/plugin update` string and
its own update notices point at `claude plugin update <name>` in a terminal,
so the sources conflict and neither absolute is safe to teach.
Recommends the CLI form on its documented merits instead of asserting a
negative. Mirrored to vi/ja/zh/uk and to the lesson-quiz Q8 explanation,
which taught the same false negative. Q8's correct answer is unchanged.
* docs(advanced-features): complete the v2.1.234 env-var fan-out and 04 TOC (#175)
The env-var block was still headed (v2.1.221-v2.1.233) and omitted both
variables v2.1.234 added: CLAUDE_CODE_PROJECT_DIR_NAME, which had reached
only 10-cli and CATALOG, and CLAUDE_CODE_GOAL_CHECKIN_MINUTES, which was in
prose and a CATALOG row but no env-var table.
Also adds the one missing 04-subagents TOC entry: Additional Resources was
the only H2 without one, leaving the reconciled TOC at 26 of 27 sections.
This commit is contained in:
@@ -569,10 +569,10 @@
|
||||
### Q8
|
||||
- **Category**: practical
|
||||
- **Question**: How do you manage plugin lifecycle (enable/disable/update)?
|
||||
- **Options**: A) Edit a config file manually | B) Use `/plugin enable`, `/plugin disable`, `/plugin update plugin-name` | C) Use `claude plugin-manager` | D) Reinstall the plugin
|
||||
- **Options**: A) Edit a config file manually | B) Use `/plugin enable`, `/plugin disable`, `claude plugin update <name>` | C) Use `claude plugin-manager` | D) Reinstall the plugin
|
||||
- **Correct**: B
|
||||
- **Explanation**: Claude Code provides slash commands for full lifecycle management: enable, disable, update, uninstall.
|
||||
- **Review**: Installation methods section
|
||||
- **Explanation**: `/plugin enable` and `/plugin disable` are real slash commands. For updating an installed plugin, `claude plugin update <name>` is the form documented in the plugins reference, and the one Claude Code points you to when an update is available.
|
||||
- **Review**: Plugin CLI Commands section
|
||||
|
||||
### Q9
|
||||
- **Category**: conceptual
|
||||
@@ -841,3 +841,11 @@
|
||||
- **Correct**: B
|
||||
- **Explanation**: Use shell for-loops with print mode to process files one at a time. Each invocation is independent and can produce structured output.
|
||||
- **Review**: Batch processing section
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/discover-plugins.md
|
||||
- https://code.claude.com/docs/en/plugins-reference.md
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Output Templates
|
||||
|
||||
Blank markdown templates for the assessment results and learning path. SKILL.md points here to keep the main body lean; the worked example and verification rules stay in SKILL.md.
|
||||
Blank markdown templates for the assessment results and learning path. The Step 3A/3B result templates and the Step 4 path-format template are duplicated verbatim in SKILL.md so results can be produced without re-reading this file.
|
||||
|
||||
## Quick Assessment results (Step 3A)
|
||||
|
||||
@@ -110,3 +110,10 @@ Based on your gaps, try these real-world exercises to solidify your learning:
|
||||
2. **[Project name]**: [1-line description]
|
||||
3. **[Project name]**: [1-line description]
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- internal consistency fix — no external source
|
||||
|
||||
@@ -167,6 +167,8 @@ These skills ship with Claude Code and are invoked like slash commands:
|
||||
- `/code-review ultra` became the preferred entry point for cloud multi-agent review; `/ultrareview` stays as an alias (v2.1.223)
|
||||
- `/code-review` at `high`, `xhigh`, and `max` effort now runs in a background agent like the other levels (v2.1.232)
|
||||
- The startup tip suggesting you create custom subagents, and the matching nudge in the `/powerup` tour, were removed (v2.1.232)
|
||||
- `/permissions` can now be opened while Claude is working — rule changes apply to the rest of the current turn (v2.1.234)
|
||||
- `/add-dir <path>` can now be used while Claude is working; the `/add-dir`, `/autocompact`, `/theme`, `/help`, `/config`, and `/advisor` dialogs open mid-turn **in the fullscreen TUI**, instead of queuing until Claude finishes responding (`/bug` already opened immediately, since v2.1.232) (v2.1.234)
|
||||
|
||||
### `/goal` — Session-Level Completion Condition
|
||||
|
||||
@@ -183,6 +185,8 @@ User: start by listing the REST endpoints
|
||||
Claude: [does the work, panel updates]
|
||||
```
|
||||
|
||||
**Check-in on stalled background tasks (v2.1.234):** while a goal is active, if a background task makes no progress for 30+ minutes, Claude checks in with a status update instead of silently continuing. Tune the threshold (in minutes) with the `CLAUDE_CODE_GOAL_CHECKIN_MINUTES` environment variable, or set it to `0` to disable check-ins entirely.
|
||||
|
||||
### `/team-onboarding` — Teammate Ramp-Up Guide
|
||||
|
||||
> **New in v2.1.101**
|
||||
@@ -641,8 +645,8 @@ If both exist with the same name, the **skill takes precedence**. Remove one or
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/skills
|
||||
- https://code.claude.com/docs/en/interactive-mode
|
||||
|
||||
+21
-13
@@ -21,17 +21,21 @@ Subagents are specialized AI assistants that Claude Code can delegate tasks to.
|
||||
10. [Persistent Memory for Subagents](#persistent-memory-for-subagents)
|
||||
11. [Background Subagents](#background-subagents)
|
||||
12. [Worktree Isolation](#worktree-isolation)
|
||||
13. [Restrict Spawnable Subagents](#restrict-spawnable-subagents)
|
||||
14. [`claude agents` CLI Command](#claude-agents-cli-command)
|
||||
15. [Agent Teams (Experimental)](#agent-teams-experimental)
|
||||
16. [Plugin Subagent Security](#plugin-subagent-security)
|
||||
17. [Architecture](#architecture)
|
||||
18. [Context Management](#context-management)
|
||||
19. [When to Use Subagents](#when-to-use-subagents)
|
||||
20. [Best Practices](#best-practices)
|
||||
21. [Example Subagents in This Folder](#example-subagents-in-this-folder)
|
||||
22. [Installation Instructions](#installation-instructions)
|
||||
23. [Related Concepts](#related-concepts)
|
||||
13. [Forked Subagents](#forked-subagents)
|
||||
14. [Restrict Spawnable Subagents](#restrict-spawnable-subagents)
|
||||
15. [`claude agents` CLI Command](#claude-agents-cli-command)
|
||||
16. [Agent Teams (Experimental)](#agent-teams-experimental)
|
||||
17. [Plugin Subagent Security](#plugin-subagent-security)
|
||||
18. [Architecture](#architecture)
|
||||
19. [Context Management](#context-management)
|
||||
20. [When to Use Subagents](#when-to-use-subagents)
|
||||
21. [Best Practices](#best-practices)
|
||||
22. [Example Subagents in This Folder](#example-subagents-in-this-folder)
|
||||
23. [Installation Instructions](#installation-instructions)
|
||||
24. [File Structure](#file-structure)
|
||||
25. [Related Concepts](#related-concepts)
|
||||
26. [Observability](#observability)
|
||||
27. [Additional Resources](#additional-resources)
|
||||
|
||||
---
|
||||
|
||||
@@ -738,6 +742,10 @@ Use `Shift+Down` to navigate between teammates in split-pane mode.
|
||||
|
||||
Team configurations are stored at `~/.claude/teams/{team-name}/config.json`.
|
||||
|
||||
### Teammate Model Selection
|
||||
|
||||
As of v2.1.234, the "Default teammate model" `/config` setting was removed. Teammates now inherit the team lead's model by default, unless the spawn call specifies a different model explicitly.
|
||||
|
||||
### Architecture
|
||||
|
||||
```mermaid
|
||||
@@ -1306,8 +1314,8 @@ See the OpenTelemetry section in [Advanced Features → Telemetry](../09-advance
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/sub-agents
|
||||
- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
|
||||
|
||||
+2
-2
@@ -1252,8 +1252,8 @@ export GITHUB_TOKEN="your_token"
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 4, 2026
|
||||
**Claude Code Version**: 2.1.220
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/mcp
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
|
||||
+14
-9
@@ -1098,7 +1098,7 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
|
||||
2. **View plugin details:**
|
||||
```bash
|
||||
/plugin info plugin-name
|
||||
claude plugin details plugin-name
|
||||
```
|
||||
|
||||
3. **Install a plugin:**
|
||||
@@ -1121,13 +1121,17 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
### Listing Installed Plugins
|
||||
|
||||
```bash
|
||||
/plugin list --installed
|
||||
/plugin list # all installed plugins
|
||||
/plugin list --enabled # only enabled plugins
|
||||
/plugin list --disabled # only disabled plugins
|
||||
```
|
||||
|
||||
### Updating a Plugin
|
||||
|
||||
Use the CLI form — it is the one documented under [`plugin update`](https://code.claude.com/docs/en/plugins-reference) and the one Claude Code itself points you to when an update is available:
|
||||
|
||||
```bash
|
||||
/plugin update plugin-name
|
||||
claude plugin update plugin-name
|
||||
```
|
||||
|
||||
### Disabling/Enabling a Plugin
|
||||
@@ -1190,7 +1194,7 @@ The following Claude Code features work together with plugins:
|
||||
- Verify paths in `plugin.json` match actual directory structure
|
||||
- Check file permissions: `chmod +x scripts/`
|
||||
- Review component file syntax
|
||||
- Check logs: `/plugin debug plugin-name`
|
||||
- Check the component inventory: `claude plugin details plugin-name`
|
||||
|
||||
### MCP Connection Failed
|
||||
- Verify environment variables are set correctly
|
||||
@@ -1199,9 +1203,9 @@ The following Claude Code features work together with plugins:
|
||||
- Review MCP configuration in `mcp/` directory
|
||||
|
||||
### Commands Not Available After Install
|
||||
- Ensure plugin was installed successfully: `/plugin list --installed`
|
||||
- Check if plugin is enabled: `/plugin status plugin-name`
|
||||
- Restart Claude Code: `exit` and reopen
|
||||
- Ensure plugin was installed successfully: `/plugin list`
|
||||
- Check if plugin is enabled: `/plugin list --enabled`
|
||||
- Check whether it's active yet — see the install summary guidance in [Installation Methods](#installation-methods): `Plugin is now active.` needs no action, `Run /reload-plugins to activate.` means run that command (a restart is not required)
|
||||
- Check for naming conflicts with existing commands
|
||||
|
||||
### Hook Execution Issues
|
||||
@@ -1222,14 +1226,15 @@ The following Claude Code features work together with plugins:
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/plugins
|
||||
- https://code.claude.com/docs/en/changelog#2-1-172
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
- https://code.claude.com/docs/en/commands
|
||||
- https://code.claude.com/docs/en/plugin-marketplaces
|
||||
- https://code.claude.com/docs/en/discover-plugins.md
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.117
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.118
|
||||
- https://github.com/anthropics/claude-code/releases/tag/v2.1.131
|
||||
|
||||
@@ -1162,6 +1162,10 @@ claude -r "auth-refactor"
|
||||
claude --resume auth-refactor --fork-session "alternative approach"
|
||||
```
|
||||
|
||||
### Usage-Limit Auto-Continue (v2.1.234)
|
||||
|
||||
As of **v2.1.234**, a session blocked on a claude.ai usage limit auto-continues once that limit resets — no manual re-prompt needed. Toggle this from `/config` under "Continue automatically at usage limit."
|
||||
|
||||
### Session Recap (v2.1.108)
|
||||
|
||||
When you return to a session after being away, Claude can show a brief recap of what was accomplished. This is enabled by default for users with telemetry disabled (Bedrock, Vertex, Foundry users).
|
||||
@@ -2385,6 +2389,7 @@ These keys go in `~/.claude/settings.json` (or a project `.claude/settings.json`
|
||||
| `enableArtifact` | Per-user enable/disable of the Artifact tool (v2.1.196). |
|
||||
| `crossSessionInbound` | (v2.1.224) How inbound [cross-session messages](#cross-session-messaging) are handled — `"accept"`, `"hold"`, or `"refuse"`. Project and local values apply only when *stricter* on the `accept < hold < refuse` ladder. Exposed in `/config` as "Messages from your other sessions" since v2.1.232. |
|
||||
| `dialogExpiry` | (v2.1.224) How long an unanswered dialog stays open. Default `"5m"`; accepts `"60s"`, `"5m"`, `"10m"`, or `"never"`. Overridden by `CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS`. Exposed in `/config` as "Dialog expiry" since v2.1.232. |
|
||||
| `spellcheck` | (v2.1.235) Underlines misspelled words in the prompt input using whichever of `aspell`, `hunspell`, or `ispell` is on your `PATH`, tried in that order. Object-valued — `{"enabled": true, "language": "en_GB"}` — and off by default. **Read from user settings, the `--settings` flag, and managed settings only**: a `spellcheck` block in a project `.claude/settings.json` or `.claude/settings.local.json` is ignored. |
|
||||
|
||||
### Fallback Models (`fallbackModel`)
|
||||
|
||||
@@ -2474,7 +2479,7 @@ export CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION=200 # Cap on WebSearch t
|
||||
# Accessibility (v2.1.208)
|
||||
export CLAUDE_AX_SCREEN_READER=1 # Enable plain-text screen reader rendering mode. Same effect as --ax-screen-reader or "axScreenReader": true in settings.
|
||||
|
||||
# Newer variables (v2.1.221–v2.1.233) — changelog-sourced; the CLI reference has no env-var section
|
||||
# Newer variables (v2.1.221–v2.1.234) — changelog-sourced; the CLI reference has no env-var section
|
||||
export CLAUDE_CODE_ENABLE_TODO_TOOLS=1 # (v2.1.233) Restore the todo/task-tracking tools (TaskCreate/Get/Update/List, TodoWrite), which are off on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer models
|
||||
export CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS=900000 # (v2.1.233) WebFetch URL cache TTL. Default 15 minutes.
|
||||
export CLAUDE_CODE_TOOL_MEMORY_LIMIT=2G # (v2.1.233, Linux) Opt-in memory cgroup applied to Bash commands
|
||||
@@ -2482,6 +2487,8 @@ export ANTHROPIC_BEDROCK_REGION_PREFIX=us # (v2.1.224) Prefer
|
||||
export CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 # (v2.1.223) Restore pre-v2.1.223 auto-compact behavior on unrecognized model IDs
|
||||
export CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 # (v2.1.229) Disable prefix staggering on dynamic-workflow fan-out
|
||||
export CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS=300000 # (v2.1.224) Overrides the dialogExpiry setting
|
||||
export CLAUDE_CODE_PROJECT_DIR_NAME=my-app # (v2.1.234) Short name for the per-project transcript directory, for hosts that give each session its own config directory
|
||||
export CLAUDE_CODE_GOAL_CHECKIN_MINUTES=30 # (v2.1.234) Minutes a background task may stall before Claude checks in while a /goal is active. Set 0 to disable check-ins.
|
||||
```
|
||||
|
||||
> **v2.1.223 — `CLAUDE_CODE_DISABLE_1M_CONTEXT` widened**: the variable now holds **every**
|
||||
@@ -2684,8 +2691,8 @@ For more information about Claude Code and related features:
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/settings
|
||||
- https://code.claude.com/docs/en/sandboxing
|
||||
@@ -2694,4 +2701,5 @@ For more information about Claude Code and related features:
|
||||
- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
|
||||
- https://code.claude.com/docs/en/model-config
|
||||
- https://code.claude.com/docs/en/permission-modes
|
||||
- https://code.claude.com/docs/en/settings.md
|
||||
**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
+8
-4
@@ -875,9 +875,10 @@ The "ultrathink" keyword in prompts activates deep reasoning. The `/effort` menu
|
||||
| `CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT` | Set to `1` to restore pre-v2.1.223 auto-compact behavior on unrecognized model IDs (v2.1.223) |
|
||||
| `CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS` | Set to `0` to disable prefix staggering on dynamic-workflow fan-out (v2.1.229) |
|
||||
| `CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS` | Overrides the `dialogExpiry` setting (v2.1.224) |
|
||||
| `CLAUDE_CODE_PROJECT_DIR_NAME` | Overrides the per-project transcript directory name Claude Code derives from the project path (v2.1.234) |
|
||||
|
||||
> **These seven rows are changelog-sourced.** The CLI reference page has no dedicated
|
||||
> environment-variable section, so they are documented from the v2.1.221–v2.1.233
|
||||
> **These eight rows are changelog-sourced.** The CLI reference page has no dedicated
|
||||
> environment-variable section, so they are documented from the v2.1.221–v2.1.234
|
||||
> changelog entries rather than a reference page.
|
||||
|
||||
> **`CLAUDE_CODE_DISABLE_1M_CONTEXT` widened in v2.1.223**: it now holds **every** Claude model with a native 1M-token window to 200K via auto-compaction, not just a fixed list of model IDs.
|
||||
@@ -899,6 +900,7 @@ These keys live in a `settings.json` file (`~/.claude/settings.json` for user sc
|
||||
| `sandbox.filesystem.disabled` | (v2.1.216) Skips filesystem sandboxing while keeping network egress control enforced. For workflows where file sandboxing breaks tooling but network policy must stay enforced. |
|
||||
| `emojiCompletionEnabled` | (v2.1.217) Enables emoji shortcode autocomplete in the prompt input (e.g. typing `:heart:` inserts ❤️). Set `false` to disable. |
|
||||
| `workflowSizeGuideline` | (v2.1.219) Sets the advisory Dynamic workflow size guideline from any settings file. The guideline is guidance Claude aims for, not a hard cap — the default is medium (aim for fewer than 15 agents), and other sizes or unrestricted can be selected. While this key is set, the "Dynamic workflow size" row is hidden in `/config`. Distinct from `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS`, which is an enforced concurrency limit. |
|
||||
| `spellcheck` | (v2.1.235) Underlines misspelled words in the prompt input using whichever of `aspell`, `hunspell`, or `ispell` is on your `PATH`, tried in that order. Object-valued — `{"enabled": true, "language": "en_GB"}` — and off by default. **Read from user settings, the `--settings` flag, and managed settings only**: a `spellcheck` block in a project `.claude/settings.json` or `.claude/settings.local.json` is ignored. See also [Advanced Features → Additional Per-User Settings](../09-advanced-features/README.md#additional-per-user-settings). |
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -1012,8 +1014,8 @@ claude -p --output-format json "query"
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/cli-reference
|
||||
- https://code.claude.com/docs/en/env-vars
|
||||
@@ -1035,4 +1037,6 @@ claude -p --output-format json "query"
|
||||
- https://code.claude.com/docs/en/overview
|
||||
- https://code.claude.com/docs/en/sub-agents
|
||||
- https://code.claude.com/docs/en/headless
|
||||
- https://code.claude.com/docs/en/cli-reference.md
|
||||
- https://code.claude.com/docs/en/settings.md
|
||||
**Compatible Models**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
+18
-9
@@ -174,8 +174,6 @@ Specialized AI assistants with isolated contexts for specific tasks.
|
||||
| Agent | Description | When to Use | Scope | Installation |
|
||||
|-------|-------------|-------------|-------|--------------|
|
||||
| `code-reviewer` | Comprehensive code quality | Code review sessions | Project | `cp 04-subagents/code-reviewer.md .claude/agents/` |
|
||||
| `code-architect` | Feature architecture design | New feature planning | Project | `cp 04-subagents/code-architect.md .claude/agents/` |
|
||||
| `code-explorer` | Deep codebase analysis | Understanding existing features | Project | `cp 04-subagents/code-explorer.md .claude/agents/` |
|
||||
| `clean-code-reviewer` | Clean Code principles review | Maintainability review | Project | `cp 04-subagents/clean-code-reviewer.md .claude/agents/` |
|
||||
| `test-engineer` | Test strategy & coverage | Test planning | Project | `cp 04-subagents/test-engineer.md .claude/agents/` |
|
||||
| `documentation-writer` | Technical documentation | API docs, guides | Project | `cp 04-subagents/documentation-writer.md .claude/agents/` |
|
||||
@@ -208,6 +206,8 @@ Auto-invoked capabilities with instructions, scripts, and templates.
|
||||
| `brand-voice` | Brand consistency checker | Writing marketing copy | Project | `cp -r 03-skills/brand-voice .claude/skills/` |
|
||||
| `doc-generator` | API documentation generator | "Generate docs", "Document API" | Project | `cp -r 03-skills/doc-generator .claude/skills/` |
|
||||
| `refactor` | Systematic code refactoring (Martin Fowler) | "Refactor this", "Clean up code" | User | `cp -r 03-skills/refactor ~/.claude/skills/` |
|
||||
| `claude-md` | Create or update CLAUDE.md files | "Create CLAUDE.md", "Audit CLAUDE.md" | Project | `cp -r 03-skills/claude-md .claude/skills/` |
|
||||
| `blog-draft` | Draft a blog post from ideas and resources | "Write a blog post", "Draft an article" | User | `cp -r 03-skills/blog-draft ~/.claude/skills/` |
|
||||
|
||||
> **Scope**: `User` = personal (`~/.claude/skills/`), `Project` = team-shared (`.claude/skills/`)
|
||||
|
||||
@@ -382,14 +382,17 @@ Event-driven automation that executes shell commands on Claude Code events.
|
||||
|
||||
| Hook | Description | Event | Scope | Installation |
|
||||
|------|-------------|-------|-------|--------------|
|
||||
| `validate-bash.py` | Command validation | PreToolUse:Bash | Project | `cp 06-hooks/validate-bash.py .claude/hooks/` |
|
||||
| `security-scan.py` | Security scanning | PostToolUse:Write | Project | `cp 06-hooks/security-scan.py .claude/hooks/` |
|
||||
| `pre-tool-check.sh` | Blocks/warns on risky Bash commands | PreToolUse:Bash | User | `cp 06-hooks/pre-tool-check.sh ~/.claude/hooks/` |
|
||||
| `security-scan.sh` | Security scanning | PostToolUse:Write | Project | `cp 06-hooks/security-scan.sh .claude/hooks/` |
|
||||
| `format-code.sh` | Auto-formatting | PostToolUse:Write | User | `cp 06-hooks/format-code.sh ~/.claude/hooks/` |
|
||||
| `validate-prompt.py` | Prompt validation | UserPromptSubmit | Project | `cp 06-hooks/validate-prompt.py .claude/hooks/` |
|
||||
| `context-tracker.py` | Token usage tracking | Stop | User | `cp 06-hooks/context-tracker.py ~/.claude/hooks/` |
|
||||
| `validate-prompt.sh` | Prompt validation | UserPromptSubmit | Project | `cp 06-hooks/validate-prompt.sh .claude/hooks/` |
|
||||
| `context-tracker.py` | Token usage tracking | UserPromptSubmit, Stop | User | `cp 06-hooks/context-tracker.py ~/.claude/hooks/` |
|
||||
| `context-tracker-tiktoken.py` | Token usage tracking (tiktoken, ~90-95% accuracy) | UserPromptSubmit, Stop | User | `cp 06-hooks/context-tracker-tiktoken.py ~/.claude/hooks/` |
|
||||
| `pre-commit.sh` | Pre-commit validation | PreToolUse:Bash | Project | `cp 06-hooks/pre-commit.sh .claude/hooks/` |
|
||||
| `log-bash.sh` | Command logging | PostToolUse:Bash | User | `cp 06-hooks/log-bash.sh ~/.claude/hooks/` |
|
||||
| `dependency-check.sh` | Vulnerability scan on manifest changes | PostToolUse:Write | Project | `cp 06-hooks/dependency-check.sh .claude/hooks/` |
|
||||
| `notify-team.sh` | Team notifications on git push | PostToolUse:Bash | Project | `cp 06-hooks/notify-team.sh .claude/hooks/` |
|
||||
| `session-end.sh` | Captures progress when a session ends | SessionEnd | User | `cp 06-hooks/session-end.sh ~/.claude/hooks/` |
|
||||
|
||||
> **Scope**: `Project` = team (`.claude/settings.json`), `User` = personal (`~/.claude/settings.json`)
|
||||
|
||||
@@ -401,7 +404,7 @@ Event-driven automation that executes shell commands on Claude Code events.
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"command": "~/.claude/hooks/validate-bash.py"
|
||||
"command": "~/.claude/hooks/pre-tool-check.sh"
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
@@ -494,6 +497,12 @@ cp 02-memory/personal-CLAUDE.md ~/.claude/CLAUDE.md
|
||||
| **Managed Drop-ins** | Organization-managed drop-in configurations (v2.1.83) | Admin-configured via managed policies; auto-applied to all users |
|
||||
| **`claude plugin init`** | Scaffold a new plugin in `.claude/skills`; such plugins auto-load with no marketplace (v2.1.157) | Run `claude plugin init <name>` |
|
||||
| **Auto Mode on third-party providers** | Available by default on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions, where the supported models are Claude Sonnet 5, Opus 4.7 or later (which includes Opus 5), and Fable 5 (opt-in required v2.1.158–v2.1.206; removed in v2.1.207 — `CLAUDE_CODE_ENABLE_AUTO_MODE` is still accepted but has no effect) | `Shift+Tab` to cycle to it, or `--permission-mode auto` |
|
||||
| **Immediate Dialog Commands** | `/permissions` can be opened while Claude is working (rule changes apply to the rest of the turn), and the `/add-dir`, `/autocompact`, `/theme`, `/help`, `/config`, and `/advisor` dialogs open mid-turn **in the fullscreen TUI** instead of queuing until Claude finishes responding (`/bug` already did this since v2.1.232) (v2.1.234) | Run one of these commands while Claude is working. See [Slash Commands](01-slash-commands/README.md) |
|
||||
| **`CLAUDE_CODE_PROJECT_DIR_NAME`** | Env var controlling per-project transcript directory naming (v2.1.234) | Set in your shell/env before launching Claude Code. See [CLI](10-cli/README.md) |
|
||||
| **Goal Check-In Threshold** | While a `/goal` is active, Claude checks in with a status update if a background task makes no progress for 30+ minutes, instead of continuing silently; tune with `CLAUDE_CODE_GOAL_CHECKIN_MINUTES`, or set to `0` to disable (v2.1.234) | Set `CLAUDE_CODE_GOAL_CHECKIN_MINUTES=<n>` alongside an active `/goal`. See [Slash Commands](01-slash-commands/README.md) |
|
||||
| **Usage-Limit Auto-Continue** | Claude Code auto-continues a session when a claude.ai usage limit resets, if it was blocked on that limit (v2.1.234) | On by default; turn it off in `/config` → "Continue automatically at usage limit". See [Advanced Features](09-advanced-features/) |
|
||||
| **`spellcheck` setting** | Underlines misspelled words in the prompt input using whichever of aspell, hunspell, or ispell is on your `PATH`; off by default (v2.1.235) | Install a checker, then set `"spellcheck": { "enabled": true }` in `~/.claude/settings.json`. User, `--settings`, and managed settings only — ignored in project settings. See [Advanced Features](09-advanced-features/) |
|
||||
| **Agent Teams Default Model** | The "Default teammate model" `/config` setting was removed; teammates now inherit the team lead's model by default unless the spawn call specifies one explicitly (v2.1.234) | See [Subagents — Agent Teams](04-subagents/README.md#agent-teams-experimental) |
|
||||
|
||||
---
|
||||
|
||||
@@ -553,8 +562,8 @@ chmod +x ~/.claude/hooks/*.sh
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/sub-agents
|
||||
- https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
|
||||
|
||||
@@ -13,7 +13,7 @@ This document provides a complete index of all example files organized by featur
|
||||
- **Categories**: 10 feature categories
|
||||
- **Plugins**: 3 complete plugins
|
||||
- **Skills**: 6 complete skills
|
||||
- **Hooks**: 8 example hooks
|
||||
- **Hooks**: 11 example hooks
|
||||
- **Ready to Use**: All examples
|
||||
|
||||
---
|
||||
@@ -888,8 +888,8 @@ Want to add more examples? Follow the structure:
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/overview
|
||||
- https://code.claude.com/docs/en/hooks
|
||||
|
||||
+2
-2
@@ -738,8 +738,8 @@ Once you've completed all milestones:
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 4, 2026
|
||||
**Claude Code Version**: 2.1.220
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/overview
|
||||
- https://code.claude.com/docs/en/hooks
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
[](https://github.com/luongnv89/claude-howto/stargazers)
|
||||
[](https://github.com/luongnv89/claude-howto/network/members)
|
||||
[](LICENSE)
|
||||
[](CHANGELOG.md)
|
||||
[](CHANGELOG.md)
|
||||
[](https://code.claude.com)
|
||||
|
||||
🌐 **Language / Ngôn ngữ / 语言 / Мова:** [English](README.md) | [Tiếng Việt](vi/README.md) | [中文](zh/README.md) | [Українська](uk/README.md) | [日本語](ja/README.md)
|
||||
@@ -102,7 +102,7 @@ Run `/lesson-quiz [topic]` after each module. The quiz pinpoints what you missed
|
||||
|
||||
- **GitHub stars** from developers who use Claude Code daily
|
||||
- **Forks** from teams adapting this guide for their own workflows
|
||||
- **Actively maintained** — synced with every Claude Code release (latest: v2.1.220, July 2026)
|
||||
- **Actively maintained** — synced with every Claude Code release (latest: v2.1.235, August 2026)
|
||||
- **Community-driven** — contributions from developers who share their real-world configurations
|
||||
|
||||
[](https://star-history.com/#luongnv89/claude-howto&Date)
|
||||
@@ -873,8 +873,8 @@ MIT License - see [LICENSE](LICENSE). Free to use, modify, and distribute. The o
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: August 15, 2026
|
||||
**Claude Code Version**: 2.1.233
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/hooks
|
||||
- https://code.claude.com/docs/en/overview
|
||||
|
||||
+13
-9
@@ -930,7 +930,7 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
|
||||
2. **プラグインの詳細を表示:**
|
||||
```bash
|
||||
/plugin info plugin-name
|
||||
claude plugin details plugin-name
|
||||
```
|
||||
|
||||
3. **プラグインをインストール:**
|
||||
@@ -953,13 +953,17 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
### インストール済みプラグインの一覧
|
||||
|
||||
```bash
|
||||
/plugin list --installed
|
||||
/plugin list # インストール済みの全プラグイン
|
||||
/plugin list --enabled # 有効なプラグインのみ
|
||||
/plugin list --disabled # 無効なプラグインのみ
|
||||
```
|
||||
|
||||
### プラグインの更新
|
||||
|
||||
更新には CLI 形式を使う。これは [`plugin update`](https://code.claude.com/docs/en/plugins-reference) として文書化されている形式であり、更新がある場合に Claude Code 自身が案内する形式でもある:
|
||||
|
||||
```bash
|
||||
/plugin update plugin-name
|
||||
claude plugin update plugin-name
|
||||
```
|
||||
|
||||
### プラグインの無効化 / 有効化
|
||||
@@ -1022,7 +1026,7 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
- `plugin.json` のパスが実際のディレクトリ構造と一致するか確認
|
||||
- ファイル権限を確認:`chmod +x scripts/`
|
||||
- コンポーネントファイルの構文を確認
|
||||
- ログを確認:`/plugin debug plugin-name`
|
||||
- コンポーネントの一覧を確認:`claude plugin details plugin-name`
|
||||
|
||||
### MCP 接続が失敗する
|
||||
- 環境変数が正しく設定されているか確認
|
||||
@@ -1031,9 +1035,9 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
- `mcp/` ディレクトリ内の MCP 設定を確認
|
||||
|
||||
### インストール後にコマンドが利用できない
|
||||
- プラグインが正しくインストールされているか確認:`/plugin list --installed`
|
||||
- プラグインが有効か確認:`/plugin status plugin-name`
|
||||
- Claude Code を再起動:`exit` して再度開く
|
||||
- プラグインが正しくインストールされているか確認:`/plugin list`
|
||||
- プラグインが有効か確認:`/plugin list --enabled`
|
||||
- すでに有効化されているか確認 — [インストール方法](#インストール方法)のインストール要約の説明を参照:`Plugin is now active.` なら追加の操作は不要、`Run /reload-plugins to activate.` ならそのコマンドを実行する(再起動は不要)
|
||||
- 既存のコマンドと名前が衝突していないか確認
|
||||
|
||||
### フック実行の問題
|
||||
@@ -1054,8 +1058,8 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
|
||||
---
|
||||
|
||||
**最終更新**: 2026 年 8 月 15 日
|
||||
**Claude Code バージョン**: 2.1.233
|
||||
**最終更新**: 2026 年 8 月 19 日
|
||||
**Claude Code バージョン**: 2.1.235
|
||||
**出典**:
|
||||
- https://code.claude.com/docs/en/discover-plugins
|
||||
- https://code.claude.com/docs/en/settings
|
||||
|
||||
+2
-2
@@ -252,8 +252,8 @@ These steps capture the core recommendations for smooth workflows with Claude Co
|
||||
| **/run, /verify, /run-skill-generator** | Bundled skills to launch your project, confirm a fix works, and generate per-project run/verify skills (v2.1.145+) | [Skills Guide](03-skills/) |
|
||||
|
||||
---
|
||||
**Last Updated**: August 4, 2026
|
||||
**Claude Code Version**: 2.1.220
|
||||
**Last Updated**: August 19, 2026
|
||||
**Claude Code Version**: 2.1.235
|
||||
**Sources**:
|
||||
- https://code.claude.com/docs/en/overview
|
||||
- https://code.claude.com/docs/en/changelog
|
||||
|
||||
@@ -576,10 +576,10 @@ Deploy the application to production:
|
||||
|
||||
---
|
||||
|
||||
**Останнє оновлення**: 15 серпня 2026
|
||||
**Версія Claude Code**: 2.1.233
|
||||
**Останнє оновлення**: 19 серпня 2026
|
||||
**Версія Claude Code**: 2.1.235
|
||||
**Джерела**:
|
||||
- https://code.claude.com/docs/en/commands
|
||||
**Сумісні моделі**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
**Сумісні моделі**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
*Частина серії посібників [Claude How To](../)*
|
||||
|
||||
+14
-10
@@ -833,7 +833,7 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
|
||||
2. **Деталі плагіна:**
|
||||
```bash
|
||||
/plugin info plugin-name
|
||||
claude plugin details plugin-name
|
||||
```
|
||||
|
||||
3. **Встановлення плагіна:**
|
||||
@@ -865,13 +865,17 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
### Список встановлених плагінів
|
||||
|
||||
```bash
|
||||
/plugin list --installed
|
||||
/plugin list # усі встановлені плагіни
|
||||
/plugin list --enabled # лише увімкнені плагіни
|
||||
/plugin list --disabled # лише вимкнені плагіни
|
||||
```
|
||||
|
||||
### Оновлення плагіна
|
||||
|
||||
Використовуйте форму CLI — саме її задокументовано в розділі [`plugin update`](https://code.claude.com/docs/en/plugins-reference) і саме її пропонує сам Claude Code, коли з'являється оновлення:
|
||||
|
||||
```bash
|
||||
/plugin update plugin-name
|
||||
claude plugin update plugin-name
|
||||
```
|
||||
|
||||
### Вимкнення/Увімкнення плагіна
|
||||
@@ -934,7 +938,7 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
- Переконайтеся, що шляхи в `plugin.json` відповідають фактичній структурі каталогів
|
||||
- Перевірте дозволи файлів: `chmod +x scripts/`
|
||||
- Перегляньте синтаксис файлів компонентів
|
||||
- Перевірте журнали: `/plugin debug plugin-name`
|
||||
- Перевірте інвентар компонентів: `claude plugin details plugin-name`
|
||||
|
||||
### Збій підключення MCP
|
||||
- Переконайтеся, що змінні оточення встановлені правильно
|
||||
@@ -943,9 +947,9 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
- Перегляньте конфігурацію MCP у каталозі `mcp/`
|
||||
|
||||
### Команди недоступні після встановлення
|
||||
- Переконайтеся, що плагін встановлено успішно: `/plugin list --installed`
|
||||
- Перевірте, чи плагін увімкнено: `/plugin status plugin-name`
|
||||
- Перезапустіть Claude Code: `exit` та відкрийте знову
|
||||
- Переконайтеся, що плагін встановлено успішно: `/plugin list`
|
||||
- Перевірте, чи плагін увімкнено: `/plugin list --enabled`
|
||||
- Перевірте, чи плагін уже активний — див. підсумок встановлення в розділі [Інструкції зі встановлення](#інструкції-зі-встановлення): `Plugin is now active.` — нічого робити не треба, `Run /reload-plugins to activate.` — запустіть цю команду (перезапуск не потрібен)
|
||||
- Перевірте конфлікти назв з існуючими командами
|
||||
|
||||
### Проблеми з виконанням хуків
|
||||
@@ -965,9 +969,9 @@ Complete PR review workflow with security, testing, and documentation checks.
|
||||
- [Довідник системи хуків](../06-hooks/README.md)
|
||||
|
||||
---
|
||||
**Останнє оновлення**: 15 серпня 2026
|
||||
**Версія Claude Code**: 2.1.233
|
||||
**Останнє оновлення**: 19 серпня 2026
|
||||
**Версія Claude Code**: 2.1.235
|
||||
**Джерела**:
|
||||
- https://code.claude.com/docs/en/discover-plugins
|
||||
- https://code.claude.com/docs/en/settings
|
||||
**Сумісні моделі**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
**Сумісні моделі**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
@@ -557,10 +557,10 @@ Nếu cả hai tồn tại với cùng tên, **skill sẽ được ưu tiên**.
|
||||
|
||||
---
|
||||
|
||||
**Cập Nhật Lần Cuối**: Ngày 15 tháng 8 năm 2026
|
||||
**Phiên Bản Claude Code**: 2.1.233
|
||||
**Cập Nhật Lần Cuối**: Ngày 19 tháng 8 năm 2026
|
||||
**Phiên Bản Claude Code**: 2.1.235
|
||||
**Nguồn**:
|
||||
- https://code.claude.com/docs/en/commands
|
||||
**Các Mô Hình Tương Thích**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
**Các Mô Hình Tương Thích**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
*Phần của series hướng dẫn [Claude How To](../)*
|
||||
|
||||
+14
-10
@@ -837,7 +837,7 @@ Workflow PR review hoàn chỉnh với các kiểm tra bảo mật, testing, và
|
||||
|
||||
2. **Xem chi tiết plugin:**
|
||||
```bash
|
||||
/plugin info plugin-name
|
||||
claude plugin details plugin-name
|
||||
```
|
||||
|
||||
3. **Cài đặt một plugin:**
|
||||
@@ -860,13 +860,17 @@ Workflow PR review hoàn chỉnh với các kiểm tra bảo mật, testing, và
|
||||
### Liệt Kê Các Plugins Đã Cài Đặt
|
||||
|
||||
```bash
|
||||
/plugin list --installed
|
||||
/plugin list # tất cả plugin đã cài đặt
|
||||
/plugin list --enabled # chỉ các plugin đang bật
|
||||
/plugin list --disabled # chỉ các plugin đang tắt
|
||||
```
|
||||
|
||||
### Cập Nhật Một Plugin
|
||||
|
||||
Dùng dạng CLI — đây là dạng được ghi trong tài liệu tại [`plugin update`](https://code.claude.com/docs/en/plugins-reference) và cũng là dạng mà chính Claude Code hướng dẫn bạn khi có bản cập nhật:
|
||||
|
||||
```bash
|
||||
/plugin update plugin-name
|
||||
claude plugin update plugin-name
|
||||
```
|
||||
|
||||
### Vô Hiệu Hóa/Kích Hoạt Một Plugin
|
||||
@@ -929,7 +933,7 @@ Các tính năng Claude Code sau hoạt động cùng với plugins:
|
||||
- Xác minh các đường dẫn trong `plugin.json` khớp với cấu trúc thư mục thực tế
|
||||
- Kiểm tra quyền file: `chmod +x scripts/`
|
||||
- Review cú pháp file thành phần
|
||||
- Kiểm tra logs: `/plugin debug plugin-name`
|
||||
- Kiểm tra kho thành phần: `claude plugin details plugin-name`
|
||||
|
||||
### MCP Connection Failed
|
||||
- Xác minh các biến môi trường được đặt đúng
|
||||
@@ -938,9 +942,9 @@ Các tính năng Claude Code sau hoạt động cùng với plugins:
|
||||
- Review cấu hình MCP trong thư mục `mcp/`
|
||||
|
||||
### Commands Not Available After Install
|
||||
- Đảm bảo plugin được cài đặt thành công: `/plugin list --installed`
|
||||
- Kiểm tra nếu plugin được kích hoạt: `/plugin status plugin-name`
|
||||
- Khởi động lại Claude Code: `exit` và mở lại
|
||||
- Đảm bảo plugin được cài đặt thành công: `/plugin list`
|
||||
- Kiểm tra nếu plugin được kích hoạt: `/plugin list --enabled`
|
||||
- Kiểm tra xem đã hoạt động chưa — xem hướng dẫn tóm tắt cài đặt trong [Các Phương Thức Cài Đặt](#các-phương-thức-cài-đặt--installation-methods): `Plugin is now active.` không cần làm gì thêm, `Run /reload-plugins to activate.` nghĩa là chạy lệnh đó (không cần khởi động lại)
|
||||
- Kiểm tra xung đột đặt tên với các lệnh hiện có
|
||||
|
||||
### Hook Execution Issues
|
||||
@@ -961,9 +965,9 @@ Các tính năng Claude Code sau hoạt động cùng với plugins:
|
||||
|
||||
---
|
||||
|
||||
**Cập Nhật Lần Cuối**: Ngày 15 tháng 8 năm 2026
|
||||
**Phiên Bản Claude Code**: 2.1.233
|
||||
**Cập Nhật Lần Cuối**: Ngày 19 tháng 8 năm 2026
|
||||
**Phiên Bản Claude Code**: 2.1.235
|
||||
**Nguồn**:
|
||||
- https://code.claude.com/docs/en/discover-plugins
|
||||
- https://code.claude.com/docs/en/settings
|
||||
**Các Mô Hình Tương Thích**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
**Các Mô Hình Tương Thích**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
@@ -548,10 +548,11 @@ allowed-tools: Bash(npm *), Bash(git *)
|
||||
|
||||
---
|
||||
|
||||
**最后更新**: 2026 年 8 月 15 日
|
||||
**Claude Code 版本**: 2.1.233
|
||||
**最后更新**: 2026 年 8 月 19 日
|
||||
**Claude Code 版本**: 2.1.235
|
||||
**来源**:
|
||||
- https://code.claude.com/docs/en/commands
|
||||
**兼容模型**: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
|
||||
|
||||
---
|
||||
|
||||
|
||||
+13
-9
@@ -824,7 +824,7 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
|
||||
|
||||
2. **查看插件详情:**
|
||||
```bash
|
||||
/plugin info plugin-name
|
||||
claude plugin details plugin-name
|
||||
```
|
||||
|
||||
3. **安装插件:**
|
||||
@@ -847,13 +847,17 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
|
||||
### 列出已安装插件
|
||||
|
||||
```bash
|
||||
/plugin list --installed
|
||||
/plugin list # 所有已安装插件
|
||||
/plugin list --enabled # 仅已启用插件
|
||||
/plugin list --disabled # 仅已禁用插件
|
||||
```
|
||||
|
||||
### 更新插件
|
||||
|
||||
使用 CLI 形式 —— 这是 [`plugin update`](https://code.claude.com/docs/en/plugins-reference) 中记录的形式,也是有可用更新时 Claude Code 自身提示你使用的形式:
|
||||
|
||||
```bash
|
||||
/plugin update plugin-name
|
||||
claude plugin update plugin-name
|
||||
```
|
||||
|
||||
### 禁用 / 启用插件
|
||||
@@ -916,7 +920,7 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
|
||||
- 验证 `plugin.json` 中的路径与实际目录结构一致
|
||||
- 检查文件权限:`chmod +x scripts/`
|
||||
- 检查组件文件语法
|
||||
- 查看日志:`/plugin debug plugin-name`
|
||||
- 查看组件清单:`claude plugin details plugin-name`
|
||||
|
||||
### MCP 连接失败
|
||||
- 确认环境变量已正确设置
|
||||
@@ -925,9 +929,9 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
|
||||
- 查看 `mcp/` 目录中的 MCP 配置
|
||||
|
||||
### 安装后命令不可用
|
||||
- 确认插件已成功安装:`/plugin list --installed`
|
||||
- 检查插件是否已启用:`/plugin status plugin-name`
|
||||
- 重启 Claude Code:`exit` 后重新打开
|
||||
- 确认插件已成功安装:`/plugin list`
|
||||
- 检查插件是否已启用:`/plugin list --enabled`
|
||||
- 确认是否已生效 —— 参见[安装方式](#安装方式)中的安装摘要说明:`Plugin is now active.` 表示无需其他操作,`Run /reload-plugins to activate.` 表示运行该命令即可(无需重启)
|
||||
- 检查是否与现有命令冲突
|
||||
|
||||
### Hook 执行问题
|
||||
@@ -948,8 +952,8 @@ claude --plugin-dir ./my-plugin --plugin-dir ./another-plugin
|
||||
|
||||
---
|
||||
|
||||
**最后更新**: 2026 年 8 月 15 日
|
||||
**Claude Code 版本**: 2.1.233
|
||||
**最后更新**: 2026 年 8 月 19 日
|
||||
**Claude Code 版本**: 2.1.235
|
||||
**来源**:
|
||||
- https://code.claude.com/docs/en/discover-plugins
|
||||
- https://code.claude.com/docs/en/settings
|
||||
|
||||
Reference in New Issue
Block a user