📄 中文摘要
许多 CLAUDE.md 文件过于冗长,包含 200 行的编码规范、API 模式、项目背景、调试笔记和部署步骤等内容。这种做法在某些情况下有效,但当 Claude 需要回答有关按钮间距的问题时,读取所有 200 行内容会导致效率低下。Claude 在每次交互中都会读取 CLAUDE.md,如果文件过长,可能会浪费 4-6 千个 token,而这些内容大部分与当前任务无关。建议将 CLAUDE.md 文件保持简短,并指向其他相关文件,以提高效率。
📄 English Summary
The CLAUDE.md routing pattern: keep it minimal, delegate the rest
Many CLAUDE.md files are excessively long, containing 200 lines of coding conventions, API patterns, project context, debugging notes, and deployment steps. While this approach may work in some cases, it becomes inefficient when Claude needs to answer a question about button spacing, as it reads all 200 lines. Claude reads CLAUDE.md on every interaction, and if the file is too long, it can waste 4-6k tokens, most of which are irrelevant to the current task. It is recommended to keep CLAUDE.md short and point to other relevant files to enhance efficiency.
Powered by Cloudflare Workers + Payload CMS + Claude 3.5
数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等