docs: sync all tutorials with latest Claude Code docs (April 2026) (#56)

* docs: sync all tutorials with latest Claude Code official docs (April 2026)

Update 44 documentation files to reflect the latest Claude Code features
from code.claude.com. Key content changes include new slash commands
(/ultraplan, /powerup, /sandbox), deprecated command removals (/pr-comments,
/vim), corrected skill description budget (1%/8K), new hook events
(PermissionDenied, InstructionsLoaded, ConfigChange), expanded Agent Teams
section, new plugin components (LSP, bin/, settings.json), and new CLI
flags (--bare, --tmux, --effort, --channels). Added "Last Updated: April
2026" metadata footer to all documentation files.

* fix(docs): correct env var values and alphabetical ordering

- CLAUDE_CODE_NEW_INIT=true → =1 in 02-memory and 09-advanced-features
- CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 in 09-advanced-features
- Fix /powerup vs /plugin alphabetical order in slash commands table

* fix(docs): correct env var values in locale files (vi, zh)

Propagate CLAUDE_CODE_NEW_INIT=true → =1 and
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true → =1 corrections
to Vietnamese and Chinese translations.
This commit is contained in:
Luong NGUYEN
2026-04-07 10:20:53 +02:00
committed by GitHub
parent 90e9c30e93
commit 72d3b016e6
48 changed files with 288 additions and 49 deletions

View File

@@ -18,7 +18,7 @@ Slash commands are shortcuts that control Claude's behavior during an interactiv
## Built-in Commands Reference
Built-in commands are shortcuts for common actions. There are **55+ built-in commands** and **5 bundled skills** available. Type `/` in Claude Code to see the full list, or type `/` followed by any letters to filter.
Built-in commands are shortcuts for common actions. There are **60+ built-in commands** and **5 bundled skills** available. Type `/` in Claude Code to see the full list, or type `/` followed by any letters to filter.
| Command | Purpose |
|---------|---------|
@@ -46,7 +46,7 @@ Built-in commands are shortcuts for common actions. There are **55+ built-in com
| `/help` | Show help |
| `/hooks` | View hook configurations |
| `/ide` | Manage IDE integrations |
| `/init` | Initialize `CLAUDE.md`. Set `CLAUDE_CODE_NEW_INIT=true` for interactive flow |
| `/init` | Initialize `CLAUDE.md`. Set `CLAUDE_CODE_NEW_INIT=1` for interactive flow |
| `/insights` | Generate session analysis report |
| `/install-github-app` | Set up GitHub Actions app |
| `/install-slack-app` | Install Slack app |
@@ -61,7 +61,7 @@ Built-in commands are shortcuts for common actions. There are **55+ built-in com
| `/permissions` | View/update permissions (alias: `/allowed-tools`) |
| `/plan [description]` | Enter plan mode |
| `/plugin` | Manage plugins |
| `/pr-comments [PR]` | Fetch GitHub PR comments |
| `/powerup` | Discover features through interactive lessons with animated demos |
| `/privacy-settings` | Privacy settings (Pro/Max only) |
| `/release-notes` | View changelog |
| `/reload-plugins` | Reload active plugins |
@@ -72,16 +72,19 @@ Built-in commands are shortcuts for common actions. There are **55+ built-in com
| `/review` | **Deprecated** — install the `code-review` plugin instead |
| `/rewind` | Rewind conversation and/or code (alias: `/checkpoint`) |
| `/sandbox` | Toggle sandbox mode |
| `/schedule [description]` | Create/manage scheduled tasks |
| `/schedule [description]` | Create/manage Cloud scheduled tasks |
| `/security-review` | Analyze branch for security vulnerabilities |
| `/skills` | List available skills |
| `/stats` | Visualize daily usage, sessions, streaks |
| `/stickers` | Order Claude Code stickers |
| `/status` | Show version, model, account |
| `/statusline` | Configure status line |
| `/tasks` | List/manage background tasks |
| `/terminal-setup` | Configure terminal keybindings |
| `/theme` | Change color theme |
| `/vim` | Toggle Vim/Normal modes |
| `/ultraplan <prompt>` | Draft plan in ultraplan session, review in browser |
| `/upgrade` | Open upgrade page for higher plan tier |
| `/usage` | Show plan usage limits and rate limit status |
| `/voice` | Toggle push-to-talk voice dictation |
### Bundled Skills
@@ -103,6 +106,8 @@ These skills ship with Claude Code and are invoked like slash commands:
| `/review` | Deprecated — replaced by `code-review` plugin |
| `/output-style` | Deprecated since v2.1.73 |
| `/fork` | Renamed to `/branch` (alias still works, v2.1.77) |
| `/pr-comments` | Removed in v2.1.91 — ask Claude directly to view PR comments |
| `/vim` | Removed in v2.1.92 — use /config → Editor mode |
### Recent Changes
@@ -113,6 +118,11 @@ These skills ship with Claude Code and are invoked like slash commands:
- `/voice` command added for push-to-talk voice dictation
- `/schedule` command added for creating/managing scheduled tasks
- `/color` command added for prompt bar customization
- /pr-comments removed in v2.1.91 — ask Claude directly to view PR comments
- /vim removed in v2.1.92 — use /config → Editor mode instead
- /ultraplan added for browser-based plan review and execution
- /powerup added for interactive feature lessons
- /sandbox added for toggling sandbox mode
- `/model` picker now shows human-readable labels (e.g., "Sonnet 4.6") instead of raw model IDs
- `/resume` supports `/continue` alias
- MCP prompts are available as `/mcp__<server>__<prompt>` commands (see [MCP Prompts as Commands](#mcp-prompts-as-commands))
@@ -548,5 +558,8 @@ If both exist with the same name, the **skill takes precedence**. Remove one or
- [CLI Reference](https://code.claude.com/docs/en/cli-reference) - Command-line options
---
**Last Updated**: April 2026
**Claude Code Version**: 2.1+
**Compatible Models**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
*Part of the [Claude How To](../) guide series*

View File

@@ -24,3 +24,6 @@ Otherwise, analyze the changes and create an appropriate commit message followin
- `refactor:` for code refactoring
- `test:` for adding tests
- `chore:` for maintenance tasks
---
**Last Updated**: April 2026

View File

@@ -22,3 +22,6 @@ Refactor project documentation structure adapted to project type:
7. **Use Mermaid** for all diagrams (architecture, flows, schemas)
Keep docs concise, scannable, and contextual to project type.
---
**Last Updated**: April 2026

View File

@@ -17,3 +17,6 @@ Output format:
- Markdown file in `/docs/api.md`
- Include curl examples for all endpoints
- Add TypeScript types
---
**Last Updated**: April 2026

View File

@@ -17,3 +17,6 @@ Format your response with:
- Location in code
- Explanation
- Recommended fix with code example
---
**Last Updated**: April 2026

View File

@@ -24,3 +24,6 @@ Before creating a PR, execute these steps:
- Why it changed
- Testing performed
- Potential impacts
---
**Last Updated**: April 2026

View File

@@ -150,3 +150,6 @@ If user wants control, suggest:
3. **PR workflow**: Create branch → push → PR (use `/pr` command)
**⚠️ Remember**: Always review changes before pushing. When in doubt, use individual git commands for more control.
---
**Last Updated**: April 2026

View File

@@ -23,3 +23,6 @@ Implement comprehensive DevOps quality gates adapted to project type:
4. **Verify pipeline**: Test locally, create test PR, confirm all checks pass
Use free/open-source tools. Respect existing configs. Keep execution fast.
---
**Last Updated**: April 2026

View File

@@ -23,3 +23,6 @@ Expand existing unit tests adapted to project's testing framework:
5. **Verify improvement**: Run coverage again, confirm measurable increase
Present new test code blocks only. Follow existing test patterns and naming conventions.
---
**Last Updated**: April 2026