fix(docs): critical factual corrections v3.6.1
Major audit correcting misleading documentation about Claude Code behavior: ### Fixed - `--add-dir`: permissions (not context loading) - `excludePatterns` → `permissions.deny` (never existed) - `.claudeignore` removed (not an official feature) - "selective loading" myth → lazy loading reality - Invented CLI flags (`--think`, `--headless`, `--learn`) → prompt keywords - `@` file reference: "loads automatically" → "reads on-demand" ### Added - Session Search Tool (`cs`) - zero-dep bash script for finding sessions - Security section: Known limitations of permissions.deny 15 files modified, 516 insertions, 200 deletions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0552522030
commit
46c5862c4e
16 changed files with 687 additions and 200 deletions
|
|
@ -82,7 +82,7 @@ questions:
|
|||
d: "Activates an agent"
|
||||
correct: "b"
|
||||
explanation: |
|
||||
The `@` symbol references specific files in your prompts for targeted operations. For example, `Review @src/auth/login.tsx for security issues` directly loads that file. This provides precision (target exact files), speed (skip file discovery), and clarity (makes your intent explicit). Claude automatically loads the file content.
|
||||
The `@` symbol references specific files in your prompts for targeted operations. For example, `Review @src/auth/login.tsx for security issues` signals Claude to read that file. This provides precision (target exact files), speed (skip file discovery), and clarity (makes your intent explicit). Claude reads the file on-demand via tools.
|
||||
doc_reference:
|
||||
file: "guide/ultimate-guide.md"
|
||||
section: "1.3 Essential Commands"
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ questions:
|
|||
- id: "10-016"
|
||||
difficulty: "senior"
|
||||
profiles: ["senior", "power"]
|
||||
question: "What flag adds additional directories to context?"
|
||||
question: "What flag allows Claude's tools to access directories outside the current working directory?"
|
||||
options:
|
||||
a: "--include-dir"
|
||||
b: "--add-dir"
|
||||
|
|
@ -398,15 +398,15 @@ questions:
|
|||
d: "--load-dir"
|
||||
correct: "b"
|
||||
explanation: |
|
||||
Use `--add-dir` to add additional directories to context:
|
||||
Use `--add-dir` to allow tool access to additional directories:
|
||||
|
||||
```bash
|
||||
claude --add-dir ../shared ../utils
|
||||
claude --add-dir packages/api
|
||||
```
|
||||
|
||||
This is more efficient than loading the entire monorepo.
|
||||
Multiple directories can be specified for multi-package projects.
|
||||
By default, Claude can only access files in the current working directory.
|
||||
Use --add-dir to extend permissions to other directories (e.g., shared libraries in a monorepo).
|
||||
doc_reference:
|
||||
file: "guide/ultimate-guide.md"
|
||||
section: "10.3 Configuration Reference"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue