Add global CLAUDE.md with behavioral guidelines
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,6 +46,15 @@ chmod +x ~/.claude/token-stats-hook-bin
|
||||
|------|------|------|
|
||||
| 命令集 | `commands/` | Claude Code 自定义斜杠命令 |
|
||||
| Stop Hook | `hooks/token-stats-hook/` | 会话结束时自动备份 token 用量(Go 二进制) |
|
||||
| 全局 CLAUDE.md | `CLAUDE.md` | 通用行为准则,减少常见 LLM 编码失误 |
|
||||
|
||||
### 安装全局 CLAUDE.md
|
||||
|
||||
```bash
|
||||
cp claudeplus/CLAUDE.md ~/.claude/CLAUDE.md
|
||||
```
|
||||
|
||||
放置在 `~/.claude/CLAUDE.md` 后会对所有项目生效,可与项目内的 `CLAUDE.md` 合并使用。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user