The Karpathy rules are the kind of thing you'd write at the top of a team style guide. Here is the ...

- 编码前必须明确假设、权衡与问题边界,避免盲目实现
- 拒绝推测性功能和一次性抽象,坚持用最少代码解决当前问题
- 修改应精准隔离、风格一致,杜绝连带重构
结构提纲
按章节快速跳转。
- §引言
指出Karpathy规则是高成熟度工程团队风格指南的理想开篇。
强调在写代码前需显式陈述假设、暴露权衡、主动提问。
要求拒绝 speculative features 和 single-use abstractions,追求最小可行代码。
修改须严格限定范围,匹配既有风格,禁止顺手重构。
定义可验证的成功标准,并持续迭代直至达成。
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- Karpathy工程四原则
- Think before coding
- 显式假设
- 暴露权衡
- 主动澄清
- Simplicity first
- 无推测功能
- 无一次性抽象
- 最小代码量
- Surgical changes
- 范围隔离
- 风格对齐
- 零顺手重构
- Goal-driven execution
- 可验证标准
- 闭环迭代
金句 / Highlights
值得收藏与分享的关键句。
Think before coding: state assumptions, surface tradeoffs, ask if unclear
Simplicity first: no speculative features, no single-use abstractions, minimum code
Surgical changes: don't touch adjacent code, match existing style, no drive-by refactors
Goal-driven execution: define verifiable success criteria, loop until met
Here is the summary:
1. Think before coding: state assumptions, surface tradeoffs, ask if unclear 2. Simplicity first: no speculative features, no single-use abstractions, minimum code 3." / X
Augment Code on X: "@karpathy @jiayuan_jy @openclaw The Karpathy rules are the kind of thing you'd write at the top of a team style guide. Here is the summary: 1. Think before coding: state assumptions, surface tradeoffs, ask if unclear 2. Simplicity first: no speculative features, no single-use abstractions, minimum code 3." / X
Don’t miss what’s happening
People on X are the first to know.
Post
See new posts
Conversation

The Karpathy rules are the kind of thing you'd write at the top of a team style guide. Here is the summary: 1. Think before coding: state assumptions, surface tradeoffs, ask if unclear 2. Simplicity first: no speculative features, no single-use abstractions, minimum code 3. Surgical changes: don't touch adjacent code, match existing style, no drive-by refactors 4. Goal-driven execution: define verifiable success criteria, loop until met
·
1
1
9
12
New to X?
Sign up now to get your own personalized timeline!
Sign up with Apple
By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.
Relevant people
-  Augment Code @augmentcode Follow Click to Follow augmentcode Intent is today's software development workspace. Orchestrate multiple agents, steer them from a living spec, and ship without ever leaving your workspace.
Trending now
What’s happening
UK national news · Trending
Princess Charlotte
Sports · Trending
Jaden McDaniels
Trending with Nuggets
Trending in United States
Championship Saturday
Trending in United States
Heavyweight
|
|
|
|
|
More
© 2026 X Corp.
问问这篇内容
回答仅基于本篇材料Skill 包
领域模板,一键产出结构化笔记投融资雷达包
把一条融资 / 创投新闻整理成投资人视角的雷达卡:交易要点、判断、竞争格局、风险、尽调清单。
- · 交易要点(公司 / 轮次 / 金额 / 投资人 / 估值,材料未明示则写 “未披露”)
- · 投资 thesis(这家公司为什么值得关注)
- · 竞争格局与替代方案