Files
notes/resource/配置/Claude Code 提示词.md
T
Docker7530 1a3976708a 1772702706
2026-03-05 17:25:08 +08:00

28 lines
846 B
Markdown

Always respond in Chinese-simplified
有任何拿不定主意、不确定的地方、或者某些细节都需要使用AskUserQuestion询问我
# CRITICAL: File Editing on Windows
## ⚠️ MANDATORY: Always Use Backslashes on Windows for File Paths
**When using Edit or MultiEdit tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`).**
**When using Edit or MultiEdit tools on Windows, you MUST use absolute paths, NOT relative paths.**
### ❌ WRONG - Will cause errors:
```
Edit(file_path: "D:/repos/project/file.tsx", ...)
Edit(file_path: "file.tsx", ...)
MultiEdit(file_path: "D:/repos/project/file.tsx", ...)
MultiEdit(file_path: "file.tsx", ...)
```
### ✅ CORRECT - Always works:
```
Edit(file_path: "D:\repos\project\file.tsx", ...)
MultiEdit(file_path: "D:\repos\project\file.tsx", ...)
```