Back to timeline

Thu, October 1501:15ToolsModel releasesMCP & SkillsAI codingModel releases guide

CLAUDE.md release based on Karpathy's observations improves Claude Code coding behavior

Decision Brief

What changedThe GitHub project multica-ai/andrej-karpathy-skills released a single CLAUDE.md file that uses four principles to constrain Claude Code from making wrong assumptions, overcomplicating, and making unrelated changes.
Why it mattersFor developers using Claude Code, these four coding constraints directly address the common pain points of LLMs making unauthorized assumptions, overengineering, and out-of-scope edits; if effective in a project, they can significantly reduce rework and wasted diffs.
Who should careAI coding tool users
Affected stackClaude CodeCursor
Builder actionUpdate Claude Code to the latest version
Source confidenceHigh · Official release / blog / repo

The file comes from Andrej Karpathy's observations of LLM coding flaws, grouping the problems into four categories: the model makes wrong assumptions for you without checking, overcomplicates code and abstractions, and makes unrelated changes to things it does not understand. It proposes four corresponding principles: think before coding (state assumptions, present multiple interpretations, push back when necessary, stop when confused), simplicity first (write only the minimum code needed to solve the problem, no abstractions for one-time use, rewrite if 200 lines can be reduced to 50), surgical changes (touch only the code that must be touched, match existing style, do not delete pre-existing dead code), and goal-driven execution (turn instructions into verifiable success criteria and use a test-driven loop). There are two installation methods: the recommended one is to install it as a global plugin via the plugin marketplace within Claude Code, or per project download the CLAUDE.md file with curl; for existing projects, the content can be appended. The repository also includes a Cursor project rules file that takes effect when the project is opened. For developers using Claude Code, this set of constraints is suitable for merging into an existing CLAUDE.md and project rules, especially for projects with strict code review and sensitive change scope; however, the file explicitly states that it favors caution over speed, so trivial tasks like fixing typos or one-line changes do not require full execution.

Summary basis: full article readCompiled from the source scope noted above; the original remains authoritative.

Sources

Related intel

留言

登入后即可留言,和其他 builder 交换实测心得。

还没有留言,抢头香。