Skip to main content
Run any Skill in Manus
with one click

karpathy-coding-rules

Stars2
Forks0
UpdatedJuly 12, 2026 at 22:51

Andrej Karpathy's field notes (CLAUDE.md, v260626) on getting a language model to write code you will NOT have to rewrite — ten earned rules covering read-before-write, think-before-code, simplicity, minimal/surgical diffs, verification, goal-driven execution, debugging, dependency hygiene, communication, and the common failure modes. Read and apply these BEFORE starting ANY coding task: writing new code, editing or refactoring existing code, fixing a bug, adding a feature, implementing from a spec, reviewing a diff, or scaffolding a project — even when the user does not explicitly ask for "best practices" or "clean code." Whenever the task is to produce or change source code, consult this skill first so the rules shape how you read, plan, write, verify, and report.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly