In this article, we review the repo, andrej-karpath-skills. You will learn:
Karpathy inspired claude code guidelines
Four principles
Karpathy inspired claude code guidelines
I found this repo on Github Trending and skimmed thru the repo to find these Karpathy inspired claude code guidelines. I read thru its README.md:
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
The problems
Listed below is the problems mentioned in the README. These problems were from Andrej’s post:
“The models make wrong assumptions on your behalf and just run along with them without checking. They don’t manage their confusion, don’t seek clarifications, don’t surface inconsistencies, don’t present tradeoffs, don’t push back when they should.”
“They really like to overcomplicate code and APIs, bloat abstractions, don’t clean up dead code… implement a bloated construction over 1000 lines when 100 would do.”
“They still sometimes change/remove comments and code they don’t sufficiently understand as side effects, even if orthogonal to the task.”
I mean, I have personally faced these problems when writing code using AI. You say something and then interprets something else. While testing you realize the output is wrong and restart all over again.
There are four principles that address these problems.
Four principles
These four principles address the issues that were mentioned in Andrej’s post:
Think Before Coding
Simplicity First
Surgical Changes
Goal-Driven Execution
Learn more about these principles.
About me:
Hey, my name is Ramu Narasinga. Email: ramu.narasinga@gmail.com
Tired of AI slop?
I spent 3+ years studying OSS codebases and wrote 350+ articles on what makes them production-grade. I built an open source tool that reviews your PR against your existing codebase patterns.
Your codebase. Your patterns. Enforced.

Top comments (0)