
Karpathy Coder
Enforces Andrej Karpathy's four coding principles—surface assumptions, keep it simple, make surgical changes, define verifiable goals—through review tooling and pre-commit checks. Use when writing, reviewing, or committing code to catch overcomplicated solutions and hidden assumptions before they ship.
- skills.sh installs
- 1.1K
- GitHub stars
- 29.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add alirezarezvani/claude-skills --skill karpathy-coder --agent claude-codeInstalls into .claude/skills of the current project.
Files
Karpathy Coder — Active Coding Discipline
Derived from Andrej Karpathy's observations on LLM coding pitfalls. This is not just guidelines — it ships Python tools that detect violations, a review agent, a slash command, and a pre-commit hook.
"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."
"LLMs are exceptionally good at looping until they meet specific goals... Don't tell it what to do, give it success criteria and watch it go."
— Andrej Karpathy
The four principles
1. Think Before Coding
Don't assume. Don't hide confusion. Surface tradeoffs.
Sponsors
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Git & Pull Requests, Documentation, Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026
More from alirezarezvani/claude-skills
All 267- Senior Devops1.1K
- Product Manager Toolkit1K
- Tdd Guide1K
- Gdpr Dsgvo Expert1K
- A11y Audit998
- Ux Researcher Designer991
- Senior Prompt Engineer984
- Senior Data Scientist975
- Agile Product Owner945
- Senior Ml Engineer940
- Content Creator931
- Senior Secops928
- Cto Advisor925
- Tech Stack Evaluator923
- Content Humanizer908
- App Store Optimization894
- Cfo Advisor880
- Cold Email879
- Risk Management Specialist876
- Information Security Manager Iso27001875
- Product Strategist874
- Marketing Strategy Pmm868
- Security Pen Testing862
- Database Designer858