fix: apply 2026-04-09 documentation accuracy updates

P0 Critical:
- Remove /vim (removed in v2.1.92) from CATALOG.md, zh/CATALOG.md active tables
- Move /vim to deprecated section in zh/01-slash-commands/README.md
- Fix fake hook events (PreCommit/PrePush/PostPush) in config-examples.json
- Replace with real PreToolUse hook pattern
- Update deprecated model IDs: claude-sonnet-4-5 → claude-sonnet-4-6 (x4)
- Fix notify-team.sh comment: PostPush → PostToolUse with explanation
- Mark # memory shortcut as discontinued in 02-memory/README.md

P2 Conflicts resolved:
- effort:max confirmed valid in current CLI; no changes needed
- Remove WebSocket MCP transport (not supported; only stdio/sse/http valid)
  from 05-mcp/README.md, CATALOG.md, QUICK_REFERENCE.md

P4 Cosmetic:
- Update hook count 25 → 26 in QUICK_REFERENCE.md

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
Luong NGUYEN
2026-04-09 06:32:26 +02:00
parent 561c6cbaa3
commit e015f39c68
8 changed files with 35 additions and 60 deletions

View File

@@ -25,9 +25,7 @@ The memory system operates at multiple levels, from global personal preferences
|---------|---------|-------|-------------|
| `/init` | Initialize project memory | `/init` | Starting new project, first-time CLAUDE.md setup |
| `/memory` | Edit memory files in editor | `/memory` | Extensive updates, reorganization, reviewing content |
| `#` prefix | Quick single-line memory add | `# Your rule here` | Adding quick rules during conversation |
| `# new rule into memory` | Explicit memory addition | `# new rule into memory<br/>Your detailed rule` | Adding complex multi-line rules |
| `# remember this` | Natural language memory | `# remember this<br/>Your instruction` | Conversational memory updates |
| `#` prefix | ~~Quick single-line memory add~~ **Discontinued** | — | Use `/memory` or ask conversationally instead |
| `@path/to/file` | Import external content | `@README.md` or `@docs/api.md` | Referencing existing documentation in CLAUDE.md |
## Quick Start: Initializing Memory
@@ -82,49 +80,39 @@ CLAUDE_CODE_NEW_INIT=1 claude
- Git workflow conventions
```
### Quick Memory Updates with `#`
### Quick Memory Updates
You can quickly add information to memory during any conversation by starting your message with `#`:
> **Note**: The `#` shortcut for inline memory was discontinued. Use `/memory` to edit memory files directly, or ask Claude conversationally to remember something (e.g., "remember that we always use TypeScript strict mode").
**Syntax:**
The recommended ways to add information to memory are:
```markdown
# Your memory rule or instruction here
**Option 1: Use `/memory` command**
```bash
/memory
```
**Examples:**
Opens your memory files in your system editor for direct editing.
```markdown
# Always use TypeScript strict mode in this project
**Option 2: Ask conversationally**
# Prefer async/await over promise chains
# Run npm test before every commit
# Use kebab-case for file names
```
Remember that we always use TypeScript strict mode in this project.
Please add to memory: prefer async/await over promise chains.
```
**How it works:**
Claude will update the appropriate CLAUDE.md file based on your request.
1. Start your message with `#` followed by your rule
2. Claude recognizes this as a memory update request
3. Claude asks which memory file to update (project or personal)
4. The rule is added to the appropriate CLAUDE.md file
5. Future sessions automatically load this context
**Historical reference** (no longer functional):
**Alternative patterns:**
The `#` prefix shortcut previously allowed adding rules inline:
```markdown
# new rule into memory
Always validate user input with Zod schemas
# remember this
Use semantic versioning for all releases
# add to memory
Database migrations must be reversible
# Always use TypeScript strict mode in this project ← no longer works
```
If you relied on this pattern, switch to the `/memory` command or conversational requests.
### The `/memory` Command
The `/memory` command provides direct access to edit your CLAUDE.md memory files within Claude Code sessions. It opens your memory files in your system editor for comprehensive editing.