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:
@@ -50,9 +50,11 @@ When you rewind, you are presented with a menu of five options:
|
||||
1. **Restore code and conversation** -- Revert both files and messages to that checkpoint
|
||||
2. **Restore conversation** -- Rewind messages only, keep your current code as-is
|
||||
3. **Restore code** -- Revert file changes only, keep the full conversation history
|
||||
4. **Summarize from here** -- Compress the conversation from this point forward into an AI-generated summary instead of discarding it. The original messages are preserved in the transcript. You can optionally provide instructions to focus the summary on specific topics.
|
||||
4. **Summarize from here** -- Compress the conversation from this point forward into an AI-generated summary, freeing context window space. Messages before the selected point stay intact. No files on disk are changed. The original messages are preserved in the session transcript. You can optionally provide instructions to focus the summary on specific topics.
|
||||
5. **Never mind** -- Cancel and return to the current state
|
||||
|
||||
> **Note**: After restoring the conversation or summarizing, the original prompt from the selected message is restored into the input field so you can re-send or edit it.
|
||||
|
||||
## Automatic Checkpoints
|
||||
|
||||
Claude Code automatically creates checkpoints for you:
|
||||
@@ -311,3 +313,8 @@ Key benefits:
|
||||
- Integrate safely with version control systems
|
||||
|
||||
Remember: checkpoints are not a replacement for git. Use checkpoints for rapid experimentation and git for permanent code changes.
|
||||
|
||||
---
|
||||
**Last Updated**: April 2026
|
||||
**Claude Code Version**: 2.1+
|
||||
**Compatible Models**: Claude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5
|
||||
|
||||
@@ -337,3 +337,6 @@ User: Now let's continue with the approach that worked.
|
||||
4. **Don't fear experimentation**: Checkpoints make it safe to try radical changes
|
||||
5. **Combine with git**: Use checkpoints for exploration, git for finalized work
|
||||
6. **Summarize long sessions**: Use "Summarize from here" to keep conversations manageable
|
||||
|
||||
---
|
||||
**Last Updated**: April 2026
|
||||
|
||||
Reference in New Issue
Block a user