Skip to content
Kitbay
Skill

karpathy-guidelines

MITUpdated on Apr 20, 2026232,069GitHub stars

A coding-behaviour skill based on Andrej Karpathy's public remarks about how language models go wrong when writing code; the repository does not claim his involvement.

What the skill teaches

A coding-behaviour skill based on Andrej Karpathy's public remarks about how language models go wrong when writing code; the repository does not claim his involvement. It gives the agent four principles: think before coding by stating assumptions and asking when something is unclear, keep to the simplest code that solves the problem, make surgical changes that touch only what was asked and mention rather than delete unrelated dead code, and work towards checkable goals such as passing tests. It is offered as a Claude Code plugin, a CLAUDE.md file to add to a project, and a Cursor rule.

Capabilities

  • State assumptions and ask before coding
  • Keep changes minimal and limited to the request
  • Define checkable success criteria such as tests