God Mode CLAUDE.md: A Lean Config File to Improve Claude Code Output Quality and Project Convention Adherence
English summary
The open-source repository god-mode-claude provides a single CLAUDE.md file with battle-tested rules to dramatically improve Claude Code's output quality. The config is intentionally lean, staying under 200 lines, because Anthropic engineers found that longer CLAUDE.md files degrade performance. It covers thinking, safety, quality, and output formatting rules. The file also serves as a starting point for .cursorrules and other AI coding tools.
Chinese summary
开源仓库 god-mode-claude 提供了一个包含经过验证规则的单一 CLAUDE.md 文件,可显著提升 Claude Code 的输出质量。该配置刻意保持精简,不超过200行,因为Anthropic 工程师发现更长的 CLAUDE.md 会降低性能。它涵盖了思考、安全、质量和输出格式规则。该文件也可作为 .cursorrules 及其他 AI 编码工具的起点。
Key points
A single CLAUDE.md file called 'god-mode-claude' is released on GitHub to enhance Claude Code's coding output.
GitHub 上发布了名为 'god-mode-claude' 的单一 CLAUDE.md 文件,用于增强 Claude Code 的编码输出。
The file stays under 200 lines based on Anthropic's internal finding that longer configs degrade performance.
该文件基于 Anthropic 内部发现(较长配置会降低性能)保持在 200 行以内。
The config includes rules for thinking, safety, quality, and output formatting, tested in real projects.
配置包含经过真实项目验证的思考、安全、质量和输出格式规则。
It can also be used as a starting point for .cursorrules or other AI coding tools, not just Claude Code.
它还可以作为 .cursorrules 或其他 AI 编码工具的起点,不仅限于 Claude Code。