Skills/Development/Karpathy Coding Rules

Karpathy Coding Rules

MCP Ready

Apply Andrej Karpathy's four-rule coding discipline: think before you code, stay minimal, make surgical changes, and drive toward the goal — every session.

Developmentv1.0.0
karpathycoding-rulesbest-practicesdevelopmentrefactoringai-coding

Encodes Karpathy's widely-shared software development principles as a persistent Claude coding skill: (1) read and plan before writing, (2) prefer simple over clever, (3) make the smallest possible change that achieves the goal, (4) verify against the stated objective before calling done. Adds a lightweight pre-task planning step, flags creeping scope, and nudges toward minimal diffs. Most impactful on refactoring, bug-fixing, and greenfield features where "LLM flailing" is most costly.

Get a free skill every week

Hand-picked Claude skills + tips for getting more out of your AI tools. No spam, unsubscribe anytime.

Get Claude tips & updates

Weekly tips on using Claude effectively. Unsubscribe anytime.

You Might Also Like